diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 8dab3b2..0000000 --- a/.coveragerc +++ /dev/null @@ -1,35 +0,0 @@ -[run] -branch = 1 -cover_pylib = 0 -include=*mode/* -omit = tests.* - -[report] -omit = - */python?.?/* - */site-packages/* - */pypy/* - - # tested by functional tests - */mode/loop/* - - # not needed - */mode/types/* - */mode/utils/types/* - */mode/utils/mocks.py - - # been in celery since forever - */mode/utils/graphs/* -exclude_lines = - # Have to re-enable the standard pragma - if\ typing\.TYPE_CHECKING\: - - pragma: no cover - - if sys.platform == 'win32': - - \@abc\.abstractmethod - - \# Py3\.6 - - \@overload diff --git a/scripts/tests.sh b/scripts/tests.sh index 5adcdec..751fc77 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -3,4 +3,4 @@ set -e set -x -pytest tests --cov=mode +pytest tests/unit tests/functional --cov=mode