Tests and documentation checks#
Install development dependencies:
python -m pip install -e ".[test,docs]"
Run the mathematical tests:
python -m pytest -v
Build documentation with warnings treated as errors:
python -m sphinx -W --keep-going -b html docs/source docs/_build/html
Before release, also build and check both distribution artifacts:
python -m pip install -e ".[release]"
python -m build
python -m twine check dist/*