Update pre-commit config.

This commit is contained in:
Anthony Sottile 2014-06-05 09:22:30 -07:00
parent c7cfed6992
commit 76728cee53

View file

@ -1,10 +1,10 @@
- repo: git@github.com:pre-commit/pre-commit-hooks - repo: git@github.com:pre-commit/pre-commit-hooks
sha: ca93f6834f2afc8a8f7de46c0e02076419077c7a sha: 59f23b7c556ce1cf66eb6dc574e10d2b4274be4b
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
files: \.(js|py|sh|yaml)$ files: \.(js|rb|md|py|sh|txt|yaml|yml)$
- id: end-of-file-fixer - id: end-of-file-fixer
files: \.(js|py|sh|yaml)$ files: \.(js|rb|md|py|sh|txt|yaml|yml)$
- id: check-yaml - id: check-yaml
files: \.(yaml|yml)$ files: \.(yaml|yml)$
- id: debug-statements - id: debug-statements
@ -13,9 +13,10 @@
files: tests/.+\.py$ files: tests/.+\.py$
- id: flake8 - id: flake8
files: \.py$ files: \.py$
args: [--max-line-length=131] args:
- --max-line-length=131
- repo: git@github.com:pre-commit/pre-commit - repo: git@github.com:pre-commit/pre-commit
sha: 2c7ec7a744908896af3afd140346e690deca7782 sha: c7cfed699245191e6b0d43d3890fd582157e3919
hooks: hooks:
- id: validate_config - id: validate_config
files: ^\.pre-commit-config.yaml$ files: ^\.pre-commit-config.yaml$