Skip to content

Commit 210ca15

Browse files
committed
Update coverage config
1 parent 695bc3f commit 210ca15

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ exclude_lines =
126126
if TYPE_CHECKING:
127127
if typing.TYPE_CHECKING:
128128
if __name__ == .__main__.:
129+
omit = */test/*
130+
*/.tox/*
131+
*/venv/*
129132
130133
[check-wheel-contents]
131134
ignore = W002
@@ -142,13 +145,11 @@ ignore_errors = True
142145
whitelist_externals = /bin/bash
143146
changedir = {toxinidir}
144147
deps = coverage>=5
148+
passenv =
149+
COV_PYTHON_VERSION
150+
COV_PLATFORM
151+
COV_PYTHON_IMPLEMENTATION
145152
commands =
146153
/bin/bash -c "rm -rf htmlcov"
147154
coverage html --rcfile cov-report.ini
148155
/bin/bash -c "DISPLAY=:0 firefox 'htmlcov/index.html'"
149-
150-
[coverge:report]
151-
omit =
152-
*/test/*
153-
*/.tox/*
154-
*/venv/*

0 commit comments

Comments
 (0)