blob: a982b5f0a01d792f5ec443e29f5a909c77db58ee [file] [log] [blame]
IRIS YANG31213572020-08-18 13:17:02 +00001repos:
2 - repo: https://github.com/asottile/pyupgrade
3 rev: v1.26.2
4 hooks:
5 - id: pyupgrade
6 args: ["--py36-plus"]
7 - repo: https://github.com/asottile/reorder_python_imports
8 rev: v1.9.0
9 hooks:
10 - id: reorder-python-imports
11 args: ["--application-directories", "src"]
12 - repo: https://github.com/ambv/black
13 rev: 19.10b0
14 hooks:
15 - id: black
16 - repo: https://gitlab.com/pycqa/flake8
17 rev: 3.7.9
18 hooks:
19 - id: flake8
20 additional_dependencies: [flake8-bugbear]
21 - repo: https://github.com/pre-commit/pre-commit-hooks
22 rev: v2.4.0
23 hooks:
24 - id: check-byte-order-marker
25 - id: trailing-whitespace
26 - id: end-of-file-fixer