From c4700d0e10cdd39105a86c6e9d1fe36da9aa1eab Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 20 Aug 2021 00:35:25 +0200 Subject: [PATCH] move coverage settings into setup.cfg --- .coveragerc | 9 --------- setup.cfg | 10 ++++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 .coveragerc 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