Development¶
Python 3.10+ and uv.
Tests¶
Tests under tests/db need PostgreSQL. Set AUDIT_TEST_DATABASE_URL, or have Docker running and a throwaway container is started with testcontainers (AUDIT_TEST_PG_IMAGE picks the image, default postgres:18).
Lint and types¶
Docs¶
CI runs mkdocs build --strict. API pages are generated from Google-style docstrings; edit the docstrings, not the generated HTML.