codeflash/.pre-commit-config.yaml
Kevin Turcios 0061739c03 chore: add mypy to pre-commit config and document setup
- Add mypy as a local pre-commit hook via prek (ruff-check + ruff-format
  + mypy now all run at commit time)
- Add Setup section to CLAUDE.md with uv sync and prek install steps
2026-04-23 04:38:34 -05:00

15 lines
353 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.8
hooks:
- id: ruff-check
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy
entry: uv run mypy --non-interactive --config-file pyproject.toml
language: system
types: [python]
require_serial: true