From 6a244640b903cadf6d7637566074d6c2c6244a2b Mon Sep 17 00:00:00 2001 From: Igor Cavalcanti Date: Wed, 24 Jun 2020 20:45:46 -0300 Subject: [PATCH] Corrigindo arquivos a serem omitidos durante report do coverage --- setup.cfg | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/setup.cfg b/setup.cfg index 1715d31..a83f623 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,16 +1,11 @@ [tool:pytest] testpaths = tests -addopts = -p no:warnings +addopts = -p no:warnings --cov=app [coverage:run] branch = True -source = - app/controllers/ - app/dao/ - app/errors/ - app/logger/ - app/models/ - app/resources/ +source = app/ +omit = app/patched.py,app/__init__.py [flake8] exclude = templates, docs, app/__init__.py