- Target a current supported CPython (3.12+).
- Dependency & env management with
uv(preferred) or Poetry; pin versions. - Format and lint with
ruff(formatter + linter). Type-check withmypy. - Full type hints on public functions;
from __future__ import annotationswhere helpful. - Project layout:
src/<package>/withpyproject.toml. - Tests with
pytest. - Config via environment variables; use
pydantic-settingsfor typed config.