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
pre-commit-ci[bot]
54611ef08a
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.0.1 → v3.1.0](https://github.com/asottile/reorder_python_imports/compare/v3.0.1...v3.1.0 )
- [github.com/pre-commit/mirrors-mypy: v0.942 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.942...v0.950 )
2022-05-02 20:18:30 +00:00
Kurt von Laven
2cbabf90cc
Check Git core.fileMode rather than infer from OS.
...
There was already a guard preventing the check-executables-have-shebangs
hook from raising false positives on win32 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. Leverage
Git's core.fileMode config variable to prevent false positives on all
file systems that don't track executable bits.
2022-04-28 11:23:36 -07:00
Anthony Sottile
f5c26753e4
Merge pull request #759 from bagerard/bagerard-patch-check-merge-conflict-doc
...
Document check-merge-conflict argument
2022-04-25 09:01:38 -04:00
Bastien Gérard
aa56da8535
Document check-merge-conflict argument
...
Document --assume-in-merge in README
2022-04-25 12:20:30 +02:00
Anthony Sottile
5d1ab6d7f3
Merge pull request #754 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-18 16:08:18 -04:00
pre-commit-ci[bot]
3a4b21ad3f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/add-trailing-comma: v2.2.2 → v2.2.3](https://github.com/asottile/add-trailing-comma/compare/v2.2.2...v2.2.3 )
2022-04-18 19:50:45 +00:00
Anthony Sottile
c7a7ffb9a7
Merge pull request #751 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-11 17:04:34 -04:00
pre-commit-ci[bot]
5d69701a83
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.31.1 → v2.32.0](https://github.com/asottile/pyupgrade/compare/v2.31.1...v2.32.0 )
2022-04-11 20:55:02 +00:00
Anthony Sottile
db7346d375
v4.2.0
2022-04-06 17:12:57 -04:00
Anthony Sottile
372afe4210
Merge pull request #748 from pre-commit/adjust-error-outputs
...
adjust error outputs to be more standardized
2022-04-06 17:02:39 -04:00
Anthony Sottile
b13ff9b868
adjust error outputs to be more standardized
2022-04-06 16:59:53 -04:00
Anthony Sottile
3adbd36b39
Merge pull request #747 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-04-04 16:03:30 -04:00
pre-commit-ci[bot]
a9b21c267c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/setup-cfg-fmt: v1.20.0 → v1.20.1](https://github.com/asottile/setup-cfg-fmt/compare/v1.20.0...v1.20.1 )
- [github.com/asottile/add-trailing-comma: v2.2.1 → v2.2.2](https://github.com/asottile/add-trailing-comma/compare/v2.2.1...v2.2.2 )
2022-04-04 19:59:47 +00:00
Anthony Sottile
f5894ac96a
Merge pull request #745 from pre-commit/all-repos_autofix_reorder-pre-commit-config
...
reorder pre-commit config
2022-03-25 15:00:54 -04:00
Anthony Sottile
1e48e904a8
reorder pre-commit config
...
Committed via https://github.com/asottile/all-repos
2022-03-25 14:12:21 -04:00
Anthony Sottile
48c60be15b
Merge pull request #744 from pre-commit/all-repos_autofix_master-to-main
...
Update default branch to main
2022-03-24 15:13:31 -04:00
Anthony Sottile
202ec6b8f5
Update default branch to main
...
Committed via https://github.com/asottile/all-repos
2022-03-24 15:07:45 -04:00
Anthony Sottile
c1c8b0a543
Merge pull request #742 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-21 19:03:58 -04:00
pre-commit-ci[bot]
30609f1b6d
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.940 → v0.941](https://github.com/pre-commit/mirrors-mypy/compare/v0.940...v0.941 )
2022-03-21 22:31:27 +00:00
Anthony Sottile
85db7df311
Merge pull request #741 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-03-14 18:30:17 -04:00
pre-commit-ci[bot]
aabb4777dd
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v2.7.1 → v3.0.1](https://github.com/asottile/reorder_python_imports/compare/v2.7.1...v3.0.1 )
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1 )
- [github.com/pre-commit/mirrors-mypy: v0.931 → v0.940](https://github.com/pre-commit/mirrors-mypy/compare/v0.931...v0.940 )
2022-03-14 22:18:05 +00:00
Anthony Sottile
da7c2b3cdb
Merge pull request #739 from pre-commit/all-repos_autofix_gitignore-cleanup
...
remove unneeded gitignore lines
2022-03-13 20:08:18 -04:00
Anthony Sottile
84e93fcbb5
remove unneeded gitignore lines
...
- coverage-html: coverage>=6.2 writes a .gitignore file
- mypy_cache: mypy>=0.770 writes a .gitignore file
- pytest_cache: pytest>=3.8.1 writes a .gitignore file
- venv: virtualenv>=20.0.21 writes a .gitignore file
Committed via https://github.com/asottile/all-repos
2022-03-13 19:55:42 -04:00
Anthony Sottile
69b4df5589
Merge pull request #732 from hugovk/patch-1
...
Document file-contents-sorter arguments
2022-02-21 11:49:38 -05:00
Hugo van Kemenade
e7cf495dec
Document file-contents-sorter arguments
...
Re: 40cc31b02c/pre_commit_hooks/file_contents_sorter.py (L54-L65)
2022-02-21 18:44:06 +02:00
Anthony Sottile
40cc31b02c
Merge pull request #724 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-01-31 16:05:48 -05:00
pre-commit-ci[bot]
2fa82e87c6
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v2.6.0 → v2.7.1](https://github.com/asottile/reorder_python_imports/compare/v2.6.0...v2.7.1 )
2022-01-31 21:02:45 +00:00
Anthony Sottile
c19f885057
Merge pull request #722 from pre-commit/all-repos_autofix_flake8-typing-imports
...
upgrade flake8-typing-imports
2022-01-23 21:26:32 -05:00
Anthony Sottile
c823ddba6f
upgrade flake8-typing-imports
...
Committed via https://github.com/asottile/all-repos
2022-01-23 21:21:12 -05:00
Anthony Sottile
77dcefca95
Merge pull request #719 from pre-commit/all-repos_autofix_drop-py36
...
drop python3.6 support
2022-01-15 19:36:25 -05:00
Anthony Sottile
8f6152921e
drop python3.6 support
...
python 3.6 reached end of life on 2021-12-23
Committed via https://github.com/asottile/all-repos
2022-01-15 19:24:05 -05:00
Anthony Sottile
2aef4c777f
Merge pull request #716 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-01-10 15:34:01 -05:00
pre-commit-ci[bot]
21350a2362
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.930 → v0.931](https://github.com/pre-commit/mirrors-mypy/compare/v0.930...v0.931 )
2022-01-10 20:21:46 +00:00
Anthony Sottile
c8a7a4d446
Merge pull request #715 from pre-commit/all-repos_autofix_covdefaults-fail-under
...
remove --fail-under from tox (covdefaults handles this)
2022-01-08 14:28:49 -05:00
Anthony Sottile
ef9755e0a1
remove --fail-under from tox (covdefaults handles this)
...
Committed via https://github.com/asottile/all-repos
2022-01-08 14:14:39 -05:00
Anthony Sottile
0d261aaf84
Merge pull request #713 from pre-commit/asottile-patch-1
...
update display name of `name-tests-test`
2022-01-06 16:35:01 -05:00
Anthony Sottile
879055f991
update display name of `name-tests-test`
2022-01-06 16:33:52 -05:00
Anthony Sottile
fe7a536108
Merge pull request #711 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-01-03 15:12:30 -05:00
pre-commit-ci[bot]
3b8bfd7d0e
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-autopep8: v1.5.7 → v1.6.0](https://github.com/pre-commit/mirrors-autopep8/compare/v1.5.7...v1.6.0 )
- [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0 )
2022-01-03 20:02:30 +00:00
Anthony Sottile
df25ab1ba8
Merge pull request #706 from pre-commit/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2021-12-27 15:16:02 -05:00
pre-commit-ci[bot]
8171601b96
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.920 → v0.930](https://github.com/pre-commit/mirrors-mypy/compare/v0.920...v0.930 )
2021-12-27 20:06:27 +00:00
Anthony Sottile
8fe62d14e0
v4.1.0
2021-12-23 23:47:17 -05:00
Anthony Sottile
714bb60f15
Merge pull request #704 from pre-commit/no_home
...
remove need for monkeypatching home
2021-12-20 23:15:37 -05:00
Anthony Sottile
91ee010907
remove need for monkeypatching home
2021-12-20 23:12:51 -05:00
Anthony Sottile
829867bbda
Merge pull request #674 from amartani/master
...
Fix check-added-large-files --enforce-all to correctly consider all git-lfs files.
2021-12-20 23:08:08 -05:00
Alex Martani
03a65ca357
Fix check-added-large-files --enforce-all to correctly consider all git-lfs files.
...
`git lfs status` only outputs status for files that are pending some git-lfs related operation.
For usage with --enforce-all, we need the list of all files that are tracked, which can be
achived by `git lfs ls-files`.
Fixes: https://github.com/pre-commit/pre-commit-hooks/issues/560
2021-12-20 23:04:50 -05:00