Skip to content

Commit 8e91dfb

Browse files
Pavel Minaevint19h
authored andcommitted
Exclude more error paths from codecov.
Exclude common/log.py from codecov as there are many debug helpers there.
1 parent 16d39cc commit 8e91dfb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ omit =
88
src/debugpy/_version.py
99
src/debugpy/_vendored/*
1010
src/debugpy/server/*
11+
src/debugpy/common/log.py
1112
data_file = coverage/.coverage
1213

1314
[report]
@@ -21,6 +22,12 @@ exclude_lines =
2122
# Asserts and error conditions.
2223
raise AssertionError
2324
raise NotImplementedError
25+
raise TypeError
26+
raise ValueError
27+
raise AttributeError
28+
raise RuntimeError
29+
raise ComponentNotAvailable
30+
raise messaging.MessageHandlingError
2431
\.isnt_valid\(
2532
\.cant_handle\(
2633

0 commit comments

Comments
 (0)