Skip to content

Commit

Permalink
fixed ruff issues
Browse files Browse the repository at this point in the history
  • Loading branch information
loRes228 committed Apr 19, 2024
1 parent 12d7acf commit 9068a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiogram_broadcaster/storage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ruff: noqa: TCH004,PLC0415
# ruff: noqa: TCH004, PLC0415

from typing import TYPE_CHECKING as _TYPE_CHECKING

Expand Down
2 changes: 1 addition & 1 deletion examples/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit 9068a67

Please sign in to comment.