.pre-commit-config.yaml
raw| 1 | # See https://pre-commit.com for more information |
| 2 | # See https://pre-commit.com/hooks.html for more hooks |
| 3 | repos: |
| 4 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 5 | # Ruff version. |
| 6 | rev: 'v0.9.6' |
| 7 | hooks: |
| 8 | # Run the linter. |
| 9 | - id: ruff |
| 10 | args: [ --fix ] |
| 11 | # Run the formatter. |
| 12 | - id: ruff-format |
| 13 | |
| 14 | - repo: https://github.com/pre-commit/mirrors-mypy |
| 15 | rev: v1.15.0 |
| 16 | hooks: |
| 17 | - id: mypy |