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
Sean Perry
8c9a39707e
fix imports to be one per line
2016-02-01 14:14:58 -08:00
Sean Perry
364da6a0a5
Support repos without hooks.yaml by reading a local config
...
If a repo does not have a hooks.yaml any hook ids are then looked for in
.pre-commit-hooks-config.yaml in the repo that is under test. It has the same
format as a standard hooks.yaml.
The purpose of this change is to avoid needing to mirror a linter repo just
to call it. Long term, tools could be reference by a URL or other source than
a git repo making having a mirror repo even more of a hassle.
2016-01-22 17:35:09 -08:00
Anthony Sottile
b1e6063e12
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
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
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
Anthony Sottile
2aaaddb5cc
Fail gracefully on undecodable install output.
2016-01-12 10:08:59 -08:00
Anthony Sottile
75aaadd4c4
v0.7.3
2015-12-22 19:33:34 -08:00
Anthony Sottile
fadeb509ad
Merge pull request #326 from pre-commit/fix_commit_am_322
...
Fix #322 by only removing git environment variables while cloning
2015-12-22 22:31:54 -05:00
Anthony Sottile
495fefd316
Fix #322 by only removing git environment variables while cloning
2015-12-22 19:10:08 -08:00
Anthony Sottile
c16479b94a
Merge pull request #325 from pre-commit/py35_appveyor
...
Use python3.5 in appveyor over py34
2015-12-22 18:13:17 -05:00
Anthony Sottile
a488424501
Use python3.5 in appveyor over py34
2015-12-22 14:40:30 -08:00