Files
renderers/.pre-commit-config.yaml
T
hallerite 7593d6da2e chore: add pre-commit config
Mirror verifiers' local-hook pattern: ruff check/format on commit, ty
check on push (matches CI). Add ``pre-commit`` to the dev dep group
so ``uv sync`` installs it.
2026-05-05 12:43:24 +00:00

22 lines
552 B
YAML

default_install_hook_types: [pre-commit, pre-push]
repos:
- repo: local
hooks:
- id: ruff-check
name: ruff check
entry: uv run ruff check --fix
language: system
types_or: [python, pyi]
- id: ruff-format
name: ruff format
entry: uv run ruff format
language: system
types_or: [python, pyi]
- id: ty
name: ty (ci parity)
entry: uv run --python 3.13 ty check renderers
language: system
pass_filenames: false
stages: [pre-push]