1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
(development)=
# Development
**pontos** uses [poetry](https://python-poetry.org/) for its own dependency management and build
process.
First install poetry via pip
```shell
python3 -m pip install --user poetry
```
Afterwards run
```shell
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](https://github.com/greenbone/autohooks/).
```shell
poetry run autohooks activate
```
Validate the activated git hooks by running
```shell
poetry run autohooks check
```
|