Commit Graph

675 Commits

Author SHA1 Message Date
Anthony Sottile 5a6b6e81e9 Don't crash when an executable is not found 2016-05-20 13:32:33 -07:00
Anthony Sottile cd03f78d08 v0.8.1 v0.8.1 2016-05-17 09:17:11 -07:00
Anthony Sottile 99df3cb602 Merge pull request #370 from pre-commit/fix_already_using_rbenv_default_ruby_version
Fix already using rbenv + default ruby.  Resolves #369.
2016-05-17 09:15:51 -07:00
Anthony Sottile e77bb8f3c3 Fix already using rbenv + default ruby. Resolves #369. 2016-05-17 08:23:21 -07:00
Anthony Sottile 749b840695 Merge pull request #368 from trbs/fix_autoupdate_loghandler
Set up logging handler in autoupdate
2016-05-10 18:55:57 -07:00
trbs 8f73b321f5 reorder imports 2016-05-10 17:40:11 +02:00
trbs 9c64ce2caf Set up logging handler in autoupdate 2016-05-10 13:47:06 +02:00
Anthony Sottile da7e85c851 v0.8.0 v0.8.0 2016-04-11 13:46:57 -07:00
Anthony Sottile 19bc0dc1b1 Merge pull request #355 from pre-commit/env_context
Factor out bash and activate files
2016-04-11 09:54:46 -07:00
Anthony Sottile f8c82f99fd Make the pcre check for a more compliant implementation 2016-04-07 21:33:10 -07:00
Anthony Sottile 82369fd99f Add utility for parsing shebangs and resolving PATH 2016-04-03 22:54:46 -07:00
Anthony Sottile a932315a15 Implement 'negate' to simplify pcre 2016-03-25 11:21:50 -07:00
Anthony Sottile b7d395410b Implement a simplified xargs in python 2016-03-25 11:21:50 -07:00
Anthony Sottile a5b56bd9e3 Factor out bash and activate files 2016-03-25 11:21:50 -07:00
Anthony Sottile 00a3a9a09b Add envcontext helper 2016-03-25 11:21:50 -07:00
Anthony Sottile 495e21b24d Merge pull request #358 from pre-commit/use_markers
Only require argparse / ordereddict under py26
2016-03-25 10:49:32 -07:00
Anthony Sottile b61cf58237 Only require argparse / ordereddict under py26 2016-03-25 10:19:01 -07:00
Anthony Sottile 6cf2a9bde1 Merge pull request #356 from pre-commit/nocover_py3
Add a missing no-cover to increase coverage under py3
2016-03-21 15:22:22 -07:00
Anthony Sottile f3802e7944 Add a missing no-cover to increase coverage under py3 2016-03-21 15:21:22 -07:00
Anthony Sottile 1f9f7379a1 No 'docs' toxenv 2016-03-21 10:58:01 -07:00
Anthony Sottile eb6da4ae10 Improve --color help with argparse metavar 2016-03-08 16:34:09 -08:00
Anthony Sottile 77a1a29c12 Merge pull request #350 from brettmcintosh/help_text_fixes
Improve help text
2016-03-08 16:27:23 -08:00
Brett 4bb2bfea52 Add periods to help texts for all run commands. 2016-03-08 15:57:55 -08:00
Brett e0f1a34319 Style: fixed line length 2016-03-08 15:51:28 -08:00
Brett 23a140aa30 Improve help text
Add choices to --color help text.
Fix typo in --allow-unstaged-config.
2016-03-08 11:31:21 -08:00
Anthony Sottile 3b28e8f807 Merge pull request #348 from pre-commit/use_pyterminalsize
Use pyterminalsize for terminal sizing
2016-02-22 12:00:39 -08:00
Anthony Sottile 710c24b868 Use pyterminalsize for terminal sizing 2016-02-21 21:07:08 -08:00
Anthony Sottile 00c853b10c Merge pull request #347 from pre-commit/terminal_width_windows_round2
Fall back to tput when terminal size information is missing
2016-02-20 23:05:04 -08:00
Anthony Sottile a9498d28a7 Fall back to tput when terminal size information is missing 2016-02-20 22:15:23 -08:00
Anthony Sottile d699f64de8 Merge pull request #346 from pre-commit/terminal_width_windows
Support terminal width on windows.  Resolves #199
2016-02-20 21:42:28 -08:00
Anthony Sottile 4f6e4aedee Support terminal width on windows. Resolves #199 2016-02-20 20:55:39 -08:00
Anthony Sottile 139744582b Merge branch 'revert_pip_workaround' 2016-02-07 14:51:41 -08:00
Anthony Sottile d8d401e1a3 Revert "Merge pull request #342 from pre-commit/latest_virtualenv_breaks_tests"
This reverts commit 894862462d, reversing
changes made to b1e6063e12.
2016-02-07 14:08:17 -08:00
Anthony Sottile 5168bb7ed3 Merge pull request #343 from pre-commit/testing_helpers
Make a helper for running pre-commit as a subprocess under test
2016-02-07 13:54:38 -08:00
Anthony Sottile 57638134e3 Make a helper for running pre-commit as a subprocess under test 2016-02-07 13:03:59 -08:00
Anthony Sottile e2451109f7 norm slashes for windows 2016-02-07 13:03:28 -08:00
Anthony Sottile 72eeafe516 Merge branch 'lucasc_fix_subdir_files' 2016-02-07 12:35:36 -08:00
Anthony Sottile 982be73784 Add regression test for #339. 2016-02-07 12:33:39 -08:00
Lucas Cimon 941149942d Making it possible to invoke pre-commit run --files some.file from a subdirectory of the repository 2016-02-07 12:25:51 -08:00
Anthony Sottile 894862462d Merge pull request #342 from pre-commit/latest_virtualenv_breaks_tests
Workaround pypa/pip#3461
2016-02-07 11:07:04 -08:00
Anthony Sottile b0797b4c6e Workaround pypa/pip#3461 2016-02-07 10:52:08 -08:00
Anthony Sottile b1e6063e12 v0.7.6 v0.7.6 2016-01-19 18:35:13 -08:00
Anthony Sottile 6adf242444 Merge pull request #335 from pre-commit/fix_for_latest_virtualenv
Fix pre-commit for latest virtualenv.  Resolves #299.  Resolves #334
2016-01-19 18:34:18 -08:00
Anthony Sottile 706f5fbcb5 Add pin for setuptools under test since it breaks pypy3 2016-01-19 18:34:03 -08:00
Anthony Sottile d58b945107 Fix pre-commit for latest virtualenv. Resolves #299. Resolves #334 2016-01-19 18:08:20 -08:00
Anthony Sottile 1dbcfe3adb v0.7.5 v0.7.5 2016-01-15 13:40:10 -08:00
Anthony Sottile aa6d64beab Merge pull request #333 from bchess/include_symlinks
include checking symlinks
2016-01-15 13:39:21 -08:00
Benjamin Chess a70abd04e7 include checking symlinks 2016-01-15 12:50:04 -08:00
Anthony Sottile b00637beb5 v0.7.4 v0.7.4 2016-01-12 16:10:11 -08:00
Anthony Sottile 13855c459b Merge pull request #332 from pre-commit/fail_gracefully_on_unencodable_bytes_during_install
Fail gracefully on undecodable install output.
2016-01-12 16:06:32 -08:00