Introduction¶
Prerequisites¶
Make sure to install:
Python >= 3.11
Poetry >= 1.6.1
See Poetry documentation for more information.
Installation¶
You have to install all development dependencies:
poetry install
This will install all dependencies and create a virtual environment. Our development dependencies are divided into three groups:
testing: dependencies for testing like pytest, pytest-cov, pytest-mock, etc.
linting: dependencies for code style and code formatting like flake8, black, isort, etc.
docs: dependencies for documentation like sphinx, sphinx-autodoc-typehints, etc.
Post-Installation¶
After installation perform the following steps:
Setup pre-commit hooks (this will prevent you from pushing changes not formatted according to our code style):
poetry run pre-commit install