Skip to content

Commit

Permalink
Ignore B024 for abstract base classes with in var_view
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Aug 28, 2022
1 parent 3f37337 commit 627c0e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pudb/var_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

# {{{ abstract base classes for containers

class PudbCollection(ABC):
class PudbCollection(ABC): # noqa: B024
@classmethod
def __subclasshook__(cls, c):
if cls is PudbCollection:
Expand Down Expand Up @@ -80,7 +80,7 @@ def length(cls, collection):
return len(collection)


class PudbSequence(ABC):
class PudbSequence(ABC): # noqa: B024
@classmethod
def __subclasshook__(cls, c):
if cls is PudbSequence:
Expand Down Expand Up @@ -113,7 +113,7 @@ def length(cls, sequence):
return len(sequence)


class PudbMapping(ABC):
class PudbMapping(ABC): # noqa: B024
@classmethod
def __subclasshook__(cls, c):
if cls is PudbMapping:
Expand Down

0 comments on commit 627c0e4

Please sign in to comment.