Contributing
Contributions should preserve the package’s focused scope: MAD-based QC over existing observation-level metrics. The package accepts AnnData and pandas objects and follows useful Scanpy conventions; it is not an officially listed scverse package.
From a checkout, install the development, Scanpy integration-test, and plotting extras:
python -m pip install -e ".[dev,test-scanpy,plot]"
pytest -q
ruff check .
ruff format --check .
The mdBook site is generated from Markdown under docs/src. API pages are generated from public exports and NumPy-style docstrings:
python docs/scripts/generate_api.py
python docs/scripts/generate_api.py --check
python docs/scripts/check_docs.py
mdbook build docs
The checks detect public API drift, missing parameter and docstring sections, invalid local links, pages absent from navigation, and failures in marked tutorial examples. Docs-only dependencies are installed in the documentation workflow, not required by the package at runtime.
For scverse conventions, consult the ecosystem package guidance, cookiecutter-scverse, and Scanpy documentation guidance. Interoperability with AnnData does not imply ecosystem membership or endorsement.