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

pull/99695/head
J. Nick Koston 2023-09-05 15:44:59 -05:00 committed by GitHub
parent c64d173fcb
commit a1359c1ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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