Commit Graph

670 Commits

Author SHA1 Message Date
Anthony Sottile
4f73a74378 Merge pull request #428 from pre-commit/fix_latest_git
Fix latest-git.sh
2016-11-07 11:08:59 -08:00
Anthony Sottile
a5aa32ee72 Fix latest-git.sh 2016-11-07 10:37:46 -08:00
Anthony Sottile
9ef0c06d3f v0.9.2 v0.9.2 2016-10-25 13:10:11 -07:00
Anthony Sottile
8bcf24e5d5 Merge pull request #421 from pre-commit/py26_cleanup
shlex.split works in py27+
2016-10-23 17:31:15 -07:00
Anthony Sottile
c4c02f71a6 Merge pull request #420 from pre-commit/stdlib_venv_strikes_again
Fix virtualenv-inside-venv on osx.  Resolves #419
2016-10-23 17:00:24 -07:00
Anthony Sottile
cce59d7957 shlex.split works in py27+ 2016-10-23 16:55:16 -07:00
Anthony Sottile
3b888c9e42 Stop testing against py33 2016-10-23 16:51:53 -07:00
Anthony Sottile
e832ddc57f Merge pull request #408 from pre-commit/no_pyterminalsize
Use 80 or min width instead of terminal size
2016-10-23 16:48:53 -07:00
Anthony Sottile
d5ebea31d7 Fix virtualenv-inside-venv on osx. Resolves #419 2016-10-23 16:43:34 -07:00
Anthony Sottile
bbf1f62ed6 Merge pull request #412 from pre-commit/remove_py26_format_literals
Remove py26 format literals
2016-09-15 09:20:42 -07:00
Anthony Sottile
b81c9802ae Remove py26 format literals
Resolves #403
2016-09-15 08:41:58 -07:00
Anthony Sottile
26e60fa333 v0.9.1 v0.9.1 2016-09-10 09:49:03 -07:00
Anthony Sottile
b511bac036 Merge pull request #411 from pre-commit/regression_test_for_409
Add regression test for external diff tools
2016-09-10 12:46:17 -04:00
Anthony Sottile
cc65fa98d2 Add regression test for external diff tools
See #409
Resolves #410
2016-09-10 09:24:28 -07:00
Anthony Sottile
4b90faab27 Merge pull request #409 from samsaggace/master
Fix file stashing with external diff tool
2016-09-09 10:56:47 -04:00
Sebastien Chemin
5206ce2448 Fix file stashing with external diff tool
When git is configured to use an external diff tool to show diffs
(eg. 'git config diff.external mytool'), the stashing unstaged files
will create an empty file that can't be recovered.

Some modifications are permanently lost...

Just disable the ext-diff of git diff to avoid any issue.

Change-Id: I10a57ac2acbcb1f7219455f1958efd50d8452d6a
2016-09-09 16:36:32 +02:00
Anthony Sottile
9c6484b94f Merge pull request #407 from pre-commit/nopy26_tarfile_open
Remove tarfile_open (tarfile open in 2.7+)
2016-08-31 17:24:29 -07:00
Anthony Sottile
f2f3054d8b Merge pull request #406 from pre-commit/nopy26_logging_handler
Use super() ('newstyle class' in 2.7+)
2016-08-31 17:24:22 -07:00
Anthony Sottile
a677c42e21 Use 80 or min width instead of terminal size 2016-08-31 17:15:52 -07:00
Anthony Sottile
57cc50e0ad Remove tarfile_open (tarfile open in 2.7+) 2016-08-31 16:24:30 -07:00
Anthony Sottile
5961a8e5f1 Use super() ('newstyle class' in 2.7+) 2016-08-31 16:20:55 -07:00
Anthony Sottile
0a810249e3 v0.9.0 v0.9.0 2016-08-31 12:41:38 -07:00
Anthony Sottile
60cc4158ed Merge pull request #400 from pre-commit/fix_trailing_whitespace_non_utf8_diff
Fix staged-files-only with a non-utf8-trailing-whitespace diff.  Resolves #397
2016-08-18 17:29:15 +02:00
Anthony Sottile
b05cc4077e Fix staged-files-only with a non-utf8-trailing-whitespace diff. Resolves #397 2016-08-18 07:37:33 -07:00
Anthony Sottile
f11338ccfa Merge pull request #398 from sanmai-NL/clarify_git_err_msg
Clarify/correct error message
2016-08-18 16:36:33 +02:00
Anthony Sottile
b6bcc8a80d Merge pull request #399 from pre-commit/stop_testing_py26
Stop supporting python2.6  Resolves #263
2016-08-18 16:36:14 +02:00
Anthony Sottile
1522a8e05b Stop supporting python2.6 Resolves #263 2016-08-18 07:32:47 -07:00
Sander Maijers
1d4a332e04 Clarify/correct error message
The error also occurs if the `git` utility isn't available.
2016-08-16 15:47:17 +02:00
Anthony Sottile
ea05189c28 Merge pull request #387 from pre-commit/better_suggest_autoupdate
Clarify language around missing hooks.  Resolves #386
2016-06-25 10:52:32 -07:00
Anthony Sottile
5547db93ef Clarify language around missing hooks. Resolves #386 2016-06-25 08:14:58 -07:00
Anthony Sottile
99edd0d5c9 Merge pull request #382 from pre-commit/tags_when_available
Autoupdate to tags when available
2016-06-23 09:56:33 -07:00
Anthony Sottile
758faa4ae7 Autoupdate to tags when available 2016-06-23 08:29:33 -07:00
Anthony Sottile
d845ec6e36 Merge pull request #375 from vinayinvicible/master
only consider forward diff in changed files
2016-06-01 10:17:21 -07:00
Anthony Sottile
d2c17ed226 Merge pull request #378 from pre-commit/use_py34_py35
Use python3.4 and 3.5 instead of 3.3 and 3.4
2016-06-01 10:17:09 -07:00
Anthony Sottile
a5f312e4e1 Use python3.4 and 3.5 instead of 3.3 and 3.4 2016-06-01 09:20:41 -07:00
Anthony Sottile
b81e489cb2 Merge pull request #377 from pre-commit/py35_travis
Simpler python3.5 on travis-ci
2016-06-01 09:20:17 -07:00
Anthony Sottile
31599822fc Simpler python3.5 on travis-ci 2016-06-01 08:31:18 -07:00
Vinay Karanam
b61a0b5467 added test for git forward diff 2016-06-01 15:49:44 +05:30
Anthony Sottile
00bed9ea2f Merge pull request #376 from pre-commit/dont_run_on_deleted_files
Don't run on deleted files.  Resolves #374
2016-05-25 09:32:01 -07:00
Anthony Sottile
db97cf3329 Don't run on deleted files. Resolves #374 2016-05-25 08:42:02 -07:00
vinay karanam
81d7efa7bb only consider forward diff in changed files 2016-05-25 14:44:59 +05:30
Anthony Sottile
6654fee5f9 Merge pull request #373 from pre-commit/not_using_pylint
We're not using pylint
2016-05-20 16:31:19 -07:00
Anthony Sottile
efe33ffe5c We're not using pylint 2016-05-20 16:14:18 -07:00
Anthony Sottile
7c213f4482 v0.8.2 v0.8.2 2016-05-20 15:28:16 -07:00
Anthony Sottile
efda3cdcd0 Merge pull request #372 from pre-commit/dont_crash_on_not_found_exe
Don't crash when an executable is not found
2016-05-20 15:03:53 -07:00
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