pip3 install coverage
coverage help
#
cat << EOF > ./.coveragerc
branch = True
omit =
*/migrations/*
*/apps.py
*/urls.py
*/wsgi.py
EOF
#
cat << EOF >> ./.gitignore
/htmlcov
/.coverage
/.coverage.*
EOF
#
coverage erase
#
pytest --cov=./
#
coverage html