mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Bump ruff to 0.8.0 (#131273)
This commit is contained in:
@@ -350,8 +350,8 @@ def gather_modules() -> dict[str, list[str]] | None:
|
||||
gather_requirements_from_manifests(errors, reqs)
|
||||
gather_requirements_from_modules(errors, reqs)
|
||||
|
||||
for key in reqs:
|
||||
reqs[key] = sorted(reqs[key], key=lambda name: (len(name.split(".")), name))
|
||||
for value in reqs.values():
|
||||
value = sorted(value, key=lambda name: (len(name.split(".")), name))
|
||||
|
||||
if errors:
|
||||
print("******* ERROR")
|
||||
|
Reference in New Issue
Block a user