[3/N] Use pyupgrade --py39-plus to improve code (#36936)

Use pyupgrade --py39-plus to improve code

Signed-off-by: cyy <cyyever@outlook.com>
This commit is contained in:
cyyever
2025-04-02 21:16:06 +08:00
committed by GitHub
parent 764ab0d46a
commit 32c12aaec3
14 changed files with 75 additions and 88 deletions

View File

@@ -1,4 +1,3 @@
# coding=utf-8
# Copyright 2025 The HuggingFace Inc. team.
# All rights reserved.
#