mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-08 20:44:18 +00:00
Update pre-commit-config to include new hook.
This commit is contained in:
parent
63b595ec2c
commit
84fbf05803
1 changed files with 16 additions and 10 deletions
|
|
@ -1,20 +1,26 @@
|
||||||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||||
sha: bec87f6c87284ea15dbcf7801810404c8036bab4
|
sha: 63b595ec2c5ac8b1812ce4c1dd9ce9122cedc826
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyflakes
|
|
||||||
files: \.py$
|
|
||||||
- id: debug-statements
|
|
||||||
files: \.py$
|
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
files: \.(py|sh|yaml)$
|
files: \.(py|sh|yaml)$
|
||||||
- id: name-tests-test
|
|
||||||
files: tests/.+\.py$
|
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
files: \.(py|sh|yaml)$
|
files: \.(py|sh|yaml)$
|
||||||
|
- id: check-yaml
|
||||||
|
files: \.(yaml|yml)$
|
||||||
|
- id: debug-statements
|
||||||
|
files: \.py$
|
||||||
|
- id: name-tests-test
|
||||||
|
files: tests/.+\.py$
|
||||||
|
- id: pyflakes
|
||||||
|
files: \.py$
|
||||||
- repo: git@github.com:pre-commit/pre-commit
|
- repo: git@github.com:pre-commit/pre-commit
|
||||||
sha: c62c1a3b513ab9e057e85a5e950bd7c438371076
|
sha: 3cfc49b522dee27cdcce83781cd874c5638ad6c1
|
||||||
hooks:
|
hooks:
|
||||||
- id: validate_manifest
|
|
||||||
files: ^hooks.yaml$
|
|
||||||
- id: validate_config
|
- id: validate_config
|
||||||
files: ^\.pre-commit-config.yaml$
|
files: ^\.pre-commit-config.yaml$
|
||||||
|
exclude: ^$
|
||||||
|
args: []
|
||||||
|
- id: validate_manifest
|
||||||
|
files: ^hooks.yaml$
|
||||||
|
exclude: ^$
|
||||||
|
args: []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue