Make the config validator more strict for correct regexes

This commit is contained in:
Anthony Sottile 2014-03-22 15:14:43 -07:00
parent 6b1097d3c9
commit be8d1b811a
3 changed files with 37 additions and 5 deletions

View file

@ -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$'