Kurt von Laven
e6285b9867
Merge 314fa5366d into c03226380c
2022-10-31 17:48:43 -07:00
Anthony Sottile
c03226380c
Merge pull request #829 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-10-31 16:34:50 -07:00
pre-commit-ci[bot]
0a7d3b7d59
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v2.1.0 → v2.2.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.1.0...v2.2.0 )
- [github.com/asottile/reorder_python_imports: v3.8.5 → v3.9.0](https://github.com/asottile/reorder_python_imports/compare/v3.8.5...v3.9.0 )
- [github.com/asottile/pyupgrade: v3.1.0 → v3.2.0](https://github.com/asottile/pyupgrade/compare/v3.1.0...v3.2.0 )
- [github.com/pre-commit/mirrors-autopep8: v1.7.0 → v2.0.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.7.0...v2.0.0 )
2022-10-31 23:27:38 +00:00
Anthony Sottile
4dcb74a498
Merge pull request #822 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-10-17 19:32:40 -04:00
pre-commit-ci[bot]
596f4aece8
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v2.0.0 → v2.1.0](https://github.com/asottile/setup-cfg-fmt/compare/v2.0.0...v2.1.0 )
- [github.com/asottile/reorder_python_imports: v3.8.4 → v3.8.5](https://github.com/asottile/reorder_python_imports/compare/v3.8.4...v3.8.5 )
2022-10-17 23:10:37 +00:00
Anthony Sottile
5420c705a4
Merge pull request #821 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-10-10 17:03:19 -07:00
pre-commit-ci[bot]
f9af4e2668
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.8.3 → v3.8.4](https://github.com/asottile/reorder_python_imports/compare/v3.8.3...v3.8.4 )
- [github.com/asottile/pyupgrade: v2.38.2 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v2.38.2...v3.1.0 )
- [github.com/pre-commit/mirrors-mypy: v0.981 → v0.982](https://github.com/pre-commit/mirrors-mypy/compare/v0.981...v0.982 )
2022-10-10 23:49:59 +00:00
Anthony Sottile
3971569588
Merge pull request #820 from nuztalgia/patch-1
...
Alphabetize & clarify `file-contents-sorter` in README
2022-10-08 20:04:30 -07:00
Nuz / Lovegood
14ac91fb70
Remove example.
2022-10-08 11:16:50 -07:00
Nuz / Lovegood
8fe064d0bd
Alphabetize & clarify file-contents-sorter in README
2022-10-08 10:58:42 -07:00
Anthony Sottile
6b03546fc3
Merge pull request #815 from pre-commit/forbid-submodules
...
add forbid-submodules hook
2022-10-04 21:07:47 -04:00
Anthony Sottile
a9b6a7e7fa
add forbid-submodules hook
2022-10-04 15:56:38 -04:00
Anthony Sottile
927380bee2
Merge pull request #813 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-10-03 19:13:41 -04:00
pre-commit-ci[bot]
3a406f068f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.971 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.981 )
2022-10-03 22:51:47 +00:00
Anthony Sottile
d970d5bf10
Merge pull request #809 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-09-26 19:21:26 -04:00
pre-commit-ci[bot]
3c82985dcc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.8.2 → v3.8.3](https://github.com/asottile/reorder_python_imports/compare/v3.8.2...v3.8.3 )
- [github.com/asottile/add-trailing-comma: v2.2.3 → v2.3.0](https://github.com/asottile/add-trailing-comma/compare/v2.2.3...v2.3.0 )
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2 )
2022-09-26 22:58:10 +00:00
Anthony Sottile
f9c8bfab65
Merge pull request #807 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-09-19 18:11:26 -05:00
pre-commit-ci[bot]
1f52105403
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.0](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.0 )
2022-09-19 22:48:44 +00:00
Anthony Sottile
5d4843d977
Merge pull request #800 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-08-15 17:23:13 -04:00
pre-commit-ci[bot]
f508ebb46e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-autopep8: v1.6.0 → v1.7.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.6.0...v1.7.0 )
2022-08-15 21:15:55 +00:00
Anthony Sottile
98c88b23b7
Merge pull request #798 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-08-08 18:53:10 -04:00
pre-commit-ci[bot]
ceeb44086c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.2...5.0.4 )
2022-08-08 22:25:11 +00:00
Anthony Sottile
1697d0b133
Merge pull request #797 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-08-01 18:51:13 -04:00
pre-commit-ci[bot]
52dac67bb4
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-08-01 22:41:53 +00:00
pre-commit-ci[bot]
ef24d53d5b
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v1.20.2 → v2.0.0](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.2...v2.0.0 )
- [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3 )
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.2](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.2 )
2022-08-01 22:41:09 +00:00
Anthony Sottile
08b4be84be
Merge pull request #793 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-25 18:10:06 -04:00
pre-commit-ci[bot]
085ce874ea
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v1.20.1 → v1.20.2](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.1...v1.20.2 )
- [github.com/asottile/reorder_python_imports: v3.8.1 → v3.8.2](https://github.com/asottile/reorder_python_imports/compare/v3.8.1...v3.8.2 )
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2 )
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.971 )
2022-07-25 21:44:53 +00:00
Anthony Sottile
18c2496e4c
Merge pull request #787 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-11 17:44:25 -04:00
pre-commit-ci[bot]
c2b640f9cb
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.3.0 → v3.8.1](https://github.com/asottile/reorder_python_imports/compare/v3.3.0...v3.8.1 )
- [github.com/asottile/pyupgrade: v2.34.0 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.1 )
2022-07-11 21:25:32 +00:00
Anthony Sottile
35d73e14d0
Merge pull request #784 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-07-04 18:02:36 -04:00
pre-commit-ci[bot]
dd347f86bc
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0 )
2022-07-04 21:58:20 +00:00
Anthony Sottile
b0f06dc9f2
Merge pull request #783 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-06-13 18:47:44 -04:00
pre-commit-ci[bot]
2345f2efb2
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.34.0 )
- [github.com/pre-commit/mirrors-mypy: v0.960 → v0.961](https://github.com/pre-commit/mirrors-mypy/compare/v0.960...v0.961 )
2022-06-13 21:56:48 +00:00
Anthony Sottile
3298ddab3c
v4.3.0
2022-06-07 10:08:29 -07:00
Anthony Sottile
526d9b0c3d
Merge pull request #779 from pre-commit/test-conventions
...
name-test-tests: add --pytest-test-first convention
2022-06-07 12:21:34 -04:00
Anthony Sottile
412564fa95
add --pytest-test-first convention
2022-06-07 09:10:42 -07:00
Anthony Sottile
621f50e155
Merge pull request #778 from pre-commit/asottile-patch-1
...
set stages for `check-added-large-files`
2022-06-07 09:23:10 -04:00
Anthony Sottile
d17fe994c6
set stages for check-added-large-files
...
looks like this was accidentally running on `commit-msg` hooks
2022-06-06 12:24:03 -04:00
Anthony Sottile
2b6a486744
Merge pull request #771 from DanielNoord/tomli
...
Use tomli and tomllib instead of toml
2022-05-31 10:52:18 -04:00
Daniël van Noord
fc88f3fa49
Use tomli and tomllib instead of toml
2022-05-31 10:48:00 -04:00
Anthony Sottile
6a5ae704e5
Merge pull request #776 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-30 16:46:31 -04:00
pre-commit-ci[bot]
091d224a6c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960 )
2022-05-30 20:33:16 +00:00
Kurt von Laven
314fa5366d
Support checking executable bit without Git.
...
The check-shebang-scripts-are-executable hook already avoided false
negatives in a Git repository by looking up the Git file mode rather
than relying on the file mode in the file system. Git already
automatically probes the file system for executable bit support. Use the
file mode in the file system when we are not in a Git clone or it is
trusted by Git according to its core.fileMode config variable.
2022-05-26 13:25:12 -07:00
Kurt von Laven
9245e07a3e
Fix asymptomatic copy/paste bug in test.
...
check_shebang_scripts_are_executable_test.test_git_executable_shebang
manually filtered executable files out before calling
check_shebang_scripts_are_executable. This makes sense in
check_executables_have_shebangs.test_git_executable_shebang, because
the check-executables-have-shebangs hook only runs on executable files.
However, check-shebang-scripts-are-executable correctly runs on all text
files, so the test shouldn't filter executable files out. The test still
passed because when git ls-files is passed no files in particular, it
lists all files in the Git repository that satisfy the given filters.
2022-05-26 12:13:00 -07:00
Anthony Sottile
08792de8d1
Merge pull request #774 from mdeweerd/updateChmodHelp
...
Add instruction to change executable mode on windows
2022-05-26 11:36:37 -04:00
MDW
bd70bc119d
Add instruction to change executable mode on windows
2022-05-26 17:31:24 +02:00
Anthony Sottile
0a88f14e07
Merge pull request #730 from Kurt-von-Laven/support-git-file-mode-false
...
Check Git core.fileMode rather than infer from OS.
2022-05-26 09:49:49 -04:00
Anthony Sottile
974bb4de56
Merge pull request #764 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-09 14:10:52 -07:00
pre-commit-ci[bot]
821fb690da
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1 )
2022-05-09 20:28:29 +00:00
Anthony Sottile
4d46e7884a
Merge pull request #761 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-05-02 16:22:44 -04:00