openfatture

OpenFatture contributor guide

OpenFatture is a Python 3.12+ CLI-first application for Italian electronic invoicing. The public interface is intentionally agentic and small:

Domain operations belong in the application and domain layers. Do not add another public command for a workflow that the assistant can express through existing tools.

Local workflow

uv sync --all-extras
uv run openfatture --help
uv run python -m pytest -q
uv run ruff check .
uv run ruff format --check .
uv run mypy openfatture/

Use uv run python -m pytest, not an unrelated global pytest executable.

Design rules

Documentation

The canonical user-facing references are:

Historical material belongs under docs/history/ and must not be presented as current CLI behavior.