| 1 |
repos: |
| 2 |
- repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 |
rev: v6.0.0 |
| 4 |
hooks: |
| 5 |
- id: trailing-whitespace |
| 6 |
- id: end-of-file-fixer |
| 7 |
- id: check-yaml |
| 8 |
- id: debug-statements |
| 9 |
- id: double-quote-string-fixer |
| 10 |
- id: name-tests-test |
| 11 |
- id: requirements-txt-fixer |
| 12 |
- repo: https://github.com/asottile/setup-cfg-fmt |
| 13 |
rev: v3.1.0 |
| 14 |
hooks: |
| 15 |
- id: setup-cfg-fmt |
| 16 |
- repo: https://github.com/asottile/reorder-python-imports |
| 17 |
rev: v3.16.0 |
| 18 |
hooks: |
| 19 |
- id: reorder-python-imports |
| 20 |
args: [--py310-plus, --add-import, 'from __future__ import annotations'] |
| 21 |
- repo: https://github.com/asottile/add-trailing-comma |
| 22 |
rev: v4.0.0 |
| 23 |
hooks: |
| 24 |
- id: add-trailing-comma |
| 25 |
- repo: https://github.com/asottile/pyupgrade |
| 26 |
rev: v3.21.1 |
| 27 |
hooks: |
| 28 |
- id: pyupgrade |
| 29 |
args: [--py310-plus] |
| 30 |
- repo: https://github.com/hhatto/autopep8 |
| 31 |
rev: v2.3.2 |
| 32 |
hooks: |
| 33 |
- id: autopep8 |
| 34 |
- repo: https://github.com/PyCQA/flake8 |
| 35 |
rev: 7.3.0 |
| 36 |
hooks: |
| 37 |
- id: flake8 |