Skip to content

Commit db79268

Browse files
authored
Silence a flake8-bugbear warning (#72)
1 parent fb77519 commit db79268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typing_extensions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ def _no_init(self, *args, **kwargs):
431431
if type(self)._is_protocol:
432432
raise TypeError('Protocols cannot be instantiated')
433433

434-
class _ProtocolMeta(abc.ABCMeta):
434+
class _ProtocolMeta(abc.ABCMeta): # noqa: B024
435435
# This metaclass is a bit unfortunate and exists only because of the lack
436436
# of __instancehook__.
437437
def __instancecheck__(cls, instance):

0 commit comments

Comments
 (0)