Skip to content

Commit 3be1fd4

Browse files
committed
Add TYPE_CHECKING to coverage exclusion
1 parent 9ae39be commit 3be1fd4

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
@@ -84,6 +84,11 @@ target-version = [
8484
include = 'rope/.*\.pyi?$'
8585
force-exclude = 'ropetest|rope/base/prefs.py'
8686

87+
[tool.coverage.report]
88+
exclude_also = [
89+
"if TYPE_CHECKING:",
90+
]
91+
8792
[tool.isort]
8893
profile = "black"
8994

0 commit comments

Comments
 (0)