Code Style

Formatting

gp-libs uses ruff for both linting and formatting.

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

Type Checking

Strict mypy is enforced across src/ and tests/.

$ uv run mypy .

Docstrings

Follow NumPy docstring style for all public functions, methods, and classes.