Compact oct-tree implementation used for Socket
To get ready for development, create a virtual enviroment and install the package:
uv venv --python=3.12
source .venv/bin/activate
uv pip install -e ".[dev]"
pre-commit install
We use ruff for formatting. When you go to commit your code, it will automatically be formatted thanks to the pre-commit hook.
Tests are performed using pytest.
Untested Theoretically, you can also develop with just
pixi init --format pyproject.toml
and run tests using
pixi run test
which runs pytest --cov=packingcubes.