mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 08:34:41 +04:00
Make the config validator more strict for correct regexes
This commit is contained in:
parent
6b1097d3c9
commit
be8d1b811a
3 changed files with 37 additions and 5 deletions
|
|
@ -5,10 +5,10 @@
|
|||
hooks:
|
||||
-
|
||||
id: pyflakes
|
||||
files: '*.py'
|
||||
files: '\.py$'
|
||||
-
|
||||
id: jslint
|
||||
files: '*.js'
|
||||
files: '\.js$'
|
||||
-
|
||||
id: trim_trailing_whitespace
|
||||
files: '*.py'
|
||||
files: '\.py$'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue