style: pre-commit

This commit is contained in:
2023-06-06 20:01:53 +08:00
parent 33287b2e3a
commit 5e13685cf4
4 changed files with 19 additions and 3 deletions

View File

@ -1,4 +1,4 @@
from typing import TypeVar, Generic
from typing import Generic, TypeVar
T = TypeVar("T")

View File

@ -1,6 +1,8 @@
from typing import Any, Protocol, ClassVar, Dict
from typing import Any, ClassVar, Dict, Protocol
class TDataclass(Protocol):
__dataclass_fields__: ClassVar[Dict]
def __call__(self, *args: Any, **kwds: Any) -> Any:
...