More PYUP fixes (#38883)

More pyup fixes

Signed-off-by: cyy <cyyever@outlook.com>
This commit is contained in:
Yuanyuan Chen
2025-06-18 21:38:08 +08:00
committed by GitHub
parent 12d4c5b66f
commit 1fc67a25c6
150 changed files with 273 additions and 355 deletions

View File

@@ -1023,7 +1023,7 @@ def convert_to_localized_md(model_list: str, localized_model_list: str, format_s
sorted_index = sorted(localized_model_index.items(), key=lambda x: x[0].lower())
return readmes_match, "\n".join((x[1] for x in sorted_index)) + "\n"
return readmes_match, "\n".join(x[1] for x in sorted_index) + "\n"
# Map a model name with the name it has in the README for the check_readme check