Development¶
Setup¶
Running Tests¶
These commands assume uv is installed. If you set up the environment with pip instead, omit the uv run prefix and run pytest directly.
Unit tests:
Integration tests:
The integration tests require the papycli binary to be present in .venv/bin/. Run uv sync first:
Run all tests at once:
Tools¶
| Tool | Purpose |
|---|---|
pytest |
Test runner |
ruff |
Lint + format |
mypy |
Type checking |
Building the Documentation¶
To build the documentation locally, install mkdocs-material and run:
This starts a local server at http://127.0.0.1:8000/ with live reload.