Anthony Sottile
a875231be3
Fixup
2015-05-10 17:00:23 -07:00
caffodian
1c28ae10f7
Fix for #157 (with upstream changes)
...
Conflicts:
tests/commands/run_test.py
2015-05-10 16:25:05 -07:00
8geese
fdc2a889de
fix for #157
2015-05-10 15:48:21 -07:00
Lucas Cimon
b68261c720
Adding support for locally-defined hooks
2015-05-10 23:57:34 +02:00
Anthony Sottile
d97ea30c4b
Minor style change for consistency sake
2015-05-07 17:06:33 -07:00
LCM
7dd8c6ab4a
Preparatory work & clean-up for #219
...
clientlib/validate_config.py: moving "sha" field requirement out of JSON schema
commands/run.py: code simplification
runner.py: made .config a cached_property
2015-05-07 22:02:40 +02:00
Anthony Sottile
143ed94500
Tests pass on windows
2015-02-27 00:48:01 -08:00
Anthony Sottile
febb270afe
Bump magic numbers
2015-01-14 20:27:37 -08:00
Anthony Sottile
931c69b3fa
Simplify a few things
2015-01-14 19:26:38 -08:00
dongweiming
b707cbba06
Make pre_commit also support pre-push hook
2015-01-14 19:26:37 -08:00
Anthony Sottile
fd109b7745
reorder-python-imports
2015-01-04 15:49:19 -08:00
Anthony Sottile
bbd2572b11
Remove plumbum
2014-10-02 06:59:37 -07:00
Anthony Sottile
d8d7893cf7
Add ability to pass filenames as arguments.
2014-09-16 17:27:40 -07:00
Anthony Sottile
598e54640b
Use virtualenv python from install-time for less virtualenv requirements at commit time.
2014-09-04 10:19:20 -07:00
Anthony Sottile
ecf82ed5e0
Use bytes for sys.stdout.write in PY2. Closes #161 .
2014-09-02 16:11:45 -07:00
Anthony Sottile
62f13aea56
Allow multiple hooks with same id in .pre-commit-config.yaml
2014-07-31 08:37:37 -07:00
Anthony Sottile
38d3fab4ea
Do logging on install-hooks during install command.
2014-07-28 14:24:00 -07:00
Anthony Sottile
b8c8120f2a
Print hookid on failure.
2014-07-22 06:54:48 -07:00
Anthony Sottile
bdbf1cfdb1
Support --install-hooks as an option for pre-commit install
2014-07-03 17:22:32 -07:00
Anthony Sottile
8fee06b53e
resource_filename instead of trying to remember the right invocation to pkg_resources.
2014-06-23 13:25:37 -07:00
Anthony Sottile
5e8a6414cd
Use either pre-commit or python -m pre_commit.main.
2014-06-17 17:01:51 -07:00
Anthony Sottile
5575dbae05
Use aspy.yaml instead.
2014-06-17 09:29:39 -07:00
Anthony Sottile
a984a02c84
Make ordereddict a direct dependency.
2014-06-17 06:59:13 -07:00
Anthony Sottile
0cde0fdc48
Uninstall restores hooks.
2014-06-16 17:48:56 -07:00
Anthony Sottile
f4d16b9cdc
Combine install and uninstall.
2014-06-16 17:45:13 -07:00
Anthony Sottile
ac735e85e2
Make install -f / --overwrite work.
2014-06-16 17:41:16 -07:00
Anthony Sottile
1d8394afd0
Add first pass at migration mode.
2014-06-16 15:31:22 -07:00
Anthony Sottile
a744a6484e
git mv pre_commit/resources/pre-commit.sh pre_commit/resources/pre-commit-hook
2014-06-16 13:07:54 -07:00
Anthony Sottile
7b1230df27
Use plumbum a bit better.
2014-06-15 14:19:05 -07:00
Anthony Sottile
cdfd3f7670
Move commands into their own files.
2014-06-13 19:52:14 -07:00