mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Various cleanup.
This commit is contained in:
parent
bf912cfebb
commit
01b557c497
12 changed files with 85 additions and 37 deletions
|
|
@ -2,23 +2,13 @@
|
|||
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: 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