Files
zangramru/.pre-commit-config.yaml
2026-07-01 01:07:25 +02:00

32 lines
836 B
YAML

---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: ruff-format
name: Format with Ruff
entry: uv run ruff format
language: system
pass_filenames: false
always_run: true
- id: ruff
name: Check with Ruff
entry: uv run ruff
language: system
pass_filenames: false
always_run: true
args: ["check", "zangramru", "tests", "--fix"]
- id: mypy
name: Validate types with MyPy
entry: uv run mypy
language: system
types: [python]
pass_filenames: false
args:
- "zangramru"
- "tests"