2019-08-25 00:27:31 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2019-09-06 22:47:26 +02:00
|
|
|
rev: v2.3.0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
|
|
|
|
- repo: https://github.com/ambv/black
|
2019-09-06 22:47:26 +02:00
|
|
|
rev: 19.3b0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language_version: python3
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2019-08-30 17:10:57 +02:00
|
|
|
rev: v2.3.0
|
2019-08-25 00:27:31 +02:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2019-08-25 00:33:51 +02:00
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
2019-08-30 17:10:57 +02:00
|
|
|
rev: v1.23.0
|
2019-08-25 00:33:51 +02:00
|
|
|
hooks:
|
|
|
|
- id: pyupgrade
|
|
|
|
args: [--py3-plus]
|
2019-08-25 00:40:39 +02:00
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2019-08-30 17:10:57 +02:00
|
|
|
rev: v1.6.1
|
2019-08-25 00:40:39 +02:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|