File tree Expand file tree Collapse file tree 3 files changed +18
-16
lines changed
Expand file tree Collapse file tree 3 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,23 @@ extend-exclude = '''
7575)/
7676'''
7777
78+ # coverage configuration
79+ [tool .coverage .run ]
80+ branch = true
81+ relative_files = true
82+ parallel = true
83+ source = [
84+ " tests" ,
85+ " wrapt" ,
86+ ]
87+
88+ [tool .coverage .paths ]
89+ src = [
90+ " src/" ,
91+ " .tox/*/lib/*/site-packages/" ,
92+ " .tox/pypy*/site-packages/" ,
93+ ]
94+
7895# pytest configuration
7996[tool .pytest .ini_options ]
8097testpaths = [" tests" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ setenv =
1414 install-extensions,disable-extensions: WRAPT_INSTALL_EXTENSIONS = true
1515 disable-extensions: WRAPT_DISABLE_EXTENSIONS = true
1616commands =
17- python -m coverage run --rcfile {toxinidir}/setup.cfg -m pytest -v {posargs} {toxinidir}/tests
17+ python -m coverage run --rcfile {toxinidir}/pyproject.toml -m pytest -v {posargs} {toxinidir}/tests
1818
1919[gh-actions]
2020python =
You can’t perform that action at this time.
0 commit comments