move coverage settings into setup.cfg

This commit is contained in:
Matthias 2021-08-20 00:35:25 +02:00
parent 414d2dbc96
commit c4700d0e10
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
2 changed files with 10 additions and 9 deletions

View File

@ -1,9 +0,0 @@
[run]
source = ./InvenTree
omit =
InvenTree/manage.py
InvenTree/setup.py
InvenTree/InvenTree/middleware.py
InvenTree/InvenTree/utils.py
InvenTree/InvenTree/wsgi.py
InvenTree/users/apps.py

View File

@ -14,3 +14,13 @@ ignore =
N812,
exclude = .git,__pycache__,*/migrations/*,*/lib/*,*/bin/*,*/media/*,*/static/*,*ci_*.py*
max-complexity = 20
[coverage:run]
source = ./InvenTree
omit =
InvenTree/manage.py
InvenTree/setup.py
InvenTree/InvenTree/middleware.py
InvenTree/InvenTree/utils.py
InvenTree/InvenTree/wsgi.py
InvenTree/users/apps.py