diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index dbfd8d176d..0000000000 --- a/.coveragerc +++ /dev/null @@ -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 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index ea232522a5..c30425b9a1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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