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

@@ -433,15 +433,17 @@ def gather_constraints() -> str:
return (
GENERATED_MESSAGE
+ "\n".join(
sorted(
{
*core_requirements(),
*gather_recursive_requirements("default_config"),
*gather_recursive_requirements("mqtt"),
},
key=str.lower,
)
+ [""]
[
*sorted(
{
*core_requirements(),
*gather_recursive_requirements("default_config"),
*gather_recursive_requirements("mqtt"),
},
key=str.lower,
),
"",
]
)
+ CONSTRAINT_BASE
)