mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Enable UP040 ruff check (#117792)
This commit is contained in:
parent
7f92ee5e04
commit
32bf02479b
@ -780,8 +780,6 @@ ignore = [
|
|||||||
"TRY400", # Use `logging.exception` instead of `logging.error`
|
"TRY400", # Use `logging.exception` instead of `logging.error`
|
||||||
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
|
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
|
||||||
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
|
"UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)`
|
||||||
# Ignored due to incompatible with mypy: https://github.com/python/mypy/issues/15238
|
|
||||||
"UP040", # Checks for use of TypeAlias annotation for declaring type aliases.
|
|
||||||
|
|
||||||
# May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
|
# May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
|
||||||
"W191",
|
"W191",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user