mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-06 20:16:47 +00:00
🚨 Develop: 完全使用 ruff 替代 isort 与 black (#3151)
This commit is contained in:
@ -1,17 +1,17 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import Any, Optional, Annotated
|
||||
from typing import Annotated, Any, Optional
|
||||
|
||||
import pytest
|
||||
from pydantic import BaseModel, ValidationError
|
||||
import pytest
|
||||
|
||||
from nonebot.compat import (
|
||||
DEFAULT_CONFIG,
|
||||
Required,
|
||||
FieldInfo,
|
||||
TypeAdapter,
|
||||
PydanticUndefined,
|
||||
model_dump,
|
||||
Required,
|
||||
TypeAdapter,
|
||||
custom_validation,
|
||||
model_dump,
|
||||
type_validate_json,
|
||||
type_validate_python,
|
||||
)
|
||||
|
Reference in New Issue
Block a user