🚨 Develop: 完全使用 ruff 替代 isort 与 black (#3151)

This commit is contained in:
Ju4tCode
2024-12-01 12:31:11 +08:00
committed by GitHub
parent 6dad4d2a74
commit 081dc8352d
83 changed files with 1815 additions and 1769 deletions

View File

@ -1,15 +1,15 @@
import json
from typing import Dict, List, Union, Literal, TypeVar, ClassVar # noqa: UP035
from typing import ClassVar, Dict, List, Literal, TypeVar, Union # noqa: UP035
from utils import FakeMessage, FakeMessageSegment
from nonebot.utils import (
DataclassEncoder,
escape_tag,
is_gen_callable,
generic_check_issubclass,
is_async_gen_callable,
is_coroutine_callable,
generic_check_issubclass,
is_gen_callable,
)
from utils import FakeMessage, FakeMessageSegment
def test_loguru_escape_tag():