Local Workflows¶
This page provides practical local workflows for development and validation.
Setup¶
Install dependencies:
Standard Quality Workflow¶
Run the same core checks used during development:
uv run python -m ruff check .
uv run python -m ruff format --check online_fdr tests
uv run python -m mypy online_fdr
uv run python -m pytest -q
Focused Test Runs¶
Run only the new API contract checks:
Run a single module:
Working with R Parity Tests¶
Parity tests depend on a working R + rpy2 setup and pinned Bioconductor onlineFDR package.
Install parity dependencies:
Run parity tests directly:
uv run python -m pytest -m live_r_parity tests/test_onlinefdr_parity.py tests/test_async_methods.py -q
If parity setup is not available yet, run the standard suite:
Packaging Smoke¶
Build artifacts and verify package metadata locally:
Release Smoke¶
Run the package build, wheel install, and import smoke check used by release CI:
uv run python -m build
uv venv .smoke --python 3.12
uv pip install --python .smoke/bin/python dist/*.whl
.smoke/bin/python -c "import online_fdr; print(online_fdr.__version__)"
Documentation Workflow¶
Serve docs locally:
Build strict docs: