Skip to content

Commit c339479

Browse files
committed
pyproject(tool.coverage.report) Exclude __future__ annotations
1 parent 7e6bafa commit c339479

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ exclude_lines = [
178178
"if TYPE_CHECKING:",
179179
"if t.TYPE_CHECKING:",
180180
"@overload( |$)",
181+
"from __future__ import annotations",
181182
]
182183

183184
[tool.ruff]

0 commit comments

Comments
 (0)