Skip to content

Commit 05960c0

Browse files
author
Yoshihiro Takahara
committed
chore: exclude edge cases from coverage reporting
1 parent 402e57e commit 05960c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ exclude_lines = [
8484
"pass",
8585
"raise ImportError",
8686
"__version__",
87+
"except IOError:",
88+
"except IOError as e:",
89+
"def _cleanup_handles",
90+
"def __aexit__",
91+
"if path in [\">\", \">>\", \"<\"]:",
92+
"def _close_handles",
8793
]
8894

8995
omit = [

0 commit comments

Comments
 (0)