Skip to content

Commit a8350ae

Browse files
committed
chore: skip test coverage at runtime type_checking
1 parent 579f8e1 commit a8350ae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

+5-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,11 @@ exclude_lines = [
9191
"if 0:",
9292
"if __name__ == .__main__.:",
9393

94-
# Ignore type function overload
95-
"@overload",
94+
# Ignore runtime type checking
95+
"if TYPE_CHECKING:",
96+
97+
# Ignore type function overload
98+
"@overload",
9699
]
97100

98101
[tool.isort]

0 commit comments

Comments
 (0)