pylint: Fix useless-object-inheritance

https://pylint.pycqa.org/en/latest/user_guide/messages/refactor/useless-object-inheritance.html:
> Used when a class inherit from object, which under python3 is
implicit, hence can be safely removed from bases.

Fixes: https://pagure.io/freeipa/issue/9278
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
This commit is contained in:
Stanislav Levin
2022-12-20 11:58:37 +03:00
committed by Florence Blanc-Renaud
parent c523e85835
commit b8480549c6
5 changed files with 6 additions and 10 deletions

View File

@@ -121,7 +121,6 @@ disable=
use-list-literal, # pylint 2.10.0 list() vs []
unspecified-encoding, # pylint 2.10.0, ASCII or UTF8 and platform-specific
use-implicit-booleaness-not-comparison, # pylint 2.12.2, weak comparison
useless-object-inheritance,
[REPORTS]