Run this in the terminal:
pip install -e .
Run this in the terminal:
pip install -r .\requirements_dev.txt
Run this in the terminal:
pytest
Run this in the terminal:
flake8 src
Run this in the terminal:
mypy src
Run this in the terminal:
tox
Run this in the terminal:
pip install build
pip install twine
py -m build
twine upload dist/*
pip install genbadge[all]
Test:
pytest --junitxml=reports/junit/junit.xml
genbadge tests -o -> ./tests/badges/tests-badge.svg
Coverage:
pytest --cov-report xml:./reports/coverage/coverage.xml
genbadge coverage -o -> ./tests/badges/coverage-badge.svg
flake8:
flake8 src --exit-zero --format=html --htmldir ./reports/flake8 --statistics --tee --output-file flake8stats.txt
genbadge flake8 -o -> ./tests/badges/flake8-badge.svg
Helpful link: https://www.youtube.com/watch?v=DhUpxWjOhME