Lucas Cimon
b0791a22bd
Adding "--no-document" argument to "gem install" command for ruby-based hooks to fix issue with Cygwin
2015-08-13 16:35:20 +02:00
Chris Kuehl
01fd58c675
Fix import ordering in clientlib/validate_base
2015-07-29 00:41:56 -04:00
Anthony Sottile
ff5e6e5e89
Merge pull request #250 from chriskuehl/add_version_to_validators
...
Add --version option to validator binaries
2015-07-26 09:16:00 -04:00
Chris Kuehl
719d19699f
Add --version option to validator binaries
2015-07-25 22:47:46 -07:00
Chris Kuehl
ec6f6cc854
Make pre-push-tmpl non-executable
2015-07-25 22:33:38 -07:00
Anthony Sottile
66b1d39c6e
Allow arbitrary bytes in output. Resolves #245
2015-07-23 12:59:13 -07:00
Dmitriy Kunitskiy
72b61a81f9
fix for issue 246
2015-07-20 17:25:08 -07:00
Anthony Sottile
53cc2a64c9
Allow unstaged config when running against files or all-files. Resolves #242
2015-06-15 11:25:58 -07:00
Lucas Cimon
3c02a24655
Fixing bug with local hooks that disappeared during autoupdate
2015-06-14 22:30:28 +02:00
Lucas Cimon
b575cb510c
Fix #238 : pre-commit autoupdate fails with local hooks
2015-06-02 23:30:06 +02:00
Anthony Sottile
a97cb38b9a
Handle when the hooks directory is not there on install. Resolves #234 .
2015-05-23 20:02:42 -07:00
Anthony Sottile
7905594215
Don't UnicodeDecodeError on non-ascii not-found hooks. Resolves #207 .
2015-05-22 21:55:08 -07:00
Anthony Sottile
039a7a5878
Remove defaults from pre-commit config schema. Resolves #227
2015-05-18 13:59:42 -07:00
Anthony Sottile
45d4a195ef
Environments are now installed to version-specific locations. Resolves #229
2015-05-16 18:51:14 -07:00
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
cdf726bbed
Make isolated environments more isolated under OSX and pyvenv. Resolves #217 .
2015-04-08 13:59:30 -07:00
Anthony Sottile
fbf86c775c
Use sys.executable when executing virtualenv. Resolves #208 .
2015-03-28 18:05:06 -07:00
Anthony Sottile
36f1058444
Shotgun: try reset instead of checkout?
2015-03-25 09:39:23 -07:00
Anthony Sottile
3bf852f46a
Limit xargs line length. Resolves #205 .
2015-02-27 15:15:42 -08:00
Anthony Sottile
8faf96c1ad
Don't rename across devices. Resolves #203
2015-02-27 10:11:56 -08:00
Anthony Sottile
143ed94500
Tests pass on windows
2015-02-27 00:48:01 -08:00
Anthony Sottile
56e5c4eb2d
Use sqlite3 instead of symlinks for managing repositories
2015-02-22 17:42:40 -08:00
Anthony Sottile
02f0a1c434
Actually print while installing
2015-02-22 16:18:46 -08:00
Anthony Sottile
1996a4c8a1
Make ^C^C during install not cause subsequent runs to fail. Resolves #186 .
2015-02-07 15:43:58 -08:00
Anthony Sottile
f4d251fbbe
Quote args in venv'd languages
2015-02-04 19:01:56 -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
26502dfd0b
Default arguments from hooks.yaml
2015-01-12 09:35:05 -08:00
Buck Golemon
7bd1dd977d
improve output in error case
2015-01-06 16:25:46 -08:00
Anthony Sottile
596e31fdee
Update some pre-commit hooks + some minor tweaks
2015-01-04 15:58:39 -08:00
Anthony Sottile
0479f78b4d
Fix staged_files_only for color.diff always. Closes #176 .
2014-10-07 17:40:20 -07:00
Anthony Sottile
bbd2572b11
Remove plumbum
2014-10-02 06:59:37 -07:00
Anthony Sottile
5d9ba14841
Restore 79 character lines.
2014-10-01 17:18:44 -07:00
Buck Golemon
cdf0dae90d
fix error clobbering
2014-10-01 14:38:05 -07:00
Anthony Sottile
d8d7893cf7
Add ability to pass filenames as arguments.
2014-09-16 17:27:40 -07:00
Anthony Sottile
fa9db4ec23
Fix terminal width detection.
2014-09-05 14:08:10 -07:00
Ken Struys
b089c74948
Merge pull request #166 from pre-commit/venv_python
...
Use virtualenv python from install-time for less virtualenv requirements at commit time.
2014-09-04 14:48:15 -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
William Ting
f0352bf0be
Update autoupdate help message.
2014-09-02 18:46:18 -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
37d3dc0c82
Minor things to trigger a build.
2014-08-26 22:10:08 -07:00
Anthony Sottile
22ee10d4ad
Update .pre-commit-config.yaml
2014-08-22 12:33:54 -07:00
Anthony Sottile
32817f3958
Remove @entry
2014-08-13 11:02:40 -07:00
Anthony Sottile
9a017dcbe9
Add error_handler and use it.
2014-08-13 11:02:28 -07:00