Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 812 Bytes

CONTRIBUTING.md

File metadata and controls

46 lines (29 loc) · 812 Bytes

Contributing

We welcome contributions to the project. Please follow the guidelines below.

Development environment

We use uv to manage the development environment.

Setup a virtual environment (once):

uv sync

Testing

Use pytest to run the unit checks:

uv run pytest .

Linting

We use ruff to lint the code. Run the following command to check the code:

uv run ruff check . --fix --show-fixes

Check all files

Recommended before creating a commit: to run all checks against all files, run the following command:

pre-commit run --all-files

Build the documentation

To build the documentation, run the following command:

uv run sphinx-build -M html ./docs ./docs/_build -W --keep-going