@@ -22,7 +22,7 @@ dependencies = [
2222]
2323optional-dependencies.test = [
2424 " covdefaults>=2.2.2" ,
25- " coverage>=7.0.1 " ,
25+ " coverage>=7.0.2 " ,
2626 " coverage-enable-subprocess>=1" ,
2727 " flaky>=3.7" ,
2828 " packaging>=22" ,
@@ -98,24 +98,18 @@ html.show_contexts = true
9898html.skip_covered = false
9999report.omit = [
100100 # site.py is ran before the coverage can be enabled, no way to measure coverage on this
101- " src/virtualenv/create/via_global_ref/builtin/python2/site.py" ,
102- " src/virtualenv/create/via_global_ref/_virtualenv.py" ,
103- " src/virtualenv/activation/python/activate_this.py" ,
104- " src/virtualenv/seed/wheels/embed/pip-*.whl/*" ,
101+ " **/ src/virtualenv/create/via_global_ref/builtin/python2/site.py" ,
102+ " **/ src/virtualenv/create/via_global_ref/_virtualenv.py" ,
103+ " **/ src/virtualenv/activation/python/activate_this.py" ,
104+ " **/ src/virtualenv/seed/wheels/embed/pip-*.whl/pip/* *" ,
105105]
106- paths.source = [
107- " src" ,
108- " .tox/*/lib/*/site-packages" , # pypy3.8 + cpython
109- " .tox/*/site-packages" , # pypy3.7
110- " .tox\\ *\\ Lib\\ site-packages" , # pypy3.8 + cpython
111- " .tox\\ *\\ site-packages" , # pypy3.7
112- ]
113- paths.other = [" ." , " */virtualenv" , " *\\ virtualenv" ]
106+ paths.source = [" src" , " **/site-packages" ]
114107report.fail_under = 76
115108run.source = [" ${_COVERAGE_SRC}" , " tests" ]
116109run.dynamic_context = " test_function"
117110run.parallel = true
118111run.plugins = [" covdefaults" ]
112+ run.relative_files = true
119113
120114[tool .black ]
121115line-length = 120
0 commit comments