From d20957ac5fd3d5ffd45fe75d742269dae72b28e0 Mon Sep 17 00:00:00 2001 From: deadzilla Date: Wed, 8 Jul 2026 00:40:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D1=8B=20noqa:=20E402=20=D0=B4=D0=BB=D1=8F=20=D0=B8?= =?UTF-8?q?=D0=BC=D0=BF=D0=BE=D1=80=D1=82=D0=BE=D0=B2=20=D0=BF=D0=BE=D1=81?= =?UTF-8?q?=D0=BB=D0=B5=20monkey-patch=20=D0=B2=20bot.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bot.py b/bot.py index 89e954d..b24e870 100644 --- a/bot.py +++ b/bot.py @@ -11,13 +11,13 @@ from typing import TYPE_CHECKING # discord.py 2.7.1 ещё не обновлена — применяем monkey-patch до импорта asyncio.iscoroutinefunction = inspect.iscoroutinefunction # type: ignore[assignment] -import discord -from discord.ext import commands -from discord.ext.commands import CommandNotFound -from dotenv import load_dotenv +import discord # noqa: E402 +from discord.ext import commands # noqa: E402 +from discord.ext.commands import CommandNotFound # noqa: E402 +from dotenv import load_dotenv # noqa: E402 -from commands import ALL_COMMANDS -from utils.morning_runner import Scheduler +from commands import ALL_COMMANDS # noqa: E402 +from utils.morning_runner import Scheduler # noqa: E402 if TYPE_CHECKING: from utils.morning_runner import Scheduler as SchedulerType