Commit Graph

939 Commits

Author SHA1 Message Date
Lucas Cimon
e465129bd4 NodeJS hooks compatibilty fix for Cygwin - take 2 2017-09-06 17:16:58 +02:00
Anthony Sottile
c86fa144e2 Merge pull request #611 from pre-commit/no_unshallow
Remove --unshallow fetch from travis-ci config
2017-09-05 18:07:33 -07:00
Anthony Sottile
68ce070b65 Remove --unshallow fetch from travis-ci config 2017-09-05 17:13:14 -07:00
Anthony Sottile
3e507bf8bd Merge pull request #608 from pre-commit/nix_runner_cmd_runner
Remove Runner.cmd_runner and Store.cmd_runner
2017-09-05 15:11:11 -07:00
Anthony Sottile
6141c419ee Remove Runner.cmd_runner and Store.cmd_runner 2017-09-05 14:49:31 -07:00
Anthony Sottile
95c3afacda Config loading uses ordered_load by default 2017-09-05 14:07:27 -07:00
Anthony Sottile
bfa23f1f4f Merge pull request #606 from pre-commit/minor-hook-tmpl-fixups
Fix error message during pre-push / commit-msg
2017-09-05 10:22:43 -07:00
Anthony Sottile
98ca85eef5 Merge pull request #604 from coldnight/master
Fix specify config file not work while installing
2017-09-05 10:12:48 -07:00
Anthony Sottile
7c59607d35 Fix error message during pre-push / commit-msg 2017-09-05 09:33:51 -07:00
Anthony Sottile
95f356d64e Also add run to the other invocations 2017-09-05 09:29:18 -07:00
Anthony Sottile
eb7c9f44b4 Add test for custom config installation 2017-09-05 09:27:00 -07:00
Anthony Sottile
50564480fb v0.18.2 v0.18.2 2017-09-05 08:40:13 -07:00
Anthony Sottile
e8a209f5eb Merge pull request #605 from pre-commit/non_ascii_filenames
Handle non-ascii filenames from git
2017-09-05 08:38:46 -07:00
Anthony Sottile
0815108242 Handle non-ascii filenames from git 2017-09-05 08:10:16 -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