uv sync --group dev
uv run pystrip . --check
Run all checks before opening a pull request:
uv run ruff check .
uv run ruff format --check .
uv run ty check src/pystrip
uv run python -m pytest --cov=pystrip --cov-report=term-missing
CI runs the same checks on Python 3.11, 3.12, and 3.13, and enforces a test coverage floor of 80%.
Install the contributor hooks (ruff and basic hygiene) once:
uv run pre-commit install
Run them against the whole tree on demand:
uv run pre-commit run --all-files
The docs site is built with MkDocs Material.
uv sync --group docs
uv run mkdocs serve # live preview at http://127.0.0.1:8000
uv run mkdocs build --strict # production build; fails on warnings
Pushing to main deploys the site to GitHub Pages via the docs workflow.
The version is derived from the git tag by hatch-vcs; there is no version to
bump in pyproject.toml.
CHANGELOG.md.git tag vX.Y.Z && git push origin vX.Y.Z.publish workflow, which builds and uploads to PyPI via trusted publishing.main.