Run pre-commit during test

This commit is contained in:
Anthony Sottile 2015-12-25 09:37:18 -08:00
parent e306ff3b7d
commit 3a3a7a153a
7 changed files with 20 additions and 21 deletions

View file

@ -1,4 +1,4 @@
- repo: git@github.com:pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: 9ba5af45ce2d29b64c9a348a6fcff5553eea1f2c
hooks:
- id: trailing-whitespace
@ -12,12 +12,13 @@
- id: name-tests-test
- id: requirements-txt-fixer
- id: flake8
- repo: git@github.com:pre-commit/pre-commit
- repo: https://github.com/pre-commit/pre-commit
sha: 8dba3281d5051060755459dcf88e28fc26c27526
hooks:
- id: validate_config
- id: validate_manifest
- repo: git@github.com:asottile/reorder_python_imports
- repo: https://github.com/asottile/reorder_python_imports
sha: 3d86483455ab5bd06cc1069fdd5ac57be5463f10
hooks:
- id: reorder-python-imports
language_version: python2.7