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