Added config validator and tests for it

This commit is contained in:
Anthony Sottile 2014-03-13 17:34:24 -07:00
parent fdf05b0fa9
commit 2ebba7994d
7 changed files with 170 additions and 1 deletions

View file

@ -1,6 +1,7 @@
import functools
import pre_commit.clientlib.validate_config
import pre_commit.clientlib.validate_manifest
import pre_commit.run
@ -20,4 +21,5 @@ def make_entry_point(entry_point_func):
pre_commit_func = make_entry_point(pre_commit.run.run)
validate_manifest_func = make_entry_point(pre_commit.clientlib.validate_manifest.run)
validate_manifest_func = make_entry_point(pre_commit.clientlib.validate_manifest.run)
validate_config_func = make_entry_point(pre_commit.clientlib.validate_config.run)