Replace lambda in script/gen_requirements_all.py with str.lower (#99665)
parent
c64d173fcb
commit
a1359c1ce3
|
@ -426,7 +426,7 @@ def gather_constraints() -> str:
|
|||
*gather_recursive_requirements("default_config"),
|
||||
*gather_recursive_requirements("mqtt"),
|
||||
},
|
||||
key=lambda name: name.lower(),
|
||||
key=str.lower,
|
||||
)
|
||||
+ [""]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue