From 9068a67af3b4520c5caf1bbc4a41a460b8c25c83 Mon Sep 17 00:00:00 2001 From: loRes <61621244+loRes228@users.noreply.github.com> Date: Fri, 19 Apr 2024 17:10:10 +0300 Subject: [PATCH] fixed ruff issues --- aiogram_broadcaster/storage/__init__.py | 2 +- examples/events.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aiogram_broadcaster/storage/__init__.py b/aiogram_broadcaster/storage/__init__.py index 5de129f..b3a3444 100644 --- a/aiogram_broadcaster/storage/__init__.py +++ b/aiogram_broadcaster/storage/__init__.py @@ -1,4 +1,4 @@ -# ruff: noqa: TCH004,PLC0415 +# ruff: noqa: TCH004, PLC0415 from typing import TYPE_CHECKING as _TYPE_CHECKING diff --git a/examples/events.py b/examples/events.py index f898e92..13f51c0 100644 --- a/examples/events.py +++ b/examples/events.py @@ -51,7 +51,7 @@ async def mailer_completed(mailer: Mailer[MessageSendContent], bot: Bot) -> None @event.failed_sent() -async def mailer_failed_sent(chay_id: int, error: Exception) -> None: # noqa: ARG001 +async def mailer_failed_sent(chay_id: int, error: Exception) -> None: # noqa: ARG001, RUF029 if not isinstance(error, TelegramForbiddenError): return # Do something...