mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-05 15:59:16 -06:00
Make hooks specify files. Optionally allow config to override manifest.
This commit is contained in:
@@ -2,8 +2,5 @@
|
||||
sha: cd74dc150c142c3be70b24eaf0b02cae9d235f37
|
||||
hooks:
|
||||
- id: pyflakes
|
||||
files: '\.py$'
|
||||
- id: jslint
|
||||
files: '\.js$'
|
||||
- id: trim_trailing_whitespace
|
||||
files: '\.py$'
|
||||
|
||||
Reference in New Issue
Block a user