mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Replace lambda in script/gen_requirements_all.py with str.lower (#99665)
This commit is contained in:
parent
c64d173fcb
commit
a1359c1ce3
@ -426,7 +426,7 @@ def gather_constraints() -> str:
|
|||||||
*gather_recursive_requirements("default_config"),
|
*gather_recursive_requirements("default_config"),
|
||||||
*gather_recursive_requirements("mqtt"),
|
*gather_recursive_requirements("mqtt"),
|
||||||
},
|
},
|
||||||
key=lambda name: name.lower(),
|
key=str.lower,
|
||||||
)
|
)
|
||||||
+ [""]
|
+ [""]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user