new: import-linter module boundaries (#74)

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>
This commit is contained in:
BobbyandClaude Opus 5.5 committed 2026-11-27 17:01:01 -05:00
1 parent 12b634b7e0
commit a01c785842
13 files changed
+136 -4

No files matched your search

+2 -1
View File
@@ -10,8 +10,9 @@ dev:
test *args:
uv run pytest {{args}}
# Ruff (lint + format check) and pyright strict.
# 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