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

23 lines
691 B
YAML
Raw Normal View History

2014-03-15 05:23:08 +08:00
2014-03-23 09:21:54 +08:00
- repo: git@github.com:pre-commit/pre-commit-hooks
2014-03-23 12:46:48 +08:00
sha: 76739902911688e8d7b13241409f9facc0e534e4
2014-03-15 05:23:08 +08:00
hooks:
2014-03-23 09:21:54 +08:00
- id: pyflakes
2014-03-15 05:23:08 +08:00
files: '\.py$'
2014-03-23 09:21:54 +08:00
- id: debug-statements
2014-03-15 06:18:29 +08:00
files: '\.py$'
2014-03-23 09:21:54 +08:00
- id: trailing-whitespace
2014-03-23 12:46:48 +08:00
files: '\.(py|sh|yaml)$'
2014-03-23 09:21:54 +08:00
- id: name-tests-test
2014-03-15 06:48:57 +08:00
files: 'tests/.*\.py'
2014-03-23 12:46:48 +08:00
- id: end-of-file-fixer
files: '\.(py|sh|yaml)$'
2014-03-15 05:23:08 +08:00
2014-03-23 09:21:54 +08:00
- repo: git@github.com:pre-commit/pre-commit
2014-03-15 05:23:08 +08:00
sha: c77d65d9cbbcf30e2be005f5ba8b63447deedc1e
hooks:
2014-03-23 09:21:54 +08:00
- id: validate_manifest
2014-03-15 05:23:08 +08:00
files: /manifest.yaml
2014-03-23 09:21:54 +08:00
- id: validate_config
2014-03-15 05:23:08 +08:00
files: /\.pre-commit-config.yaml