mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-20 01:24:42 +04:00
Add moar hooks to our pre-commit
This commit is contained in:
parent
bf457349b3
commit
33f5bad484
1 changed files with 10 additions and 1 deletions
|
|
@ -1,11 +1,20 @@
|
||||||
|
|
||||||
-
|
-
|
||||||
repo: git@github.com:pre-commit/pre-commit-hooks
|
repo: git@github.com:pre-commit/pre-commit-hooks
|
||||||
sha: 5e713f8878b7d100c0e059f8cc34be4fc2e8f897
|
sha: 9a4d67d8f70f2d4f63ce0ac32432804744dabfbd
|
||||||
hooks:
|
hooks:
|
||||||
-
|
-
|
||||||
id: pyflakes
|
id: pyflakes
|
||||||
files: '\.py$'
|
files: '\.py$'
|
||||||
|
-
|
||||||
|
id: debug-statements
|
||||||
|
files: '\.py$'
|
||||||
|
-
|
||||||
|
id: trailing-whitespace
|
||||||
|
files: '\.(py|sh)$'
|
||||||
|
-
|
||||||
|
id: name-tests-test
|
||||||
|
files: 'tests/.+\.py$'
|
||||||
|
|
||||||
-
|
-
|
||||||
repo: git@github.com:pre-commit/pre-commit
|
repo: git@github.com:pre-commit/pre-commit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue