2026-04-03 22:36:50 +00:00
|
|
|
repos:
|
|
|
|
|
- repo: local
|
|
|
|
|
hooks:
|
|
|
|
|
- id: ruff-check
|
|
|
|
|
name: ruff check
|
2026-04-15 08:16:15 +00:00
|
|
|
entry: uv run ruff check
|
2026-04-03 22:36:50 +00:00
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
types: [python]
|
|
|
|
|
|
|
|
|
|
- id: ruff-format
|
|
|
|
|
name: ruff format
|
2026-04-15 08:16:15 +00:00
|
|
|
entry: uv run ruff format --check
|
2026-04-03 22:36:50 +00:00
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
types: [python]
|
|
|
|
|
|
|
|
|
|
- id: interrogate
|
|
|
|
|
name: interrogate
|
|
|
|
|
entry: uv run interrogate packages/codeflash-core/src/ packages/codeflash-python/src/
|
|
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
types: [python]
|
|
|
|
|
|
|
|
|
|
- id: mypy
|
|
|
|
|
name: mypy
|
|
|
|
|
entry: uv run mypy packages/codeflash-core/src/ packages/codeflash-python/src/
|
|
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
types: [python]
|
|
|
|
|
|
|
|
|
|
- id: pytest
|
|
|
|
|
name: pytest
|
|
|
|
|
entry: uv run pytest packages/ -v
|
|
|
|
|
language: system
|
|
|
|
|
pass_filenames: false
|
|
|
|
|
types: [python]
|
|
|
|
|
stages: [pre-push]
|