Commit Graph

926 Commits

Author SHA1 Message Date
Anthony Sottile
eb7c9f44b4 Add test for custom config installation 2017-09-05 09:27:00 -07:00
wanghui
f9a849abcc Fix specify config file not work while installing
Via `pre-commit install -c .other-config.yaml`
2017-09-05 16:22:54 +08:00
Anthony Sottile
8b14c6c5ae Merge pull request #601 from pre-commit/less_special_system_exit
Use SystemExit instead of PreCommitSystemExit
2017-09-04 14:13:43 -07:00
Anthony Sottile
a9e1940f7e Use SystemExit instead of PreCommitSystemExit 2017-09-04 13:42:19 -07:00
Anthony Sottile
3f7e715c20 v0.18.1 v0.18.1 2017-09-04 12:44:38 -07:00
Anthony Sottile
0e73fb9b6c Merge pull request #600 from pre-commit/print_locking_less
Only print that the lock is being acquired when waiting
2017-09-04 12:43:13 -07:00
Anthony Sottile
7cb3e00731 Only print that the lock is being acquired when waiting 2017-09-04 11:53:17 -07:00
Anthony Sottile
4aa787db19 v0.18.0 v0.18.0 2017-09-02 20:46:19 -07:00
Anthony Sottile
4e54429b6d Merge pull request #598 from pre-commit/docker_image_language
Add new docker_image language type.
2017-09-02 20:44:15 -07:00
Anthony Sottile
9c3bbecab8 Add new docker_image language type.
`docker_image` is intended to be a lightweight hook type similar to system /
script which allows one to use an existing docker image which provides a
hook.
2017-09-02 19:49:23 -07:00
Anthony Sottile
491b90548f v0.17.0 v0.17.0 2017-08-24 20:09:17 -07:00
Anthony Sottile
fefedfa777 Merge pull request #595 from pre-commit/one_extra_newline
Remove extra newline on error() call
2017-08-24 23:15:32 -04:00
Anthony Sottile
eb2ac28f20 Merge pull request #594 from pre-commit/parallel_repository_creation
Limit repository creation to one process
2017-08-24 00:37:50 -04:00
Anthony Sottile
625aaf54aa Limit repository creation to one process 2017-08-23 20:59:03 -07:00
Anthony Sottile
3dade4a0bf Merge pull request #593 from pre-commit/remove_check_config_hook
Remove validate_config hook
2017-08-23 18:34:17 -04:00
Anthony Sottile
bba711f468 Remove extra newline on error() call 2017-08-23 14:20:44 -07:00
Anthony Sottile
9a579b580d Remove extra newline on error() call 2017-08-23 14:20:33 -07:00
Anthony Sottile
dc5a8a8209 Remove validate_config hook 2017-08-23 14:06:48 -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