mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
@@ -130,7 +130,7 @@ CONF_MAX = "max"
|
||||
DEFAULT_MAX = 10
|
||||
|
||||
CONF_MAX_EXCEEDED = "max_exceeded"
|
||||
_MAX_EXCEEDED_CHOICES = list(LOGSEVERITY) + ["SILENT"]
|
||||
_MAX_EXCEEDED_CHOICES = [*LOGSEVERITY, "SILENT"]
|
||||
DEFAULT_MAX_EXCEEDED = "WARNING"
|
||||
|
||||
ATTR_CUR = "current"
|
||||
|
||||
Reference in New Issue
Block a user