Skip to content

Commit b6d5828

Browse files
committed
Exclude some lines from coverage reporting
1 parent 51f5fc7 commit b6d5828

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,3 +221,8 @@ omit = [
221221
"*snapshots*",
222222
"*tests*",
223223
]
224+
exclude_also = [
225+
"if TYPE_CHECKING:",
226+
"def __repr__",
227+
"def __str__",
228+
]

0 commit comments

Comments
 (0)