pre-commit-hooks/.pre-commit-config.yaml

21 lines
623 B
YAML
Raw Normal View History

2014-03-23 09:21:54 +08:00
- repo: git@github.com:pre-commit/pre-commit-hooks
2014-03-31 04:22:55 +08:00
sha: bec87f6c87284ea15dbcf7801810404c8036bab4
2014-03-15 05:23:08 +08:00
hooks:
2014-03-24 14:10:35 +08:00
- id: pyflakes
files: \.py$
- id: debug-statements
files: \.py$
- id: trailing-whitespace
files: \.(py|sh|yaml)$
- id: name-tests-test
2014-03-31 04:22:55 +08:00
files: tests/.+\.py$
2014-03-24 14:10:35 +08:00
- id: end-of-file-fixer
files: \.(py|sh|yaml)$
2014-03-23 09:21:54 +08:00
- repo: git@github.com:pre-commit/pre-commit
2014-03-31 04:22:55 +08:00
sha: c62c1a3b513ab9e057e85a5e950bd7c438371076
2014-03-15 05:23:08 +08:00
hooks:
2014-03-24 14:10:35 +08:00
- id: validate_manifest
2014-03-31 04:22:55 +08:00
files: ^hooks.yaml$
2014-03-24 14:10:35 +08:00
- id: validate_config
2014-03-31 04:22:55 +08:00
files: ^\.pre-commit-config.yaml$