1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
exclude: >
(?x)^(
\.eggs|
\.git|
\.mypy_cache|
\.tox|
\.pyre_configuration|
\.venv|
build|
dist|
src/findpython/_vendor/.*\.py|
src/findpython/pep514tools/_registry\.py
)$
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.9.7'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- repo: https://github.com/ambv/black
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
hooks:
- id: mypy
|