Skip to content
Back to top
View this page
Edit this page

# Development

pontos uses poetry for its own dependency management and build process.

First install poetry via pip

    python3 -m pip install --user poetry

Afterwards run

    poetry install

in the checkout directory of pontos (the directory containing the `pyproject.toml` file) to install all dependencies including the packages only required for development.

Afterwards activate the git hooks for auto-formatting and linting via autohooks.

    poetry run autohooks activate

Validate the activated git hooks by running

    poetry run autohooks check