Skip to content

Commit

Permalink
Silence a flake8-bugbear warning (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Aug 29, 2022
1 parent fb77519 commit db79268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def _no_init(self, *args, **kwargs):
if type(self)._is_protocol:
raise TypeError('Protocols cannot be instantiated')

class _ProtocolMeta(abc.ABCMeta):
class _ProtocolMeta(abc.ABCMeta): # noqa: B024
# This metaclass is a bit unfortunate and exists only because of the lack
# of __instancehook__.
def __instancecheck__(cls, instance):
Expand Down

0 comments on commit db79268

Please sign in to comment.