Anthony Sottile
301195efa9
use shutil.which instead of distutils.spawn
2021-07-07 14:06:01 -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
Max Rozentsveyg
f35bfed79e
Don't use LocalPath.strpath
2020-05-20 12:08:42 -04:00
Anthony Sottile
f5c42a050b
pre-commit-hooks: python3.6+
2020-02-05 11:22:18 -08:00
Sorin Sbarnea
37209942f8
Assure we have HOME defined during testing
...
Fixed broken CI caused by missing HOME.
Fixes : #402
2019-08-03 18:35:49 +01:00
Anthony Sottile
8bb94f0bd4
azure pipelines [skip travis] [skip appveyor]
2019-03-10 16:56:44 -07: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
e1ec204be0
Don't gpg sign during test
2017-07-05 12:24:03 -07:00
Sander Maijers
9e89b7616a
Increase robustness of tests involving git
...
1. Disable automatic `git commit` GPG-signing, since that requires interaction.
This issue was encountered in practice by me, causing spurious test failures
2. In case path operands could turn out to start with dashes, escape the
operand list with '--'.
2016-06-12 18:58:30 +02:00
Anthony Sottile
a99475afa0
Simplify the tests
2016-05-27 14:09:50 -07:00
Anthony Sottile
3f6f23d73f
Teach check-large-files-added about git-lfs. Reslves #82 .
2015-12-28 05:38:06 -08:00
Anthony Sottile
713fab4bc7
Remove dependency on plumbum
2015-03-20 14:15:30 -07: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