Anthony Sottile
616249e680
Merge pull request #1813 from pre-commit/fix_without_us_test
...
fix _path_without_us under test when path segment ends in slash
2021-02-23 18:54:13 -08:00
Anthony Sottile
87dccbb8dc
fix _path_without_us under test when path segment ends in slash
2021-02-23 18:22:12 -08:00
Anthony Sottile
d7b189ce56
Merge pull request #1811 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-02-22 09:35:09 -08:00
pre-commit-ci[bot]
c024147ede
[pre-commit.ci] pre-commit autoupdate
2021-02-22 17:03:19 +00:00
Anthony Sottile
d827e9aa72
Merge pull request #1792 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-02-08 09:20:08 -08:00
pre-commit-ci[bot]
0cd8cbc83d
[pre-commit.ci] pre-commit autoupdate
2021-02-08 16:48:57 +00:00
Anthony Sottile
0047fa35dd
v2.10.1
v2.10.1
2021-02-06 13:21:12 -08:00
Anthony Sottile
2dac92cc8c
Merge pull request #1789 from paulhfischer/recursive_golang
...
added recursive repository support for golang
2021-02-06 13:18:37 -08:00
Anthony Sottile
833bbf7186
add test for recursive submodules for golang
2021-02-06 12:52:42 -08:00
Paul Fischer
34e0ff3497
added recursive repository support for golang
2021-02-06 12:52:41 -08:00
Anthony Sottile
e6caddba19
Merge pull request #1781 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-02-01 12:46:22 -08:00
pre-commit-ci[bot]
5e7c6eb31e
[pre-commit.ci] pre-commit autoupdate
2021-02-01 16:48:53 +00:00
Anthony Sottile
c67ba85311
v2.10.0
v2.10.0
2021-01-27 12:47:08 -08:00
Anthony Sottile
588b6ed3fc
Merge pull request #1778 from pre-commit/bare_worktree
...
fix execution in worktrees in subdirectories of bare repositories
2021-01-27 12:30:59 -08:00
Anthony Sottile
f75fc6b2a8
fix execution in worktrees in subdirectories of bare repositories
2021-01-27 10:08:48 -08:00
Anthony Sottile
7727f8777a
Merge pull request #1773 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-01-25 13:24:57 -08:00
Anthony Sottile
d258650ad4
use comparison with sys.platform so mypy understands it
2021-01-25 12:47:07 -08:00
pre-commit-ci[bot]
74183d91cb
[pre-commit.ci] pre-commit autoupdate
2021-01-25 16:40:14 +00:00
Anthony Sottile
dbd69af90d
Merge pull request #1772 from pre-commit/caplog_moar
...
replace fake_log_handler with caplog
2021-01-22 14:34:42 -08:00
Anthony Sottile
da369be096
Merge pull request #1771 from pre-commit/no_install_language_options
...
produce a more useful error message when non-installable things use language_version or additional_dependencies
2021-01-22 14:34:35 -08:00
Anthony Sottile
c7cbb1e6ad
replace fake_log_handler with caplog
2021-01-22 14:02:45 -08:00
Anthony Sottile
4f39946ea3
produce a more useful error message when non-installable things use language_version or additional_dependencies
2021-01-22 13:56:06 -08:00
Anthony Sottile
ffed7beab6
Merge pull request #1770 from pre-commit/remote_branch_ref
...
Expose remote branch ref as an environment variable
2021-01-22 13:48:30 -08:00
surafelabebe
cb5ed6276d
Expose remote branch ref as an environment variable
2021-01-22 13:18:25 -08:00
Anthony Sottile
bb50e00447
Merge pull request #1769 from pre-commit/fix_golang_hello_example
...
fix reference to github.com/golang/example
2021-01-22 13:15:55 -08:00
Anthony Sottile
d57207510d
fix reference to github.com/golang/example
2021-01-22 12:26:22 -08:00
Anthony Sottile
ebd83171df
Merge pull request #1751 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-01-04 09:19:50 -08:00
pre-commit-ci[bot]
42cc56c0f6
[pre-commit.ci] pre-commit autoupdate
2021-01-04 16:43:53 +00:00
Anthony Sottile
b2c0fab3b9
Merge pull request #1750 from paulhfischer/warn_on_globs_instead_of_regex
...
extended warning if globs are used instead of regex to top level
2021-01-01 16:45:30 -08:00
Paul Fischer
b1a9209f9f
extended warning if globs are used instead of regex to top level
2021-01-01 23:57:24 +01:00
Anthony Sottile
7432acc215
Merge pull request #1741 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2020-12-21 09:37:54 -08:00
pre-commit-ci[bot]
75aa6a0840
[pre-commit.ci] pre-commit autoupdate
2020-12-21 16:43:31 +00:00
Anthony Sottile
0ed7930976
Merge pull request #1715 from paulhfischer/warn_if_mutable_rev_is_used
...
added warning if mutable rev is used
2020-12-18 12:59:31 -08:00
Paul Fischer
1e4de986a8
added warning if mutable rev is used
2020-12-18 12:20:21 -08:00
Anthony Sottile
8670d0b3bc
Merge pull request #1735 from pre-commit/allow_ci_key
...
allow configuration for pre-commit.ci
2020-12-18 12:06:15 -08:00
Anthony Sottile
38a4a0aa3b
allow configuration for pre-commit.ci
2020-12-16 20:21:33 -08:00
Anthony Sottile
2d54ea112a
fix typo in CHANGELOG
2020-12-07 15:09:02 -08:00
Anthony Sottile
a062cbd439
v2.9.3
v2.9.3
2020-12-07 15:06:39 -08:00
Anthony Sottile
eacf4c886e
Merge pull request #1727 from mrogaski/1610_git_toplevel_relpath
...
git: changed rev-parse option for Git 2.25 changes to --show-toplevel
2020-12-07 14:50:54 -08:00
Mark Rogaski
29d15de38e
git: changed rev-parse option for Git 2.25 changes to --show-toplevel
...
Git 2.25 introduced a change to "rev-parse --show-toplevel" that exposed underlying volumes for Windows drives mapped with SUBST. We use "rev-parse --show-cdup" to get the appropriate path, but must perform an extra check to see if we are in the .git directory.
2020-12-07 13:54:05 -08:00
Anthony Sottile
cf604f6b93
Merge pull request #1725 from fsouza/fix-rmtree
...
util: also run chmod on EPERM
2020-12-06 10:27:15 -08:00
francisco souza
c598785b6f
util: use set instead of tuple in errno check
...
Co-authored-by: Paul Fischer <70564747+paulhfischer@users.noreply.github.com >
2020-12-06 07:45:31 -08:00
francisco souza
bb0d9573a9
util: also run chmod on EPERM
...
Writing a test for this one is tricky, because I was seeing the issue
only when the directory being removed is a docker volume, so instead of
getting EACCES we get EPERM.
This is easy to reproduce though. The existing test fails when the
directory being used for the files is a docker volume:
```
% docker run \
-v $(mktemp -d):/tmp \
-v ${PWD}:/src \
-w /src \
python:3 \
bash -c 'pip install -e . && pip install -r requirements-dev.txt && python -m pytest tests/util_test.py'
```
2020-12-05 22:26:38 -05:00
Anthony Sottile
92ce2dcbc3
Merge pull request #1721 from pre-commit/dont_crash_on_cygwin_check
...
don't crash on cygwin mismatch check
2020-11-28 15:48:30 -08:00
Anthony Sottile
8cfe8e590d
don't crash on cygwin mismatch check
2020-11-28 15:20:14 -08:00
Anthony Sottile
6c6294571a
Add link to issue by CodeBleu
2020-11-27 17:00:17 -08:00
Anthony Sottile
a82a79bf3f
Merge pull request #1717 from pre-commit/fix_test
...
fix symlink test for windows
2020-11-26 11:34:22 -08:00
Anthony Sottile
e6c9b04386
fix symlink test for windows
2020-11-26 09:42:27 -08:00
Anthony Sottile
f15cfbb208
v2.9.2
v2.9.2
2020-11-25 18:39:54 -08:00
Anthony Sottile
bf85379619
Merge pull request #1716 from pre-commit/types_or_default
...
fix the default value for types_or
2020-11-25 18:37:50 -08:00