From 5fb8f8a5348bfe24b185e99e56d8215a7561226c Mon Sep 17 00:00:00 2001 From: h Date: Sat, 10 Oct 2026 02:58:29 +0000 Subject: [PATCH] style(backend): one-line import, ruff 0.17 keeps the pragma out of the line width --- backend/src/userbot/modules/capture/identity.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/src/userbot/modules/capture/identity.py b/backend/src/userbot/modules/capture/identity.py index bccd633..fe1e4c1 100644 --- a/backend/src/userbot/modules/capture/identity.py +++ b/backend/src/userbot/modules/capture/identity.py @@ -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)