@@ -22,7 +22,7 @@ dependencies = [
22
22
]
23
23
optional-dependencies.test = [
24
24
" covdefaults>=2.2.2" ,
25
- " coverage>=7.0.1 " ,
25
+ " coverage>=7.0.2 " ,
26
26
" coverage-enable-subprocess>=1" ,
27
27
" flaky>=3.7" ,
28
28
" packaging>=22" ,
@@ -98,24 +98,18 @@ html.show_contexts = true
98
98
html.skip_covered = false
99
99
report.omit = [
100
100
# 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/* *" ,
105
105
]
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" ]
114
107
report.fail_under = 76
115
108
run.source = [" ${_COVERAGE_SRC}" , " tests" ]
116
109
run.dynamic_context = " test_function"
117
110
run.parallel = true
118
111
run.plugins = [" covdefaults" ]
112
+ run.relative_files = true
119
113
120
114
[tool .black ]
121
115
line-length = 120
0 commit comments