Commit Graph

478 Commits

Author SHA1 Message Date
Anthony Sottile
a8e43afb07 Merge pull request #271 from barrysteyn/master
Allow hooks to be applied to either pre-push or pre-commit
2015-10-05 07:48:48 -07:00
Barry Steyn
dd73ffd02f Filtering of hooks for commit or push stages 2015-10-05 07:17:20 -07:00
Anthony Sottile
e3a22061c5 Temporarily limit coverage to <4 to fix py27 on windows
See https://bitbucket.org/ned/coveragepy/issues/420/coverage-40-hangs-indefinitely-on-python27
2015-10-04 21:03:17 -07:00
Anthony Sottile
4f7e03bdce Merge pull request #272 from chriskuehl/gitignore-cache
gitignore: add .cache
2015-10-03 11:39:27 -07:00
Chris Kuehl
a79cce61d4 gitignore: add .cache 2015-10-02 16:21:35 -07:00
Anthony Sottile
a5cf7d09ca Merge pull request #270 from pre-commit/tmpdir_factory_to_tempdir_factory
git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g'
2015-10-01 11:16:58 -07:00
Anthony Sottile
1dfcf10036 git grep -l tmpdir_factory | xargs sed -i 's/tmpdir_factory/tempdir_factory/g' 2015-10-01 10:24:54 -07:00
Ken Struys
5791d84236 Limit us to pytest < 2.8 to fix build 2015-09-30 17:47:08 -07:00
Anthony Sottile
3eba6ff48a Fix quoting in help 2015-09-30 17:15:02 -07:00
Anthony Sottile
857fd4ea72 v0.5.5 v0.5.5 2015-09-04 08:48:58 -07:00
Anthony Sottile
a8e1eaa512 Fix shallow clone in travis-ci 2015-09-03 08:17:54 -07:00
Anthony Sottile
01ed16c31e Merge pull request #262 from pricematch/use_ggrep_on_mac
Use ggrep instead of grep for pcre on mac os
2015-09-03 07:59:48 -07:00
Thierry Deo
7fd709ebd3 Use ggrep instead of grep for pcre on mac os 2015-09-03 11:44:39 +02:00
Anthony Sottile
3d90b094fc Merge pull request #261 from pre-commit/no_tput_stderr
Supress stderr when TERM is unset
2015-08-21 13:24:10 -07:00
Anthony Sottile
7321108083 Supress stderr when TERM is unset 2015-08-19 12:02:28 -07:00
Anthony Sottile
4da968a5ea Merge pull request #258 from meunierd/expanduser
Allow specifying python version relative to user's home directory.
2015-08-13 11:32:28 -07:00
Anthony Sottile
5e33213567 Merge pull request #260 from Lucas-C/master
Adding "--no-document" argument to "gem install" command for ruby-based hooks to fix issue with Cygwin
2015-08-13 09:27:43 -07:00
Devon Meunier
6a580a0c09 Allow specifying python version relative to user's home directory. 2015-08-13 12:03:26 -04:00
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
Anthony Sottile
a578afb310 Merge pull request #252 from chriskuehl/pre-commit_in_tox
Run this repo's pre-commit hooks in tox (and thus travis)
2015-07-29 00:50:00 -04:00
Chris Kuehl
01fd58c675 Fix import ordering in clientlib/validate_base 2015-07-29 00:41:56 -04:00
Chris Kuehl
b0248fe285 Run reorder-python-imports on Python2.7 2015-07-29 00:16:02 -04:00
Chris Kuehl
b025b6d55f Run pre-commit hooks in tox (and thus travis) 2015-07-29 00:13:14 -04:00
Anthony Sottile
b07572e325 Merge pull request #251 from chriskuehl/rename-validators
Rename validate-{config,manifest} entrypoints
2015-07-26 09:17:46 -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
Anthony Sottile
0f2dc402b1 Merge pull request #249 from chriskuehl/nonexec_pre-push_tmpl
Make `pre-push-tmpl` non-executable
2015-07-26 09:08:37 -04:00
Chris Kuehl
d567136e57 Rename validate-{config,manifest} entrypoints 2015-07-25 23:11:57 -07: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
e27c400b9d v0.5.4 v0.5.4 2015-07-24 07:47:18 -07:00
Anthony Sottile
5f5947d1c8 Merge pull request #248 from pre-commit/allow_arbitrary_bytes
Allow arbitrary bytes in output.  Resolves #245
2015-07-24 06:38:47 -07:00
Anthony Sottile
66b1d39c6e Allow arbitrary bytes in output. Resolves #245 2015-07-23 12:59:13 -07:00
Anthony Sottile
826aa4cebd Merge pull request #247 from dkunitsk/master
fix for issue 246
2015-07-20 18:23:57 -07:00
Dmitriy Kunitskiy
72b61a81f9 fix for issue 246 2015-07-20 17:25:08 -07:00
Ken Struys
2c70476c63 Merge pull request #244 from pre-commit/allow_unstaged_config_for_all_files_242
Allow unstaged config when running against files or all-files.  Resolves #242
2015-06-15 13:55:59 -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
Anthony Sottile
25ebea63ea v0.5.3 v0.5.3 2015-06-15 11:09:37 -07:00
Anthony Sottile
72c82f06e1 Merge pull request #243 from Lucas-C/master
Fixing bug with local hooks that disappeared during autoupdate
2015-06-14 14:34:29 -07:00
Lucas Cimon
3c02a24655 Fixing bug with local hooks that disappeared during autoupdate 2015-06-14 22:30:28 +02:00
Anthony Sottile
2a642b0619 v0.5.2 v0.5.2 2015-06-02 15:46:06 -07:00
Anthony Sottile
d6ee26c19e Merge pull request #239 from Lucas-C/master
Fix #238 : pre-commit autoupdate fails with local hooks
2015-06-02 15:46:00 -07:00
Lucas Cimon
b575cb510c Fix #238 : pre-commit autoupdate fails with local hooks 2015-06-02 23:30:06 +02:00
Anthony Sottile
1c46446427 Bump hooks 2015-05-31 14:06:52 -07:00
Anthony Sottile
8dba3281d5 Merge pull request #236 from pre-commit/remove_old_files
Remove example_*, the docs do a better job.
2015-05-25 16:00:26 -07:00
Anthony Sottile
c8f19eb2e5 Remove example_*, the docs do a better job. 2015-05-25 15:50:51 -07:00
Anthony Sottile
f537b77808 v0.5.1 v0.5.1 2015-05-23 20:34:58 -07:00
Anthony Sottile
b0a44462dd Merge pull request #235 from pre-commit/hooks_dir_not_there_234
Handle when the hooks directory is not there on install.  Resolves #234.
2015-05-23 20:33:30 -07: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
b4bc5e4742 Merge pull request #233 from pre-commit/non_ascii_not_found_207
Don't UnicodeDecodeError on non-ascii not-found hooks.  Resolves #207.
2015-05-23 10:52:35 -07:00
Anthony Sottile
7905594215 Don't UnicodeDecodeError on non-ascii not-found hooks. Resolves #207. 2015-05-22 21:55:08 -07:00