mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Enable UP040 ruff check (#117792)
This commit is contained in:
@@ -780,8 +780,6 @@ ignore = [
|
||||
"TRY400", # Use `logging.exception` instead of `logging.error`
|
||||
# Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923
|
||||
"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
|
||||
"W191",
|
||||
|
Reference in New Issue
Block a user