add config for coverage

This commit is contained in:
Andreas Zweili 2019-08-10 13:56:19 +02:00
parent 7969663374
commit e5396aea5f
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[run]
omit =
*apps.py,
*migrations/*,
*settings*,
*tests/*,
*urls.py,
*wsgi.py,
*__init__.py,
manage.py

View File

@ -0,0 +1,2 @@
[pytest]
addopts =--nomigrations --cov=. --cov-report=html