From 3e51b42c170b8dcdf987b4c341249ec463234161 Mon Sep 17 00:00:00 2001 From: sabby Date: Sat, 3 Oct 2020 15:33:11 +0530 Subject: [PATCH] Remove unused 'type:ignore' comment --- aiogram/dispatcher/event/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/dispatcher/event/handler.py b/aiogram/dispatcher/event/handler.py index f19f44dd..8314c52b 100644 --- a/aiogram/dispatcher/event/handler.py +++ b/aiogram/dispatcher/event/handler.py @@ -62,7 +62,7 @@ class HandlerObject(CallableMixin): def __post_init__(self) -> None: super(HandlerObject, self).__post_init__() callback = inspect.unwrap(self.callback) - if inspect.isclass(callback) and issubclass(callback, BaseHandler): # type: ignore + if inspect.isclass(callback) and issubclass(callback, BaseHandler): self.awaitable = True async def check(self, *args: Any, **kwargs: Any) -> Tuple[bool, Dict[str, Any]]: