1
0
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:
Sid
2024-03-16 18:37:20 +01:00
committed by GitHub
parent 2a5c85a020
commit ccd2e989c3
58 changed files with 150 additions and 128 deletions

View File

@@ -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"