This commit is contained in:
Tom Chang 2017-06-13 18:21:24 +08:00
parent 8b2066fb27
commit e4dbcd549b
3 changed files with 14 additions and 29 deletions

View file

@ -1,28 +1,4 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v0.8.0
- repo: https://github.com/tom-aa/pre-commit-hooks
sha: demo
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: autopep8-wrapper
- id: check-docstring-first
- id: check-json
- id: check-added-large-files
- id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: requirements-txt-fixer
- id: flake8
- repo: https://github.com/pre-commit/pre-commit
sha: v0.12.2
hooks:
- id: validate_config
- id: validate_manifest
- repo: https://github.com/asottile/reorder_python_imports
sha: v0.3.1
hooks:
- id: reorder-python-imports
language_version: python2.7
- repo: https://github.com/asottile/pyupgrade
sha: v1.0.0
hooks:
- id: pyupgrade
- id: pep8-check