Thanks for trying out docstub and being interested in contributing! We'd greatly appreciate feedback and bug reports, as well as pointers to where the documentation is confusing and unclear.
Our project follows Scientific Python's Code of Conduct.
For bug reports, feature requests and feedback, head over to docstub's issue tracker and feel very welcome to open an issue! 🚀
Before creating a feature request it might be useful to reference our design guide, specifically our goals.
This section assumes familiarity with Python development. For a more general introduction you can check out Scientific Python's Intro to development.
Create a fork of docstub and clone your fork.
The following sections assume that you are running a shell inside that cloned project folder (docstub/).
pip install --group dev --editable .
pre-commit installRun test suite and doctests:
python -m pytestCheck stub files for docstub:
python -m mypy.stubtest \
--mypy-config-file "pyproject.toml" \
--allowlist "stubtest_allow.txt" \
docstubType check test suite:
python -m mypy "tests/"
python -m basedpyright "tests/"Before committing you can also perform all linting checks explicitly with
pre-commit run --allpython -m sphinx --fresh-env --nitpicky --fail-on-warning "docs/" "docs/build/"