Skip to content

Development

Setup

uv sync --dev

Common Commands

uv run pytest                              # run tests
uv run pytest --cov                        # run tests with coverage
uv run ruff check fields_metadata tests    # lint
uv run ruff format fields_metadata tests   # format
uv run mypy fields_metadata                # type-check
tox                                        # run all checks across Python versions

Documentation

pip install -r docs/requirements.txt
mkdocs serve      # live preview at http://127.0.0.1:8000
mkdocs build      # static build in site/