Developing on local PC
Setup environment
Install pyenv.
Prepare interpreter
$ pyenv install 3.12
$ pyenv shell $(pyenv latest 3.12)
Install dependencies
$ pip install -U poetry
$ poetry config virtualenvs.in-project true && poetry install && source .venv/bin/activate
Init project
$ inv project.init
Style checks
Note
For common actions in the project used invoke.
We use pre-commit for quality control. To run checks:
$ inv pre-commit.run-hooks
Local Documentation
To generate local documentation, use:
$ inv docs.build
To clear local documentation, use:
$ inv docs.clear