| 1 | repos: |
| 2 | - repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | rev: v4.2.0 |
| 4 | hooks: |
| 5 | - id: check-yaml |
| 6 | # - id: end-of-file-fixer |
| 7 | # - id: trailing-whitespace |
| 8 | - repo: https://github.com/pre-commit/mirrors-mypy |
| 9 | rev: v1.7.1 |
| 10 | hooks: |
| 11 | - id: mypy |
| 12 | additional_dependencies: ["django-stubs", "pydantic"] |
| 13 | exclude: (tests|docs)/ |
| 14 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 15 | rev: v0.4.2 |
| 16 | hooks: |
| 17 | - id: ruff-format |
| 18 | - id: ruff |
| 19 | args: [--fix, --exit-non-zero-on-fix] |