From 5fca6987e874e724cdd0cf11e02dd931a59aaefb Mon Sep 17 00:00:00 2001 From: pwwang Date: Sat, 27 Feb 2021 23:58:31 -0700 Subject: [PATCH] Fix linting --- pipda/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipda/utils.py b/pipda/utils.py index 0db0929..61711e8 100644 --- a/pipda/utils.py +++ b/pipda/utils.py @@ -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(