Development

Development setup

Clone the repository and install the development dependencies with uv:

git clone https://github.com/florianquintes/eprbase.git
cd eprbase
uv sync --dev

To install the optional GPU dependencies as well:

uv sync --extra gpu

Running tests

Run the test suite with pytest:

uv run pytest

Code formatting and linting

Check the code formatting:

uv run ruff format --check .

Check the code for linting issues:

uv run ruff check .

Format the code automatically:

uv run ruff format .

Build the documentation

Build the documentation locally with Sphinx:

uv run sphinx-build -b html src/eprbase/docs/source \
   src/eprbase/docs/build/html