Use coveragerc.

This commit is contained in:
Jannis Leidel 2018-01-28 14:35:33 +01:00
parent 2356491fd7
commit d0bf6512a9
No known key found for this signature in database
GPG key ID: C795956FB489DCA9
2 changed files with 7 additions and 1 deletions

6
.coveragerc Normal file
View file

@ -0,0 +1,6 @@
[run]
source = authority
branch = 1
[report]
omit = *tests*,*migrations*

View file

@ -8,7 +8,7 @@ envlist =
[testenv]
usedevelop = true
commands =
coverage run -a --source=authority example/manage.py test authority exampleapp
coverage run -a example/manage.py test authority exampleapp
coverage report
deps =
coverage