mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Added config validator and tests for it
This commit is contained in:
parent
fdf05b0fa9
commit
2ebba7994d
7 changed files with 170 additions and 1 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue