Skip to content

Commit f1e30bc

Browse files
Enable reportUnusedExpression in pyright (#309)
1 parent 8faca6c commit f1e30bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pins/constructors.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
from .cache import PinsAccessTimeCache, PinsCache, PinsRscCacheMapper, prefix_cache
99
from .config import get_cache_dir, get_data_dir
1010

11-
# Kept here for backward-compatibility reasons.
12-
board_deparse # Note that this is not a constructor, but a function to represent them.
11+
# Kept here for backward-compatibility reasons
12+
# Note that this is not a constructor, but a function to represent them.
13+
board_deparse # pyright: ignore[reportUnusedExpression]
1314

1415

1516
class DEFAULT:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ reportOptionalMemberAccess = false
112112
reportOptionalSubscript = false
113113
reportPossiblyUnboundVariable = false
114114
reportReturnType = false
115-
reportUnusedExpression = false
116115

117116
[tool.ruff]
118117
line-length = 90

0 commit comments

Comments
 (0)