infra!: made app runner-agnostic (poetry/uv) and optimized build process

This commit is contained in:
2025-12-21 05:27:13 +01:00
parent 365f110f9c
commit ffd2678c91
4 changed files with 46 additions and 41 deletions

View File

@@ -18,18 +18,18 @@ repos:
hooks:
- id: ruff-check
name: Ruff Linter
entry: bash -c 'cd brain && poetry run ruff check --fix'
entry: bash -c 'make lint'
language: system
types: [python]
- id: ruff-format
name: Ruff Formatter
entry: bash -c 'cd brain && poetry run ruff format'
entry: bash -c 'make format'
language: system
types: [python]
- id: system-pytest
name: Pytest
entry: bash -c 'cd brain && poetry run pytest -n auto --dist=loadscope'
entry: bash -c 'make test'
language: system
always_run: true