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
|
2255d8484e
|
Update message for unstaged config in test
|
2018-01-09 08:15:27 -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
|
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
|
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
|
873dd173ce
|
Use pipes.quote for executable path
|
2017-09-21 15:16: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
|
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
|
6141c419ee
|
Remove Runner.cmd_runner and Store.cmd_runner
|
2017-09-05 14:49:31 -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
|
eb7c9f44b4
|
Add test for custom config installation
|
2017-09-05 09:27:00 -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
|
7cb3e00731
|
Only print that the lock is being acquired when waiting
|
2017-09-04 11:53:17 -07:00 |
|
Anthony Sottile
|
625aaf54aa
|
Limit repository creation to one process
|
2017-08-23 20:59:03 -07:00 |
|
Anthony Sottile
|
6793fd8e5d
|
Remove --no-stash and --allow-unstaged-config
|
2017-08-23 11:16:37 -07:00 |
|
Anthony Sottile
|
469498ac9d
|
Upgrade the sample-config output
|
2017-08-10 20:45:29 -07:00 |
|
Anthony Sottile
|
59c6df5e46
|
When possible, preserve config format on autoupdate
|
2017-08-10 18:32:24 -07:00 |
|
Anthony Sottile
|
d0b268c813
|
Add support for commit-msg git hook
|
2017-07-23 20:50:25 -07:00 |
|
Anthony Sottile
|
be3fbdf94e
|
Upgrade add-trailing-comma to 0.4.0
|
2017-07-15 12:32:36 -07:00 |
|
Anthony Sottile
|
0c70fa4229
|
Use asottile/add-trailing-comma
|
2017-07-12 18:30:51 -07:00 |
|
Anthony Sottile
|
a4da7b8c8c
|
Replace calls to touch with open(..., 'a').close()
|
2017-07-08 15:43:36 -07:00 |
|
Anthony Sottile
|
05a108efe1
|
Implement exclude_types
|
2017-07-02 19:08:33 -07:00 |
|
Anthony Sottile
|
a58d99ac40
|
Implement types filtering
|
2017-07-02 18:51:23 -07:00 |
|
André Berti Sassi
|
7259135d19
|
Fix string literal type for Python 3
|
2017-05-13 20:12:16 -03:00 |
|
André Berti Sassi
|
e774c09fac
|
Add pass_filenames hook option
This option controls whether filenames are passed along as arguments to
the hook program.
|
2017-05-13 14:28:17 -03:00 |
|
Anthony Sottile
|
964948b33d
|
Fix non-ascii merge commit messages in python2
|
2017-05-10 12:52:24 -07:00 |
|
Alex Hutton
|
f2644a4f2e
|
Adds support for 'log_file' in hook config
Specify a filename on a per hook basis and
pre-commit will write the STDOUT and STDERR
of that hook into the file. Useful for CI.
Resolves #499.
|
2017-05-08 10:54:04 +10:00 |
|
Anthony Sottile
|
fa06e72f01
|
Add a pre-commit sample-config command
|
2017-03-30 08:45:46 -07:00 |
|
Anthony Sottile
|
cb8dd335f4
|
Replace jsonschema with better error messages
|
2017-03-08 14:07:00 -08:00 |
|
Anthony Sottile
|
05c88738b0
|
Add a --show-diff-on-failure option
|
2017-02-25 10:14:17 -08:00 |
|
Anthony Sottile
|
7a579af884
|
Merge pull request #497 from pre-commit/future_versions
Make hook-tmpl resilient to future changes
|
2017-02-23 16:15:23 -05:00 |
|
Anthony Sottile
|
dbd131f646
|
Minor fixups
|
2017-02-23 13:11:40 -08:00 |
|