infra!: made app runner-agnostic (poetry/uv) and optimized build process
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user