Commit Graph

521 Commits

Author SHA1 Message Date
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
Tobias Macey
0980887f57 Added new parameter to config schema 2015-11-20 20:24:01 -05:00
Anthony Sottile
3ac1041ce4 Merge pull request #298 from chriskuehl/fix-grep-flags-on-old-grep
Use a different test for grep flags to support old grep
2015-11-20 16:00:03 -08:00
Chris Kuehl
31bc019791 Use a different test for grep flags to support old grep 2015-11-20 15:00:14 -08:00
Tobias Macey
3581f94b32 Merge pull request #2 from pre-commit/asottile_install_dependencies
Fixups + make the tests work
2015-11-20 17:21:34 -05: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
Tobias Macey
862426576f Merge pull request #1 from pre-commit/slight_fixups
Some slight fixups
2015-11-19 22:36:28 -05:00
Tobias Macey
d6be9cdf7c Added shell_escape to shell escape dependencies 2015-11-19 16:15:40 -05:00
Anthony Sottile
e80f203ba2 Merge pull request #297 from pre-commit/dont_run_flake8_twice
Don't run flake8 twice
2015-11-19 12:53:08 -08:00
Anthony Sottile
fb0d67bd87 Some slight fixups 2015-11-19 12:46:02 -08:00
Anthony Sottile
7dee804f3d Don't run flake8 twice 2015-11-19 12:38:58 -08:00
Anthony Sottile
1a15ac48ce Merge pull request #296 from pre-commit/dont_need_to_passenv_lang_any_more
Don't need passenv = LANG for tox
2015-11-19 12:33:21 -08:00
Anthony Sottile
a332f8f172 Don't need passenv = LANG for tox 2015-11-19 12:16:59 -08:00
Tobias Macey
3726f07a3f Reformatted method signatures, fixed typos 2015-11-19 15:16:02 -05:00
Tobias Macey
06b3d91da0 Added the additional_dependencies config parameter
Added the ability to specify additional dependencies to be installed in
the pre-commit environment. Fixed broken tests.
2015-11-19 12:29:41 -05:00
Anthony Sottile
ef8b39df29 v0.6.5 v0.6.5 2015-11-19 07:51:21 -08:00
Anthony Sottile
366f81f252 Upgrade virtualenv 2015-11-18 10:47:51 -08:00
Anthony Sottile
8ccd2816d1 Merge pull request #292 from pricematch/pcre_args
Allow args for pcre hook
2015-11-18 10:25:15 -08:00
Thierry Deo
f0c198f1ad Allow args for pcre hook 2015-11-18 11:39:04 +01:00
Anthony Sottile
8a43a65557 v0.6.4 v0.6.4 2015-11-13 10:55:16 -08:00
Anthony Sottile
a0636f1fab Merge pull request #290 from pre-commit/fix_non_utf8_diffs
Fix hooks that apply non-utf8 diffs
2015-11-13 10:45:39 -08:00
Anthony Sottile
4b2f83d11e Fix hooks that apply non-utf8 diffs 2015-11-13 10:08:37 -08:00
Anthony Sottile
a7e66abfdd v0.6.3 v0.6.3 2015-11-12 23:23:58 -08:00
Anthony Sottile
560d28e821 Merge pull request #287 from pre-commit/fail_modifying_hooks_285
Fail a hook if it makes modifications.  Resolves #285
2015-11-12 16:14:40 -08:00
Anthony Sottile
a3f78bc165 Fail a hook if it makes modifications. Resolves #285 2015-11-12 15:16:55 -08:00
Anthony Sottile
67f6f812c4 Merge pull request #286 from pre-commit/remove_expected_return_value
Remove expected_return_value.  Resolves #232
2015-11-12 14:24:17 -08:00
Anthony Sottile
67ad0d2d8e Remove expected_return_value. Resolves #232 2015-11-12 13:50:29 -08:00
Anthony Sottile
3472f2b3ce Add some missing no cover comments 2015-10-19 14:18:24 -07:00
Anthony Sottile
7d722714b7 v0.6.2 v0.6.2 2015-10-14 10:14:10 -07:00
Anthony Sottile
1b6da9e2aa Merge pull request #279 from magicmark/master
Changed to use --no-ri --no-rdoc
2015-10-14 10:12:38 -07:00
Mark Larah
1bda89458b Changed to use --no-ri --no-rdoc
Changed to use --no-ri --no-rdoc to fix gem installs on OS X
2015-10-14 17:42:34 +01:00
Anthony Sottile
a8ddffb024 v0.6.1 v0.6.1 2015-10-08 19:21:43 -07:00
Anthony Sottile
833a8caa85 Merge pull request #277 from barrysteyn/master
Fix bug - pushing on an empty changeset
2015-10-08 19:20:44 -07:00
Barry Steyn
354c02b0c1 Merge pull request #1 from pre-commit/barry-pr-277
Fixups and test for pre-commit/pre-commit#277
2015-10-08 19:15:36 -07:00
Anthony Sottile
6eb260f774 Fixups and test for pre-commit/pre-commit#277 2015-10-08 19:08:49 -07:00
Barry Steyn
e216b0b2cc Fix bug - pushing on an empty changeset 2015-10-08 11:26:18 -07:00
Anthony Sottile
f71568aabb Merge pull request #276 from barrysteyn/master
Corrected stages integration test
2015-10-07 21:35:08 -07:00
Barry Steyn
355ce61417 Corrected stages integration test 2015-10-06 08:46:22 -07:00
Anthony Sottile
72f03c141e Merge pull request #275 from pre-commit/speed_up_tests_on_14_04
Some speedups for tests
2015-10-05 09:20:03 -07:00
Anthony Sottile
c7eefd48e4 Take advantage of the travis-ci cache feature 2015-10-05 08:49:07 -07:00
Anthony Sottile
7911f4b488 Speed up tests on 14.04 -- rvm has a binary for p551 and not p484 2015-10-05 08:40:51 -07:00
Anthony Sottile
223f0d4dfb v0.6.0 v0.6.0 2015-10-05 07:53:34 -07:00
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