Files
AegisGitea-MCP/.pre-commit-config.yaml
T

26 lines
691 B
YAML

# Hooks mirror `make lint`. Install with: uv run pre-commit install (add pre-commit
# yourself, it is not a project dependency) or run the same commands via `make lint`.
repos:
- repo: local
hooks:
- id: ruff-check
name: ruff check
entry: uv run ruff check
language: system
types: [python]
pass_filenames: false
- id: ruff-format
name: ruff format --check
entry: uv run ruff format --check
language: system
types: [python]
pass_filenames: false
- id: mypy
name: mypy
entry: uv run mypy src
language: system
types: [python]
pass_filenames: false