From 37a60b785de593dc8f1d732dcc7a08de847392db Mon Sep 17 00:00:00 2001 From: Robin Ekman Date: Tue, 20 Jan 2026 23:18:04 +0100 Subject: [PATCH] fix: remove superfluous `__ne__` methods --- stig/utils/cliparser.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stig/utils/cliparser.py b/stig/utils/cliparser.py index 8ee13f25..dd861b83 100644 --- a/stig/utils/cliparser.py +++ b/stig/utils/cliparser.py @@ -105,9 +105,6 @@ def __eq__(self, other): else: return NotImplemented - def __ne__(self, other): - return not self.__eq__(other) - def __repr__(self): kwargs = {} if self._string: kwargs['string'] = self._string @@ -931,9 +928,6 @@ def __eq__(self, other): return NotImplemented return super().__eq__(other) and self.curpos == other.curpos - def __ne__(self, other): - return not self.__eq__(other) - def __hash__(self): return super().__hash__()