mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Make hooks specify files. Optionally allow config to override manifest.
This commit is contained in:
parent
0ec9020346
commit
96174deac6
25 changed files with 81 additions and 50 deletions
|
|
@ -2,8 +2,5 @@
|
|||
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