Debian Codegraph @

.pre-commit-config.yaml

raw
1 repos:
2 - repo: https://github.com/abravalheri/validate-pyproject
3 rev: '0.26'
4 hooks:
5 - id: validate-pyproject
6
7 - repo: https://github.com/PyCQA/isort
8 rev: 9.0.1
9 hooks:
10 - id: isort
11 language_version: python
12
13 - repo: https://github.com/astral-sh/ruff-pre-commit
14 rev: v0.16.8
15 hooks:
16 - id: ruff
17 args: ["--fix"]
18 - id: ruff-format
19
20 - repo: https://github.com/pre-commit/mirrors-mypy
21 rev: v2.3.1
22 hooks:
23 - id: mypy
24 language_version: python
25 # No reason to run if only tests have changed. They intentionally break typing.
26 exclude: tests/.*
27 additional_dependencies:
28 - pydantic~=2.0