diff --git a/tanjun/_internal/__init__.py b/tanjun/_internal/__init__.py index 0f4862010..bb4c829cb 100644 --- a/tanjun/_internal/__init__.py +++ b/tanjun/_internal/__init__.py @@ -398,7 +398,7 @@ def flatten_options( for _channel_cls, _types in CHANNEL_TYPES.copy().items(): for _mro_type in _channel_cls.mro(): - if isinstance(_mro_type, type) and issubclass( # pyright: ignore[(reportUnnecessaryIsInstance] + if isinstance(_mro_type, type) and issubclass( # pyright: ignore[reportUnnecessaryIsInstance] _mro_type, hikari.PartialChannel ):