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
11
tests/data/valid_yaml_but_invalid_config.yaml
Normal file
11
tests/data/valid_yaml_but_invalid_config.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
-
|
||||
repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
hooks:
|
||||
-
|
||||
id: pyflakes
|
||||
-
|
||||
id: jslint
|
||||
-
|
||||
id: trim_trailing_whitespace
|
||||
files: '*.py'
|
||||
Loading…
Add table
Add a link
Reference in a new issue