It is recommended to use a virtual environment:
# create virtualenv in .venv dir
python -m venv .venv
# active venv (run each time after opening a new shell)
source .venv/bin/activateThen install causing including it's dependencies by executing pip -e .. All
these command must be executed inside the repository's root directory.
This repo uses pre-commit to manage linting and pre-commit hooks. The list of all configured linters is found in .pre-commit-config.yaml.
To prevent you from committing files that violate the linting rules, you should install the git pre-commit hook after cloning the repository. This is done by executing
pre-commit install
pre-commit run --all-files
The examples can be run using the examples module by giving the example name as parameter.
python -m examples example
python -m examples education