style(project): remove from __future__ import annotations

This commit is contained in:
MingxuanGame
2025-10-03 17:15:41 +00:00
parent 046f894407
commit dfd656f2fb
137 changed files with 94 additions and 362 deletions

View File

@@ -1,5 +1,4 @@
# ruff: noqa: ARG002
from __future__ import annotations
from abc import abstractmethod
from enum import Enum
@@ -161,7 +160,7 @@ class ChannelMessageTeam(ChannelMessageBase):
cls,
message: "ChatMessage",
user: "User",
) -> ChannelMessageTeam:
) -> Self:
from app.database import ChannelType
return super().init(message, user, [], ChannelType.TEAM)