mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-12 19:39:02 -05:00
Add yaml hook.
This commit is contained in:
+13
-10
@@ -1,20 +1,23 @@
|
||||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: bec87f6c87284ea15dbcf7801810404c8036bab4
|
||||
sha: 84fbf05803f25fea2ad4a9509b3666840bf580b4
|
||||
hooks:
|
||||
- id: pyflakes
|
||||
files: \.py$
|
||||
- id: debug-statements
|
||||
files: \.py$
|
||||
- id: trailing-whitespace
|
||||
files: \.(py|sh|yaml)$
|
||||
- id: name-tests-test
|
||||
files: tests/.+\.py$
|
||||
- id: end-of-file-fixer
|
||||
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
|
||||
sha: c62c1a3b513ab9e057e85a5e950bd7c438371076
|
||||
sha: 3cfc49b522dee27cdcce83781cd874c5638ad6c1
|
||||
hooks:
|
||||
- id: validate_manifest
|
||||
files: ^hooks.yaml$
|
||||
- id: validate_config
|
||||
files: ^\.pre-commit-config.yaml$
|
||||
- id: validate_manifest
|
||||
files: ^hooks.yaml$
|
||||
exclude: ^$
|
||||
|
||||
Reference in New Issue
Block a user