mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Refactored how entry points work.
This commit is contained in:
parent
5db7f2d807
commit
45741545dc
8 changed files with 71 additions and 42 deletions
|
|
@ -1,28 +1,20 @@
|
|||
|
||||
-
|
||||
repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: 12794c1c19c001e3d05bcfe316b4f93b414035a7
|
||||
hooks:
|
||||
-
|
||||
id: pyflakes
|
||||
- id: pyflakes
|
||||
files: '\.py$'
|
||||
-
|
||||
id: debug-statements
|
||||
- id: debug-statements
|
||||
files: '\.py$'
|
||||
-
|
||||
id: trailing-whitespace
|
||||
- id: trailing-whitespace
|
||||
files: '\.(py|sh|yaml)'
|
||||
-
|
||||
id: name-tests-test
|
||||
- id: name-tests-test
|
||||
files: 'tests/.*\.py'
|
||||
|
||||
-
|
||||
repo: git@github.com:pre-commit/pre-commit
|
||||
- repo: git@github.com:pre-commit/pre-commit
|
||||
sha: c77d65d9cbbcf30e2be005f5ba8b63447deedc1e
|
||||
hooks:
|
||||
-
|
||||
id: validate_manifest
|
||||
- id: validate_manifest
|
||||
files: /manifest.yaml
|
||||
-
|
||||
id: validate_config
|
||||
- id: validate_config
|
||||
files: /\.pre-commit-config.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue