This document contains documentation intended for developers of voronoi_generator.
To work on the voronoi_generator as a developer, you'll need to configure your local development environment. You can do this by simply running:
make project-setupThis will install Python 3.10 using PyEnv, create a virtual environment using Poetry, and install the pre-commit hooks.
Note: The
project-setupprocess will check whetherpre-commits,pyenv, andpoetryare installed. If not, it will ask to install them on your behalf as they're required to use this template. The first time the project is set up, you should follow the instructions in First time setup.
A Makefile is just a usual text file to define a set of rules or instructions to run which can be run using the make command. To see the available make commands:
make helpWith the poetry shell active (see above), you can run all the tests using:
make testOr specific tests:
python -m pytest tests/test_dummy.py