Skip to content

Contributor tasks

Generated from this repository’s real Taskfile. Run directly with Python 3.12, uv and Task 3.54.0 in the prepared environment. There is no Docker wrapper or published tooling image in this repository.

check

task: check

Check Python with locked Ruff

commands:
 - uv run --locked --no-sync --no-python-downloads ruff check .
 - uv run --locked --no-sync --no-python-downloads ruff format --check .


setup

task: setup

Sync locked dependencies into the project environment

commands:
 - uv sync --locked --no-python-downloads
 - npm ci --ignore-scripts --prefix tools/ajv


test

task: test

Run locked pytest

commands:
 - uv run --locked --no-sync --no-python-downloads python -c "import os; os.makedirs('artifacts', exist_ok=True)"
 - uv run --locked --no-sync --no-python-downloads pytest --junitxml=artifacts/tests.xml


verify

task: verify

Run checks and tests

commands:
 - Task: check
 - Task: test


manual:build

task: manual:build

Build the branded contract manual and generated reference

commands:
 - .venv-docs/bin/python tools/manual/build.py


manual:setup

task: manual:setup

Install hash-locked manual tools in an isolated environment

commands:
 - uv venv --python 3.12 .venv-docs
 - uv pip sync --python .venv-docs/bin/python --require-hashes tools/manual/requirements.lock


manual:verify

task: manual:verify

Check rendered links, source identity, brand, and browser navigation

commands:
 - .venv-docs/bin/python -m pytest tools/manual/tests -q --junitxml=artifacts/manual/tests.xml


package:release

task: package:release

Build and verify Python distributions for the exact RELEASE_TAG and RELEASE_COMMIT

commands:
 - uv sync --locked --no-python-downloads
 - uv run --locked --no-sync --no-python-downloads python tools/package_release.py --out dist
 - uvx --with packaging==26.2 --from twine==7.0.0 twine check --strict dist/*.whl dist/*.tar.gz