2018-06-10 17:40:07 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/ambv/black
|
2018-10-04 13:15:28 +00:00
|
|
|
rev: 18.9b0
|
2018-06-10 17:40:07 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2018-11-24 12:17:26 +00:00
|
|
|
language_version: python3.7
|
2018-07-12 10:19:24 +00:00
|
|
|
# override until resolved: https://github.com/ambv/black/issues/402
|
|
|
|
files: \.pyi?$
|
|
|
|
types: []
|
2019-01-31 07:19:26 +00:00
|
|
|
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
2019-02-25 15:09:57 +00:00
|
|
|
rev: 3.7.6
|
2019-01-31 07:19:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
|
|
|
language_version: python3.7
|
|
|
|
|
2018-06-10 17:40:07 +00:00
|
|
|
- repo: https://github.com/asottile/seed-isort-config
|
2019-02-25 15:09:57 +00:00
|
|
|
rev: v1.6.0
|
2018-06-10 17:40:07 +00:00
|
|
|
hooks:
|
|
|
|
- id: seed-isort-config
|
2019-01-31 07:19:26 +00:00
|
|
|
|
2018-11-24 12:17:26 +00:00
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
|
|
rev: v4.3.4
|
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
language_version: python3.7
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2019-01-16 12:24:36 +00:00
|
|
|
rev: v2.1.0
|
2018-11-24 12:17:26 +00:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: debug-statements
|