File tree Expand file tree Collapse file tree 2 files changed +34
-32
lines changed Expand file tree Collapse file tree 2 files changed +34
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -212,3 +212,37 @@ allow_untyped_defs = true
212
212
[tool .codespell ]
213
213
ignore-words-list = " statics"
214
214
skip = " docs/source/changelog.rst"
215
+
216
+
217
+ [tool .coverage .run ]
218
+ source = [" distributed" ]
219
+ omit = [
220
+ " distributed/tests/test*" ,
221
+ " distributed/*/tests/test*" ,
222
+ " distributed/cli/utils.py" ,
223
+ " distributed/cli/dask_spec.py" ,
224
+ " distributed/deploy/ssh.py" ,
225
+ " distributed/_version.py" ,
226
+ " distributed/pytest_resourceleaks.py" ,
227
+ " distributed/comm/ucx.py" ,
228
+ ]
229
+
230
+ [tool .coverage .report ]
231
+ show_missing = true
232
+ exclude_lines = [
233
+ # re-enable the standard pragma
234
+ " pragma: nocover" ,
235
+ " pragma: no cover" ,
236
+ # exclude nvml calls
237
+ ' [\s(.]nvml[\s(.]' ,
238
+ ' [\s(.]pynvml[\s(.]' ,
239
+ # exclude LOG_PDB
240
+ " LOG_PDB" ,
241
+ # always ignore type checking blocks
242
+ " TYPE_CHECKING" ,
243
+ " except ImportError" ,
244
+ " @overload" ,
245
+ ]
246
+
247
+ [tool .coverage .html ]
248
+ directory = " coverage_html_report"
You can’t perform that action at this time.
0 commit comments