Thanks for contributing to pdfrest.
- Install project tooling:
uv sync --group dev- (Recommended) install git hooks:
uv run pre-commit install- Verify package import/version:
uv run python -c "import pdfrest; print(pdfrest.__version__)"Run these before opening a PR:
uv run ruff format .
uv run ruff check .
uv run basedpyrightQuick local run:
uv run pytest -n auto --maxschedchunk 2Full interpreter matrix with coverage artifacts (coverage/py<version>/):
uvx nox -s testsClass/function coverage gate for client classes:
uvx nox -s class-coverageTo reuse existing coverage JSON without rerunning tests:
uvx nox -s class-coverage -- --no-testsRun all examples:
uvx nox -s examplesRun one example:
uv run nox -s run-example -- examples/delete/delete_example.pyuv run mkdocs serve
uv run mkdocs build --strict