IRIS YANG | 3121357 | 2020-08-18 13:17:02 +0000 | [diff] [blame] | 1 | repos: |
| 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 |