Development
===========
Initial setup
-------------
.. code-block:: bash
:caption: Initialize virtual environment
pip install uv
uv venv
source .venv/bin/activate
uv sync
pre-commit install
Running unit tests
------------------
.. code-block:: bash
:caption: Running unit tests
uv run pytest
Building documentation
----------------------
.. code-block:: bash
:caption: Running documentation
sphinx-autobuild doc/source/ doc/build
VSCode setup
------------
- Install recommended extensions
- Point vscode to the virtual environmenet managed by uv (.venv)
- > Python: Select Interpreter
- Choose which cli to debug:
- > Debug: Select and Start Debugging
- F5 starts debugging
Dependencies
------------
Installing Python 3.10+
If you don't already have Python 3.10+ installed, you can download it from the official Python website: . Follow the installation instructions for your operating system.
Installing VSCode
-----------------
To install VSCode, follow the instructions at .
Installing recommended extensions in VSCode
-------------------------------------------
See https://code.visualstudio.com/docs/editor/extension-marketplace#_recommended-extensions