Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Feb 28, 2021
1 parent 3ea23b0 commit 5fca698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipda/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def _op_handler(self, op: str, *args: Any, **kwargs: Any) -> "Operator":
__pos__ = partialmethod(_op_handler, 'pos')
__invert__ = partialmethod(_op_handler, 'invert')

def __index__(self):
def __index__(self): # pylint: disable=invalid-index-returned
"""Allow Expression object to work as indexes"""
return None # pylint: disable=invalid-index-returned
return None

@abstractmethod
def evaluate(
Expand Down

0 comments on commit 5fca698

Please sign in to comment.