style(backend): one-line import, ruff 0.17 keeps the pragma out of the line width

This commit is contained in:
hh committed 2026-10-10 02:58:29 +00:00
1 parent 698e4d60a3
commit 9e672623ac
1 file changed
+1 -3
@@ -41,9 +41,7 @@ class ChatMetaCache:
chat_id: int,
meta: tuple[str | None, str | None],
) -> bool:
from userbot.modules.groups.repository import ( # noqa: PLC0415
get_latest_chat_meta,
)
from userbot.modules.groups.repository import get_latest_chat_meta # noqa: PLC0415
if chat_id not in self._cache:
self._cache[chat_id] = await get_latest_chat_meta(pool, account_id, chat_id)