pylint: disable redefined-slots-in-subclass

Related: https://pagure.io/freeipa/issue/9278

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Florence Blanc-Renaud 2022-11-18 17:22:12 +01:00
parent 12067297d8
commit a9c1c81a46

View File

@ -1082,7 +1082,7 @@ class classproperty:
class classobjectproperty(classproperty):
# A class property that also passes the object to the getter
# obj is None for class objects and 'self' for instance objects.
__slots__ = ('__doc__',)
__slots__ = ('__doc__',) # pylint: disable=redefined-slots-in-subclass
def __get__(self, obj, obj_type):
if self.fget is not None: