mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-31 10:36:54 +00:00
Update pre-commit config for new version.
This commit is contained in:
parent
7c003425b3
commit
2519d3a655
1 changed files with 2 additions and 12 deletions
|
|
@ -1,24 +1,14 @@
|
|||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: 59f23b7c556ce1cf66eb6dc574e10d2b4274be4b
|
||||
sha: 7c003425b35fff516c0ee88f4040c8c208d474bd
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
files: \.(js|rb|md|py|sh|txt|yaml|yml)$
|
||||
- id: end-of-file-fixer
|
||||
files: \.(js|rb|md|py|sh|txt|yaml|yml)$
|
||||
- id: check-yaml
|
||||
files: \.(yaml|yml)$
|
||||
- id: debug-statements
|
||||
files: \.py$
|
||||
- id: name-tests-test
|
||||
files: tests/.+\.py$
|
||||
- id: flake8
|
||||
files: \.py$
|
||||
args:
|
||||
- --max-line-length=131
|
||||
- repo: git@github.com:pre-commit/pre-commit
|
||||
sha: c7cfed699245191e6b0d43d3890fd582157e3919
|
||||
sha: 96174deac671b451ee2a3fbdc647ad9606415e15
|
||||
hooks:
|
||||
- id: validate_config
|
||||
files: ^\.pre-commit-config.yaml$
|
||||
- id: validate_manifest
|
||||
files: ^hooks.yaml$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue