Skip to content

Commit 86ba8d5

Browse files
committed
Revert "Remove ignore of deprecated Ruff rule"
This reverts commit 19d13a0.
1 parent cc1f988 commit 86ba8d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ ignore = [
169169
"RUF005",
170170
# Prefer `next(iter(variable.items()))` over single element slice
171171
"RUF015",
172+
# Use `X | Y` in `isinstance` (see https://github.com/home-assistant/core/issues/123850)
173+
"UP038",
172174
"RUF046", # Value being cast to `int` is already an integer
173175

174176
# TODO: ignore for now (requires more work). Remove ignore once fixed

0 commit comments

Comments
 (0)