Diego Russo | ea6111a | 2020-04-14 18:41:58 +0100 | [diff] [blame] | 1 | exclude: '^ethosu/vela/(tflite|ethos_u55_regs)/' |
| 2 | repos: |
Diego Russo | e8a1045 | 2020-04-21 17:39:10 +0100 | [diff] [blame^] | 3 | - repo: https://github.com/asottile/reorder_python_imports |
| 4 | rev: v2.2.0 |
| 5 | hooks: |
| 6 | - id: reorder-python-imports |
| 7 | |
Diego Russo | ea6111a | 2020-04-14 18:41:58 +0100 | [diff] [blame] | 8 | - repo: https://github.com/ambv/black |
| 9 | rev: stable |
| 10 | hooks: |
| 11 | - id: black |
| 12 | language_version: python3.6 |
| 13 | args: [--line-length=120] |
| 14 | |
| 15 | - repo: https://gitlab.com/pycqa/flake8 |
| 16 | rev: 3.7.9 |
| 17 | hooks: |
| 18 | - id: flake8 |
| 19 | args: [--max-line-length=120, --extend-ignore=E203] |