Development#
This project is built and published using uv. To setup a development environment for this project you can follow these steps:
Install uv.
Navigate to the root folder and install the project’s virtual environment:
uv sync
You should now have
.venvdirectory created containing the project’s virtual environment files. You can optionally activate the environment subshell by running:
source .venv/bin/activate
To deactivate the environment subshell, run:
deactivate
Format the code by running the command:
uv run ruff format
Check the code linting by running the command:
uv run ruff check
Run the unit tests by running the command:
uv run pytest
To export the documentation dependency requirements, run the following:
uv export --group docs --no-hashes > docs/requirements.txt