summaryrefslogtreecommitdiff
path: root/qutebrowser/keyinput/keyutils.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-01 12:12:17 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-10-01 12:12:17 +0200
commitfeb06c3e9f2b1e710331ed9864c733d77989aa0b (patch)
tree1a14498a10edc73900e5feb4fc2c4459193b38f3 /qutebrowser/keyinput/keyutils.py
parent59f5d00ce73cc4625e214e1ec916596045b80e00 (diff)
downloadqutebrowser-feb06c3e9f2b1e710331ed9864c733d77989aa0b.tar.gz
qutebrowser-feb06c3e9f2b1e710331ed9864c733d77989aa0b.zip
pylint: Remove protected-access ignores in special methods
Diffstat (limited to 'qutebrowser/keyinput/keyutils.py')
-rw-r--r--qutebrowser/keyinput/keyutils.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/qutebrowser/keyinput/keyutils.py b/qutebrowser/keyinput/keyutils.py
index 44512a533..9e12e1a88 100644
--- a/qutebrowser/keyinput/keyutils.py
+++ b/qutebrowser/keyinput/keyutils.py
@@ -516,29 +516,23 @@ class KeySequence:
return utils.get_repr(self, keys=str(self))
def __lt__(self, other: 'KeySequence') -> bool:
- # pylint: disable=protected-access
return self._sequences < other._sequences
def __gt__(self, other: 'KeySequence') -> bool:
- # pylint: disable=protected-access
return self._sequences > other._sequences
def __le__(self, other: 'KeySequence') -> bool:
- # pylint: disable=protected-access
return self._sequences <= other._sequences
def __ge__(self, other: 'KeySequence') -> bool:
- # pylint: disable=protected-access
return self._sequences >= other._sequences
def __eq__(self, other: object) -> bool:
- # pylint: disable=protected-access
if not isinstance(other, KeySequence):
return NotImplemented
return self._sequences == other._sequences
def __ne__(self, other: object) -> bool:
- # pylint: disable=protected-access
if not isinstance(other, KeySequence):
return NotImplemented
return self._sequences != other._sequences