Contributing
Thank you for your interest in improving pharmadata! Contributions of any kind are welcome - bug reports, documentation fixes, new datasets, and code contributions alike. If you’re unsure where to start, please open an issue and we’ll be glad to help you get going.
Setup
uv sync --all-groups --all-extrasOther tools
uv tool install air-formatter # R formatter
uv tool install jarl-linter # R linterPre-commit hooks
uv run pre-commit installData workflow
make refresh # fetch sources -> export with R -> build data, stubs, docsCheck
make check # ruff format --check, ruff, typos, mypy, pyrefly, pytestLint
make fix # ruff format, ruff --fix, typos --write-changesTest
make test # uv run pytest; make test ARGS="-k adsl"Doc
make docs-build # build site
make docs-serve # serve the already-generated site