2015-08-24 21:15:08 +02:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2017-08-03 04:55:58 +02:00
|
|
|
sha: 'v0.9.1'
|
2015-08-24 21:15:08 +02:00
|
|
|
hooks:
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-docstring-first
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-yaml
|
2015-10-07 02:50:40 +02:00
|
|
|
- id: check-json
|
2015-08-24 21:15:08 +02:00
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: flake8
|
|
|
|
- id: name-tests-test
|
2016-03-08 02:46:55 +01:00
|
|
|
exclude: 'tests/(integration/testcases\.py|helpers\.py)'
|
2015-08-24 21:15:08 +02:00
|
|
|
- id: requirements-txt-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: git://github.com/asottile/reorder_python_imports
|
2017-08-03 04:55:58 +02:00
|
|
|
sha: v0.3.5
|
2015-08-24 21:15:08 +02:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
2015-09-09 01:44:25 +02:00
|
|
|
language_version: 'python2.7'
|
2015-10-30 21:22:51 +01:00
|
|
|
args:
|
|
|
|
- --add-import
|
|
|
|
- from __future__ import absolute_import
|
|
|
|
- --add-import
|
|
|
|
- from __future__ import unicode_literals
|