Skip to content

Commit

Permalink
Enable reportUnusedExpression in pyright (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjmcdougall authored Aug 27, 2024
1 parent 8faca6c commit f1e30bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions pins/constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
from .cache import PinsAccessTimeCache, PinsCache, PinsRscCacheMapper, prefix_cache
from .config import get_cache_dir, get_data_dir

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


class DEFAULT:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ reportOptionalMemberAccess = false
reportOptionalSubscript = false
reportPossiblyUnboundVariable = false
reportReturnType = false
reportUnusedExpression = false

[tool.ruff]
line-length = 90
Expand Down

0 comments on commit f1e30bc

Please sign in to comment.