Skip to content

Commit 23fe1c6

Browse files
committed
pyproject(tool.coverage.report) Exclude __future__ annotations
1 parent 25bc266 commit 23fe1c6

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
@@ -145,6 +145,7 @@ exclude_lines = [
145145
"if TYPE_CHECKING:",
146146
"if t.TYPE_CHECKING:",
147147
"@overload( |$)",
148+
"from __future__ import annotations",
148149
]
149150

150151
[tool.ruff]

0 commit comments

Comments
 (0)