Anthony Sottile
|
a64fa6d478
|
Replace aspy.yaml with sort_keys=False
|
2020-01-31 17:18:59 -08:00 |
|
Anthony Sottile
|
df40e862f4
|
More miscellaneous cleanup
|
2020-01-13 11:47:34 -08:00 |
|
Anthony Sottile
|
9000e9dd41
|
Some manual .format() -> f-strings
|
2020-01-12 13:39:53 -08:00 |
|
Anthony Sottile
|
327ed924a3
|
Add types to pre-commit
|
2020-01-12 10:15:01 -08:00 |
|
Anthony Sottile
|
30c1e8289f
|
upgrade hooks, pyupgrade pre-commit
|
2020-01-12 09:27:04 -08:00 |
|
Anthony Sottile
|
8a3c740f9e
|
Implement pre-commit autoupdate --freeze
|
2019-12-28 13:07:39 -08:00 |
|
Anthony Sottile
|
6af0e33eed
|
Add top-level files key for inclusion
|
2019-12-23 12:04:05 -08:00 |
|
Anthony Sottile
|
625750eeef
|
fixes for cfgv>=2
|
2019-05-27 13:37:49 -07:00 |
|
Yoav Caspi
|
7a998a091e
|
improve function name
|
2019-05-12 23:29:42 +03:00 |
|
Yoav Caspi
|
ba7760b705
|
Add a test to validate that cfgv.WarnAdditionalKeys working as expected in the relevant config schemas
|
2019-05-12 15:09:15 +03:00 |
|
Yoav Caspi
|
217d31ec1c
|
Add a check and test to the real top level and improve the warning message
|
2019-05-11 22:57:52 +03:00 |
|
Yoav Caspi
|
fd9d9d276b
|
Add warning to additional keys in config
|
2019-05-11 20:59:34 +03:00 |
|
Anthony Sottile
|
c78b6967cd
|
Add top level minimum_pre_commit_version
|
2019-03-21 18:29:17 -07:00 |
|
Anthony Sottile
|
bd65d8947f
|
Implement default_stages
|
2019-01-06 10:32:58 -08:00 |
|
Anthony Sottile
|
d3b5a41830
|
Implement default_language_version
|
2019-01-05 13:15:23 -08:00 |
|
Anthony Sottile
|
fc84567923
|
Default local / meta through cfgv
|
2019-01-05 08:31:03 -08:00 |
|
Anthony Sottile
|
e4cf5f321b
|
just use normal dicts in tests
|
2018-12-31 11:15:22 -08:00 |
|
Pedro Algarvio
|
afbc57f2ad
|
Go back to optional. Requires less changes to existing code.
|
2018-12-27 12:03:27 +00:00 |
|
Pedro Algarvio
|
b096c0b8f2
|
Allow aliasing a hook and calling it by it's alias
|
2018-12-27 12:03:27 +00:00 |
|
Chris Kuehl
|
ba5e27e4ec
|
Implement concurrent execution of individual hooks
|
2018-10-24 16:16:10 -07:00 |
|
Anthony Sottile
|
bf5792eb10
|
Add a manual stage for cli-only interaction
|
2018-03-07 12:41:25 -08:00 |
|
Anthony Sottile
|
5651c66995
|
Migrate sha -> rev
|
2018-02-24 20:19:39 -08:00 |
|
Anthony Sottile
|
bdad930d71
|
Move pre_commit.schema to cfgv library
|
2018-02-18 15:25:53 -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 |
|
Paul Hooijenga
|
a0a8fc15ff
|
Make Not and NotIn namedtuples
|
2017-10-27 13:30:36 +02:00 |
|
Paul Hooijenga
|
88c676a7c1
|
Add support for meta hooks
|
2017-10-22 16:40:19 +02:00 |
|
Anthony Sottile
|
18c9e061d8
|
Small cleanups
|
2017-09-30 15:53:44 -07:00 |
|
Anthony Sottile
|
ecdc22ce80
|
Implement global exclude
|
2017-09-10 15:09:44 -07:00 |
|
Anthony Sottile
|
898a3ea1bb
|
Implement fail_fast.
|
2017-09-08 13:19:00 -07:00 |
|
Anthony Sottile
|
3e76cdaf25
|
Enable map configurations (config v2).
|
2017-09-06 10:01:08 -07:00 |
|
Anthony Sottile
|
05a108efe1
|
Implement exclude_types
|
2017-07-02 19:08:33 -07:00 |
|
Anthony Sottile
|
a68c1ab0d2
|
Add 'types' to the schema
|
2017-07-02 13:20:39 -07: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
|
840a55bbc3
|
Fixup log_file commit
|
2017-05-08 11:04:07 -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
|
ce2f68b40a
|
Fix regression in 0.13.5 with always_run + files
|
2017-03-27 07:39:19 -07:00 |
|
Anthony Sottile
|
cb8dd335f4
|
Replace jsonschema with better error messages
|
2017-03-08 14:07:00 -08:00 |
|