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-06-05 23:47:07 +03:00
|
|
|
rev: v1.3.0
|
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
|
2018-06-09 08:19:26 +03:00
|
|
|
exclude: README.md
|
2018-05-22 20:56:58 +03:00
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
2018-06-05 23:47:07 +03:00
|
|
|
- id: flake8
|
2018-06-09 16:01:29 +03:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
|
|
rev: v1.2.0
|
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
2018-05-28 21:18:54 +03:00
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
2018-06-09 08:13:45 +03:00
|
|
|
rev: v1.0.1
|
2018-05-28 21:18:54 +03:00
|
|
|
hooks:
|
|
|
|
- id: seed-isort-config
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
|
|
rev: v4.3.4
|
|
|
|
hooks:
|
|
|
|
- id: isort
|