chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version (#2419)

This commit is contained in:
Bowen Liang
2024-02-09 15:21:33 +08:00
committed by GitHub
parent 589099a005
commit 063191889d
246 changed files with 912 additions and 937 deletions

View File

@@ -1,7 +1,8 @@
import os
import shutil
from collections.abc import Generator
from contextlib import closing
from typing import Generator, Union
from typing import Union
import boto3
from botocore.exceptions import ClientError