Anthony Sottile
0dda19f691
Reorganize output writing
2016-11-26 12:15:55 -08:00
Anthony Sottile
b81c9802ae
Remove py26 format literals
...
Resolves #403
2016-09-15 08:41:58 -07:00
Laurent Sigal
a72ca3d68e
Less blocking logic
2015-12-22 19:06:31 +00: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
ce307a16e0
Add an option to require a specific pre-commit version
2015-12-06 20:54:07 -08: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
67ad0d2d8e
Remove expected_return_value. Resolves #232
2015-11-12 13:50:29 -08:00
Barry Steyn
dd73ffd02f
Filtering of hooks for commit or push stages
2015-10-05 07:17:20 -07:00
Chris Kuehl
01fd58c675
Fix import ordering in clientlib/validate_base
2015-07-29 00:41:56 -04:00
Chris Kuehl
719d19699f
Add --version option to validator binaries
2015-07-25 22:47:46 -07: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
596e31fdee
Update some pre-commit hooks + some minor tweaks
2015-01-04 15:58:39 -08:00
Anthony Sottile
5d9ba14841
Restore 79 character lines.
2014-10-01 17:18:44 -07:00
Buck Golemon
cdf0dae90d
fix error clobbering
2014-10-01 14:38:05 -07: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
4f2f1731ea
Add language_version to the manifest loader.
2014-06-02 06:50:57 -07:00
Anthony Sottile
914a74f80b
Make language check more strict.
2014-06-02 06:47:59 -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
c418f2b94e
Implement no-dependency system and script hook types. Closes #39 .
2014-03-30 15:15:13 -07:00
Anthony Sottile
d8f8f5e1f4
Extend validate_base to take a load_strategy
2014-03-23 20:22:51 -07:00
Anthony Sottile
88686d298f
Add Runner interface.
2014-03-23 16:22:24 -07:00
Anthony Sottile
dc1494d0e7
Added fix end of file hook.
2014-03-22 21:49:10 -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
Anthony Sottile
5ca8f4ffa8
Repository now parses languages and manifests
2014-03-13 20:33:42 -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
Anthony Sottile
e5f4c61608
Remove unnecessary object level at top of manifest
2014-03-13 16:03:15 -07:00
Anthony Sottile
af7e23aae5
Add manifest file.
2014-03-13 15:52:38 -07:00
Anthony Sottile
28857c9a74
Consolidated file validation
2014-03-13 15:47:02 -07:00
Anthony Sottile
9fa237fbe0
Write test for auto-validating manifest at root of repo
2014-03-13 14:45:08 -07:00
Anthony Sottile
18976b501d
Fix entry_points
2014-03-13 13:59:45 -07:00
Anthony Sottile
3945f84e3f
Started implementing manifest validating
2014-03-13 12:36:25 -07:00