Replace lambda in script/gen_requirements_all.py with str.lower (#99665)

This commit is contained in:
J. Nick Koston
2023-09-05 15:44:59 -05:00
committed by GitHub
parent c64d173fcb
commit a1359c1ce3

View File

@@ -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,
)
+ [""]
)