mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
- 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
15 lines
353 B
YAML
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
|