Domain packages (finance, fitness, maintenance, smart_home) and `bots/`, with contracts: composition root above domains above platform; each domain reachable from others only through its `service` module; `bots/` forbidden from importing `hapi`. `just lint` runs import-linter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
362 B
Makefile
19 lines
362 B
Makefile
# List recipes.
|
|
default:
|
|
@just --list
|
|
|
|
# Run hAPI locally: the API on :8000 and probes on :8081.
|
|
dev:
|
|
uv run hapi serve
|
|
|
|
# Run the test suite.
|
|
test *args:
|
|
uv run pytest {{args}}
|
|
|
|
# Ruff (lint + format check), pyright strict, and import-linter.
|
|
lint:
|
|
uv run ruff check .
|
|
uv run ruff format --check .
|
|
uv run pyright
|
|
uv run lint-imports
|