mirror of
https://github.com/codeflash-ai/codeflash-agent.git
synced 2026-05-04 18:25:19 +00:00
38 lines
1,002 B
YAML
38 lines
1,002 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff-check
|
|
name: ruff check
|
|
entry: uv run ruff check packages/
|
|
language: system
|
|
pass_filenames: false
|
|
types: [python]
|
|
|
|
- id: ruff-format
|
|
name: ruff format
|
|
entry: uv run ruff format --check packages/
|
|
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]
|