mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Add Runner interface.
This commit is contained in:
parent
ae1d1681b2
commit
88686d298f
25 changed files with 282 additions and 148 deletions
22
testing/resources/consumer_repo/.pre-commit-config.yaml
Normal file
22
testing/resources/consumer_repo/.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
- repo: git@github.com:pre-commit/pre-commit-hooks
|
||||
sha: 76739902911688e8d7b13241409f9facc0e534e4
|
||||
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)$'
|
||||
|
||||
- repo: git@github.com:pre-commit/pre-commit
|
||||
sha: 47b7ca44ed1fcaa83464ed00cef72049ae22c33d
|
||||
hooks:
|
||||
- id: validate_manifest
|
||||
files: '^manifest.yaml$'
|
||||
- id: validate_config
|
||||
files: \.pre-commit-config.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue