Commit Graph

24 Commits

Author SHA1 Message Date
Anthony Sottile
b81c9802ae Remove py26 format literals
Resolves #403
2016-09-15 08:41:58 -07:00
Laurent Sigal
5a08204b8d Allow to simply run a script once - no matter what the changes are 2015-12-22 18:12:08 +00:00
Anthony Sottile
de2ead13a1 Minor fixups 2015-11-23 12:19:02 -08:00
Tobias Macey
0980887f57 Added new parameter to config schema 2015-11-20 20:24:01 -05:00
Anthony Sottile
039a7a5878 Remove defaults from pre-commit config schema. Resolves #227 2015-05-18 13:59:42 -07:00
Lucas Cimon
b68261c720 Adding support for locally-defined hooks 2015-05-10 23:57:34 +02:00
LCM
7dd8c6ab4a Preparatory work & clean-up for #219
clientlib/validate_config.py: moving "sha" field requirement out of JSON schema
commands/run.py: code simplification
runner.py: made .config a cached_property
2015-05-07 22:02:40 +02:00
Anthony Sottile
26502dfd0b Default arguments from hooks.yaml 2015-01-12 09:35:05 -08:00
Anthony Sottile
32817f3958 Remove @entry 2014-08-13 11:02:40 -07:00
Anthony Sottile
85a76617c1 Refactor fixtures in tests. 2014-06-15 18:49:45 -07:00
Anthony Sottile
09650b814a Allow language_version to be overridden in config. 2014-06-07 13:27:45 -07:00
Anthony Sottile
bf912cfebb Add checking for manifest files regex. 2014-06-06 06:53:00 -07:00
Anthony Sottile
96174deac6 Make hooks specify files. Optionally allow config to override manifest. 2014-06-05 18:39:34 -07:00
Anthony Sottile
1746a97e24 Better project structure 2014-04-12 15:56:18 -07:00
Anthony Sottile
9a1799b9a8 DRY up validate_* 2014-04-03 20:51:37 -07:00
Anthony Sottile
ac67af21ec Apply defaults to all of the configs. Much fewer .get()s 2014-03-31 23:22:13 -07:00
Anthony Sottile
5f4996645c Allow exclude pattern to be parsed. 2014-03-31 21:43:26 -07:00
Anthony Sottile
c878e4d551 Remove defaulting behavior of validate_*. It was complicated and unnecessary 2014-03-31 21:26:06 -07:00
Anthony Sottile
88686d298f Add Runner interface. 2014-03-23 16:22:24 -07:00
Anthony Sottile
40c6bb03de Forgot the sys.exit 2014-03-22 18:20:19 -07:00
Anthony Sottile
04b421978a Make entry points simpler 2014-03-22 18:11:30 -07:00
Anthony Sottile
be8d1b811a Make the config validator more strict for correct regexes 2014-03-22 15:14:43 -07:00
Ken Struys
95d9e29996 added config validation to install tests 2014-03-13 18:53:58 -07:00
Anthony Sottile
2ebba7994d Added config validator and tests for it 2014-03-13 17:34:24 -07:00