Commit Graph

611 Commits

Author SHA1 Message Date
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
Anthony Sottile
2aaaddb5cc Fail gracefully on undecodable install output. 2016-01-12 10:08:59 -08:00
Anthony Sottile
75aaadd4c4 v0.7.3 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
Anthony Sottile
df3319176d v0.7.2 v0.7.2 2015-12-22 13:07:05 -08:00
Anthony Sottile
7d234e2062 Merge pull request #324 from laurentsigal/allow_always_run
Allow to simply run a script once - no matter what the changes are
2015-12-22 16:05:32 -05:00
Laurent Sigal
12a08de17f Merge pull request #1 from pre-commit/asottile_allow_always_run
Add regression test for `always_run` setting
2015-12-22 15:41:11 -05:00
Anthony Sottile
4f58f119b1 Add regression test for always_run setting 2015-12-22 12:33:17 -08:00
Laurent Sigal
5d160e1547 Fix tests 2015-12-22 19:47:22 +00:00
Laurent Sigal
a72ca3d68e Less blocking logic 2015-12-22 19:06:31 +00:00
Laurent Sigal
5a08204b8d Allow to simply run a script once - no matter what the changes are 2015-12-22 18:12:08 +00:00
Anthony Sottile
577d8a1dfa v0.7.1 v0.7.1 2015-12-19 09:04:25 -08:00