Anthony Sottile
7cb3e00731
Only print that the lock is being acquired when waiting
2017-09-04 11:53:17 -07:00
Anthony Sottile
9c3bbecab8
Add new docker_image language type.
...
`docker_image` is intended to be a lightweight hook type similar to system /
script which allows one to use an existing docker image which provides a
hook.
2017-09-02 19:49:23 -07:00
Anthony Sottile
625aaf54aa
Limit repository creation to one process
2017-08-23 20:59:03 -07:00
Anthony Sottile
8f86f8f156
Merge pull request #553 from pre-commit/remove_legacy_hooks_yaml_support
...
Remove legacy 'hooks.yaml' file support
2017-07-26 05:50:41 -07:00
Anthony Sottile
cff98a634d
Recover from invalid python virtualenvs
2017-07-20 10:57:09 -07:00
Anthony Sottile
86d9ca053b
Remove legacy 'hooks.yaml' file support
2017-07-13 10:29:36 -07:00
Anthony Sottile
0c70fa4229
Use asottile/add-trailing-comma
2017-07-12 18:30:51 -07:00
Anthony Sottile
d876661345
Use a more intelligent default language version
2017-07-08 21:11:48 -07:00
Anthony Sottile
918179849d
Make autoupdate --tags-only the default, add --bleeding-edge
2017-04-29 17:40:42 -07:00
Anthony Sottile
cb8dd335f4
Replace jsonschema with better error messages
2017-03-08 14:07:00 -08:00
Anthony Sottile
63d6bed423
Use our VERSION constant moar
2017-03-06 13:27:45 -08:00
Anthony Sottile
f000241dcb
Local repositories clone a blank repo
2017-02-15 15:36:53 -08:00
Anthony Sottile
e704edb5e2
Refactor Repository to be more functional
2017-02-15 12:46:08 -08:00
Anthony Sottile
f7b2948368
Rename some variables to be more like our internal state
2017-02-15 08:57:10 -08:00
Thierry Deo
397efa8080
Keep additional_dependencies in the order in which they are specified
2017-02-09 18:09:09 +01:00
Anthony Sottile
c08400e2bc
Improve messaging for missing hook given #480
2017-01-30 20:43:20 -08:00
Anthony Sottile
abcc41611e
Use a binary which works on windows
2017-01-25 20:32:54 -08:00
Anthony Sottile
51d673dff5
Remove unnecessary files after installation
2017-01-25 16:45:03 -08:00
Anthony Sottile
84ba1fd0c2
additional_dependencies support for golang hooks
2017-01-25 13:44:35 -08:00
Anthony Sottile
068c18d38a
Add first class support for golang hooks
2017-01-24 13:49:22 -08:00
Chris Kuehl
260f981ae8
Add failing test for BUNDLE_DISABLE_SHARED_GEMS
2017-01-23 19:59:28 -08:00
Anthony Sottile
b9e5184ebd
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
2017-01-21 13:47:59 -08:00
Anthony Sottile
ba75867c93
py27+ syntax improvements
2017-01-21 11:49:53 -08:00
Ben Asher
ac2520c86f
skip if swift not installed
2017-01-13 13:51:10 -08:00
Ben Asher
ca731268a4
added test for swift hook
2017-01-13 13:33:44 -08:00
Ben Picolo
b7bd825e15
Support docker hooks with args
2017-01-05 09:31:22 -05:00
Ben Picolo
9b92f96ed0
Code cleanup and tests
2017-01-04 10:35:00 -05:00
Anthony Sottile
a157e1a63f
xargs returns nonzero for negate + not found exe (fixes pcre + not found #447 )
2016-12-04 15:07:35 -08:00
Anthony Sottile
a7169905dc
Centralize logging initialization
2016-11-26 14:19:37 -08:00
Anthony Sottile
0dda19f691
Reorganize output writing
2016-11-26 12:15:55 -08:00
Anthony Sottile
5ace43765b
Allow virtualenv creation with strange setup.cfg. Resolves #425
2016-11-07 11:09:32 -08:00
Anthony Sottile
b81c9802ae
Remove py26 format literals
...
Resolves #403
2016-09-15 08:41:58 -07:00
Anthony Sottile
5547db93ef
Clarify language around missing hooks. Resolves #386
2016-06-25 08:14:58 -07:00
Anthony Sottile
a5f312e4e1
Use python3.4 and 3.5 instead of 3.3 and 3.4
2016-06-01 09:20:41 -07:00
Anthony Sottile
5a6b6e81e9
Don't crash when an executable is not found
2016-05-20 13:32:33 -07:00
Anthony Sottile
b7d395410b
Implement a simplified xargs in python
2016-03-25 11:21:50 -07:00
Anthony Sottile
a5b56bd9e3
Factor out bash and activate files
2016-03-25 11:21:50 -07:00
Anthony Sottile
495fefd316
Fix #322 by only removing git environment variables while cloning
2015-12-22 19:10:08 -08:00
Anthony Sottile
b85a674026
Make additional_dependencies rollforward safe
2015-12-10 12:21:03 -08:00
Anthony Sottile
ce307a16e0
Add an option to require a specific pre-commit version
2015-12-06 20:54:07 -08:00
Anthony Sottile
005cb868e0
Allow '.format('-like strings in arguments. Resolves #314 .
2015-12-06 18:50:57 -08:00
Anthony Sottile
603bf159d9
Produce a useful error message when hook id is not present. Resolves #194
2015-11-25 23:13:49 -08:00
Anthony Sottile
248930f6dc
Fix appveyor and windows. Resolves #293
2015-11-23 22:28:57 -08:00
Anthony Sottile
b9bc6212c1
Fix some minor windows compatibility things
2015-11-23 14:11:59 -08:00
Anthony Sottile
de2ead13a1
Minor fixups
2015-11-23 12:19:02 -08:00
Anthony Sottile
7c8272da77
Merge pull request #295 from blarghmatey/install_dependencies
...
Added the additional_dependencies config parameter
2015-11-23 12:08:15 -08:00
Chris Kuehl
31bc019791
Use a different test for grep flags to support old grep
2015-11-20 15:00:14 -08:00
Anthony Sottile
738c2ad7bd
Fixups + make the tests work
2015-11-20 13:52:20 -08:00
Tobias Macey
0ee4c3efa7
Added unit tests for dependencies
2015-11-20 15:45:34 -05:00
Thierry Deo
f0c198f1ad
Allow args for pcre hook
2015-11-18 11:39:04 +01:00