mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user