Commit Graph

539 Commits

Author SHA1 Message Date
Anthony Sottile
6b005cff0d Merge pull request #306 from pre-commit/warn_on_hook_not_present_instead_of_keyerror
Produce a useful error message when hook id is not present.  Resolves #194
2015-11-26 09:30:33 -08:00
Anthony Sottile
8c8bb2c077 Merge pull request #308 from pre-commit/contributing
Add CONTRIBUTING.md.  Resolves #274
2015-11-25 23:39:56 -08:00
Anthony Sottile
e691d0f3a8 Add CONTRIBUTING.md. Resolves #274 2015-11-25 23:39:34 -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
512a6a2c64 Merge pull request #305 from jdb8/output-on-files-changed
Output a message when a hook fails due to file modification
2015-11-25 16:49:50 -08:00
Joe Bateson
91a547ed61 Output a message when a hook fails due to file modification 2015-11-25 16:27:47 -08:00
Anthony Sottile
956eefc90f v0.6.6 v0.6.6 2015-11-25 15:13:03 -08:00
Anthony Sottile
c6200329a2 Merge pull request #304 from pre-commit/use_newer_than_coverage_4
Use newer coverage.  Resolves #273
2015-11-24 12:42:19 -08:00
Anthony Sottile
3e79898340 Use newer coverage. Resolves #273 2015-11-24 11:21:14 -08:00
Anthony Sottile
7cd1f534b2 Merge pull request #303 from pre-commit/pytest_path_easier
Use path.join
2015-11-24 06:35:48 -08:00
Anthony Sottile
0da258043f Use path.join 2015-11-23 23:46:58 -08:00
Anthony Sottile
b73173fad0 Merge pull request #302 from pre-commit/fix_appveyor_and_windows
Fix appveyor and windows.  Resolves #293
2015-11-23 23:09:26 -08:00
Anthony Sottile
248930f6dc Fix appveyor and windows. Resolves #293 2015-11-23 22:28:57 -08:00
Anthony Sottile
1cdbe38b5f Merge pull request #301 from pre-commit/fix_300
Fix issue #300 by removing GIT_WORK_TREE env variable
2015-11-23 16:40:46 -08:00
Anthony Sottile
d17063862b Fix issue #300 by removing GIT_WORK_TREE env variable 2015-11-23 16:30:24 -08:00
Anthony Sottile
66e8ed5ad5 Remove unneeded format chunk 2015-11-23 15:04:55 -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
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