Anthony Sottile
|
5c90c1a68f
|
Rewrite the hook template in python
|
2018-02-03 22:51:00 -08:00 |
|
Bastien Gérard
|
b319d6f80c
|
Add a hook option that allows stdout to be printed when exit code is 0 (#695)
|
2018-02-01 12:21:19 +01:00 |
|
Anthony Sottile
|
49dc689bf0
|
Fix legacy commit-msg hooks
|
2018-01-29 21:47:35 -08:00 |
|
Anthony Sottile
|
4a6fdd4abe
|
Add test for pushing to unrelated upstream
|
2018-01-24 09:21:44 -08:00 |
|
Anthony Sottile
|
0f54fedac9
|
Replace deprecated yield_fixture with fixture
Committed via https://github.com/asottile/all-repos
|
2018-01-21 15:31:17 -08:00 |
|
Anthony Sottile
|
5a4dc0ce30
|
https-ify links
- A lot of http links loaded fine on https
- pre-commit.com is now loadable on https via cloudflare
|
2018-01-13 18:17:54 -08:00 |
|
Anthony Sottile
|
d5dcebf671
|
Deprecate the pcre language
|
2018-01-13 17:28:19 -08:00 |
|
Anthony Sottile
|
8fb644e7c0
|
Simplify prefix a bit
|
2018-01-13 16:08:18 -08:00 |
|
Anthony Sottile
|
6e46d6ae75
|
Support node on windows with long path hack
|
2018-01-12 22:31:43 -08:00 |
|
Anthony Sottile
|
b4541d8a5f
|
Update the versioned node hook test
|
2018-01-11 22:20:21 -08:00 |
|
Anthony Sottile
|
7d87da8acd
|
Move PrefixedCommandRunner -> Prefix
|
2018-01-11 21:41:48 -08:00 |
|
Anthony Sottile
|
4d6efe1943
|
Merge pull request #680 from pre-commit/local_golang_repos
Fix broken local golang repos
|
2018-01-09 10:23:37 -08:00 |
|
Anthony Sottile
|
40690064f7
|
Fix broken local golang repos
|
2018-01-09 09:42:44 -08:00 |
|
Anthony Sottile
|
2255d8484e
|
Update message for unstaged config in test
|
2018-01-09 08:15:27 -08:00 |
|
Anthony Sottile
|
a506a1cac1
|
Simplify cross version tests
|
2018-01-02 18:34:00 -08:00 |
|
Kevin Hock
|
ab47d08a38
|
Make regression test that ensures autoupdate foo keeps everything else
|
2017-11-08 18:04:34 -08:00 |
|
Anthony Sottile
|
fccb4e6935
|
Minor fixes
|
2017-11-06 18:14:59 -08:00 |
|
Kevin Hock
|
70e7d9c5c4
|
Keep original test as is, for real
|
2017-11-06 18:05:13 -08:00 |
|
Kevin Hock
|
e5b8cb0f70
|
Keep original test as is
|
2017-11-06 18:05:03 -08:00 |
|
Kevin Hock
|
4d0c400066
|
Add repo option to autoupdate
|
2017-11-06 17:19:06 -08:00 |
|
Anthony Sottile
|
ae5b74ad38
|
always_run hooks always apply to the repository
|
2017-11-03 09:30:03 -07:00 |
|
Anthony Sottile
|
e99813f117
|
Rename check-files-matches-any to check-hooks-apply
|
2017-11-03 09:18:58 -07:00 |
|
Anthony Sottile
|
56fca92a42
|
Remove slowtests=false setting
It wasn't actually working because of tox, I also don't use this.
|
2017-11-02 15:48:43 -07:00 |
|
Anthony Sottile
|
5a8ca2ffbe
|
Some minor fixups
|
2017-10-30 09:12:48 -07:00 |
|
Paul Hooijenga
|
9db827ef9d
|
Refactor meta hooks
|
2017-10-28 13:59:11 +02:00 |
|
Paul Hooijenga
|
a0a8fc15ff
|
Make Not and NotIn namedtuples
|
2017-10-27 13:30:36 +02:00 |
|
Anthony Sottile
|
bc9344bb40
|
Merge branch 'master' into meta-hooks
|
2017-10-26 23:40:14 -05:00 |
|
Anthony Sottile
|
84b1ba520d
|
Remove Manifest, no longer a useful abstraction
|
2017-10-26 16:17:52 -07:00 |
|
Anthony Sottile
|
6a0fe9889b
|
Apply interpreter version defaulting to local hooks too
|
2017-10-26 15:02:52 -07:00 |
|
Paul Hooijenga
|
8a0dd01c7e
|
Implement check-files-matches-any meta hook
|
2017-10-25 10:09:44 +02:00 |
|
Paul Hooijenga
|
8df11ee7aa
|
Implement check-useless-excludes meta hook
|
2017-10-25 10:09:43 +02:00 |
|
Paul Hooijenga
|
88c676a7c1
|
Add support for meta hooks
|
2017-10-22 16:40:19 +02:00 |
|
Anthony Sottile
|
2c88791a7f
|
Add pre-commit try-repo
`try-repo` is useful for:
- Trying out a remote hook repository without needing to configure it.
- Testing a hook repository while developing it.
|
2017-10-07 18:03:52 -07:00 |
|
Anthony Sottile
|
18c9e061d8
|
Small cleanups
|
2017-09-30 15:53:44 -07:00 |
|
Anthony Sottile
|
e9509306d8
|
Implement pygrep language as a replacement for pcre
|
2017-09-22 22:31:30 -07:00 |
|
Anthony Sottile
|
989bcfe9ca
|
Use file:// protocol for cloning under test
|
2017-09-22 10:38:19 -07:00 |
|
Anthony Sottile
|
873dd173ce
|
Use pipes.quote for executable path
|
2017-09-21 15:16:48 -07:00 |
|
Anthony Sottile
|
bcf6321bd4
|
Do not crash in staged_files_only if patch_dir does not exist
|
2017-09-17 15:22:48 -07:00 |
|
Anthony Sottile
|
ecdc22ce80
|
Implement global exclude
|
2017-09-10 15:09:44 -07:00 |
|
Anthony Sottile
|
6af60158ec
|
Refactor filename collection for hooks
|
2017-09-09 22:07:27 -07:00 |
|
Anthony Sottile
|
a821172d9d
|
Remove defaults before checking whether the intelligent rewrite was successful
|
2017-09-08 14:28:23 -07:00 |
|
Anthony Sottile
|
72e3989350
|
Revert "Remove remove_defaults -- it wasn't doing anything"
This reverts commit ee392275f3.
|
2017-09-08 14:22:36 -07:00 |
|
Anthony Sottile
|
898a3ea1bb
|
Implement fail_fast.
|
2017-09-08 13:19:00 -07:00 |
|
Anthony Sottile
|
a78f5d5c24
|
pre-commit migrate-config should not return nonzero when successful
|
2017-09-07 09:23:36 -07:00 |
|
Anthony Sottile
|
9ff6818270
|
Merge pull request #602 from pre-commit/xdg_cache_dir
Adhere to XDG specification for cache dir.
|
2017-09-07 08:19:45 -07:00 |
|
Anthony Sottile
|
8f5675d813
|
Implement pre-commit migrate-config
|
2017-09-06 10:07:55 -07:00 |
|
Anthony Sottile
|
3e76cdaf25
|
Enable map configurations (config v2).
|
2017-09-06 10:01:08 -07:00 |
|
Anthony Sottile
|
0120af56a7
|
Adhere to XDG specification for cache dir.
|
2017-09-06 10:00:35 -07:00 |
|
Anthony Sottile
|
68ce070b65
|
Remove --unshallow fetch from travis-ci config
|
2017-09-05 17:13:14 -07:00 |
|
Anthony Sottile
|
6141c419ee
|
Remove Runner.cmd_runner and Store.cmd_runner
|
2017-09-05 14:49:31 -07:00 |
|