Commit Graph

910 Commits

Author SHA1 Message Date
Anthony Sottile
625aaf54aa Limit repository creation to one process 2017-08-23 20:59:03 -07:00
Anthony Sottile
bba711f468 Remove extra newline on error() call 2017-08-23 14:20:44 -07:00
Anthony Sottile
477c1163b7 Merge pull request #592 from pre-commit/remove_no_stash_allow_unstaged_config
Remove --no-stash and --allow-unstaged-config
2017-08-23 17:04:44 -04:00
Anthony Sottile
6793fd8e5d Remove --no-stash and --allow-unstaged-config 2017-08-23 11:16:37 -07:00
Anthony Sottile
7139a47c1c Merge pull request #588 from pre-commit/all-repos_autofix_pre-commit-autoupdate
Ran pre-commit autoupdate.
2017-08-14 22:13:25 -04:00
Anthony Sottile
2694ebe264 Ran pre-commit autoupdate.
Committed via https://github.com/asottile/all-repos
2017-08-14 18:28:55 -07:00
Anthony Sottile
8994e4cd1c Merge pull request #586 from pre-commit/upgrade_sample_config
Upgrade the sample-config output
2017-08-11 00:30:13 -04:00
Anthony Sottile
cb8fb8c7c8 Merge pull request #585 from pre-commit/uninstall_commit_msg
Allow commit-msg hooks to be uninstalled
2017-08-10 23:55:56 -04:00
Anthony Sottile
469498ac9d Upgrade the sample-config output 2017-08-10 20:45:29 -07:00
Anthony Sottile
21b563d516 Merge pull request #584 from pre-commit/fix_typo
Fix a typo in the install help
2017-08-10 23:43:04 -04:00
Anthony Sottile
5491f8b5eb Allow commit-msg hooks to be uninstalled 2017-08-10 20:21:09 -07:00
Anthony Sottile
e90778222d Fix a typo in the install help 2017-08-10 20:18:37 -07:00
Anthony Sottile
49366f1c4a v0.16.3 v0.16.3 2017-08-10 19:59:53 -07:00
Anthony Sottile
478e90e2fa Merge pull request #583 from pre-commit/autoupdate_reformatting
When possible, preserve config format on autoupdate
2017-08-10 22:54:46 -04:00
Anthony Sottile
ee392275f3 Remove remove_defaults -- it wasn't doing anything 2017-08-10 19:09:25 -07:00
Anthony Sottile
59c6df5e46 When possible, preserve config format on autoupdate 2017-08-10 18:32:24 -07:00
Anthony Sottile
72efbb3950 v0.16.2 v0.16.2 2017-08-06 20:24:15 -07:00
Anthony Sottile
dca264d367 Merge pull request #580 from gagern/patch-1
Initialize git submodules
2017-08-06 23:10:35 -04:00
Anthony Sottile
f5e4f7cb54 Merge pull request #581 from pre-commit/update_swift_urls
Update swift urls (the old ones 404d)
2017-08-06 23:09:44 -04:00
Anthony Sottile
fd01f2d8bf Update swift urls (the old ones 404d) 2017-08-06 20:01:36 -07:00
Martin von Gagern
8ad5536688 Initialize git submodules
Some packages make use of git submodules, and require all of them to be in place to be installed. One example is my libtidy wrapper for node, which depends on the C sources for libtidy (unless a precompiled binary is available for a given platform). I've been asked to add pre-commit support in https://github.com/gagern/node-libtidy/issues/17 but testing that failed because the source tree was lacking its submodules.
2017-08-07 03:52:06 +01:00
Anthony Sottile
677a4f607b v0.16.1 v0.16.1 2017-08-04 10:11:36 -07:00
Anthony Sottile
f909deb037 Merge pull request #578 from Lucas-C/master
NodeJS hooks compatibilty fix for Cygwin - fix #455
2017-08-04 12:01:17 -04:00
Anthony Sottile
5f3e162646 Appease flake8 2017-08-04 08:31:06 -07:00
Cimon Lucas (LCM)
b22ee6b191 NodeJS hooks compatibilty fix for Cygwin 2017-08-04 10:48:21 +02:00
Anthony Sottile
a3f7b408ab v0.16.0 v0.16.0 2017-08-01 13:41:54 -07:00
Anthony Sottile
5c6273e0b0 Merge pull request #575 from pre-commit/autocrlf_apply_error
Workaround git apply with autocrlf=true bug
2017-08-01 15:57:55 -04:00
Anthony Sottile
0548b0b521 Workaround git apply with autocrlf=true bug 2017-08-01 11:54:24 -07:00
Anthony Sottile
ce7481f75b Merge pull request #571 from pre-commit/plumbing
Use more git plumbing commands in staged-files-only
2017-08-01 14:25:34 -04:00
Anthony Sottile
ac0e1a6058 Use more git plumbing commands in staged-files-only 2017-07-31 20:51:45 -07:00
Anthony Sottile
972106c2d7 Merge pull request #574 from pre-commit/error_whitespace_errors
Fix patch applying when apply.whitespace=error
2017-07-31 23:50:13 -04:00
Anthony Sottile
d5e2af7de5 Fix patch applying when apply.whitespace=error 2017-07-31 20:21:30 -07:00
Anthony Sottile
ec102a842a Merge pull request #573 from pre-commit/simplify
Simplify crlf tests
2017-07-31 16:48:42 -04:00
Anthony Sottile
5fa021058d Simplify crlf tests 2017-07-31 13:20:01 -07:00
Anthony Sottile
cc3f2978bc Merge pull request #572 from pre-commit/test_more_crlf
Add more tests for staged-files-only with crlf diffs
2017-07-31 14:39:27 -04:00
Anthony Sottile
51ed907b9f Add more tests for staged-files-only with crlf diffs 2017-07-31 11:16:40 -07:00
Anthony Sottile
454e0f213a Merge pull request #569 from Lucas-C/master
Making golang-based hooks compatible with Cygwin
2017-07-29 16:41:05 -04:00
Anthony Sottile
3fbe4f5a6f Appease autopep8 2017-07-29 16:20:45 -04:00
Cimon Lucas (LCM)
9640999fb0 Making golang-based hooks compatible with Cygwin 2017-07-29 11:33:11 +02:00
Anthony Sottile
8f86f8f156 Merge pull request #553 from pre-commit/remove_legacy_hooks_yaml_support
Remove legacy 'hooks.yaml' file support
2017-07-26 05:50:41 -07:00
Anthony Sottile
bbee21c98e v0.15.4 v0.15.4 2017-07-23 21:30:51 -07:00
Anthony Sottile
4ac8a5f6ce Merge pull request #566 from pre-commit/commit_msg
Add support for commit-msg git hook
2017-07-23 21:25:22 -07:00
Anthony Sottile
d0b268c813 Add support for commit-msg git hook 2017-07-23 20:50:25 -07:00
Anthony Sottile
a6a4762f0d Fix resetting of FakeStream 2017-07-23 20:50:25 -07:00
Anthony Sottile
dd182fb42e v0.15.3 v0.15.3 2017-07-20 16:00:14 -07:00
Anthony Sottile
2e23ad43fc Merge pull request #565 from pre-commit/healthcheck
Recover from invalid python virtualenvs
2017-07-20 11:29:55 -07:00
Anthony Sottile
cff98a634d Recover from invalid python virtualenvs 2017-07-20 10:57:09 -07:00
Anthony Sottile
64dd893ab4 Upgrade add-trailing-comma 2017-07-19 11:21:03 -07:00
Anthony Sottile
8bb9532b54 Merge pull request #563 from pre-commit/upgrade_add_trailing_comma_more
Upgrade add-trailing-comma to 0.5.1
2017-07-17 18:58:14 -07:00
Anthony Sottile
3e3932d5a6 Upgrade add-trailing-comma to 0.5.1 2017-07-17 17:39:55 -07:00