Developer Guide¶
This guide covers everything needed to contribute to the Heterodyne package: environment setup, testing, code standards, and architecture.
Quick Reference¶
make dev # Install in development mode (uv sync)
make test # Run unit tests
make test-all # Run the full test suite (unit + integration + slow)
make quality # Lint (Ruff) + type-check (MyPy)
make docs # Build Sphinx documentation
Tool Chain¶
Tool |
Command |
Purpose |
|---|---|---|
uv |
|
Package manager and lockfile management. |
Ruff |
|
Linting and import sorting. |
MyPy |
|
Static type checking with strict hints at API boundaries. |
pytest |
|
Test runner with marker-based selection. |
Sphinx |
|
Documentation build (Furo theme, MyST for Markdown). |