2018-05-28 21:18:54 +03:00
|
|
|
repos:
|
2018-05-22 20:56:58 +03:00
|
|
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
2018-05-28 21:18:54 +03:00
|
|
|
rev: v1.2.3
|
2018-05-22 20:56:58 +03:00
|
|
|
hooks:
|
|
|
|
- id: autopep8-wrapper
|
|
|
|
args:
|
|
|
|
- -i
|
|
|
|
- --ignore=E128,E309,E501
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
- id: debug-statements
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
exclude: ^docs/.*$
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
2018-05-28 21:18:54 +03:00
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
|
|
|
rev: v1.0.0
|
|
|
|
hooks:
|
|
|
|
- id: seed-isort-config
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
|
|
rev: v4.3.4
|
|
|
|
hooks:
|
|
|
|
- id: isort
|