For now, Tox and package management is performed using Python 3(!) Poetry, as Python 2 Poetry is too old.
Create Python 2 virtual environment
python2 -m pip install virtualenvpython2 -m virtualenv .venv2
Create Python 3 virtual environment
python3 -m pip install virtualenvpython3 -m virtualenv .venv
Activate Python virtual environments
- Linux:
source .venv/bin/activate - Windows
.venv\Scripts\activate
poetry lock
- Copy
.env.exampleto.env - Modify
.envwith your test WebHook, a Teams User Email to mention, and their name. - Run
poetry run tox - You should receive a card for each Python version
pre-commit install
git add .
git commit -m "my changes"- The pre-commit hook will tell you if something's wrong
Too hard? Contact me via Discord alertua