First, create a virtual environment:
python -m venv .venv
and activate:
.venv\scripts\activate
Then install the necessary packages for development:
pip install -r dev-requirements.txt
python -m build --outdir ./build
sphinx-build -W -b html ./docs ./build/docs
pip install -e .
tox
or
pytest