Anthony Sottile
a49f812a96
py39+
...
Committed via https://github.com/asottile/all-repos
2024-10-11 19:30:07 -04:00
Miroslav Šedivý
2e4efef07e
Remove redundant int() conversion
2023-09-21 20:12:26 +02: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
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
Anthony Sottile
39ab2ed85e
replace exit(main()) with raise SystemExit(main())
...
Committed via https://github.com/asottile/all-repos
2021-10-23 13:23:50 -04:00
Janosh Riebesell
05a5297dbb
fix typos
2021-10-23 13:11:40 -04:00
Marcus Shawcroft
012bb0691f
Fix #518 , provide --enforce-all option to check_added_large_files
...
The --enforce-all option when provided ensures that all files passed
on the command line are checked against the size limit. Default
behaviour remains unchanged.
2020-09-27 15:15:37 -07:00
Anthony Sottile
f5c42a050b
pre-commit-hooks: python3.6+
2020-02-05 11:22:18 -08:00
Anthony Sottile
030bfac7e4
Apply typing to all of pre-commit-hooks
2019-01-31 20:09:15 -08:00
Anthony Sottile
0c5f040a7f
Use new git lfs (broken due to lfs returning non-lfs files)
2017-07-26 02:59:08 -07:00
Anthony Sottile
2a902e0a07
Use asottile/add-trailing-comma
2017-07-12 18:58:30 -07:00
Anthony Sottile
9cee71b5df
Add pyupgrade
2017-03-12 18:01:29 -07:00
Anthony Sottile
a7971b7d26
appveyor installed git-lfs, fix coverage
2017-01-03 12:56:22 -08:00
Anthony Sottile
70e405ede2
Add a new hook to forbid new submodules
2016-11-30 09:56:42 -08:00
Anthony Sottile
d466a2e52c
no cover some non-lfs lines
2016-01-14 18:57:03 -08:00
Anthony Sottile
3f6f23d73f
Teach check-large-files-added about git-lfs. Reslves #82 .
2015-12-28 05:38:06 -08:00
gkisel
c682b50749
Add check_case_conflict hook #21
2015-01-12 15:38:22 -08:00
Anthony Sottile
e0a6e66528
Add check-added-large-files hook
2014-12-31 12:21:21 -08:00