mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
pylint: Enable useless-suppression
https://pylint.pycqa.org/en/latest/user_guide/message-control.html#detecting-useless-disables: > As pylint gets better and false positives are removed, disables that became useless can accumulate and clutter the code. In order to clean them you can enable the useless-suppression warning. This doesn't enforce useless-suppression warnings as errors. The idea is cleanup of these warings on every Pylint's bump. Fixes: https://pagure.io/freeipa/issue/9117 Signed-off-by: Stanislav Levin <slev@altlinux.org> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
df3c40fd34
commit
57ee7d38e9
12
pylintrc
12
pylintrc
@ -28,10 +28,18 @@ valid-metaclass-classmethod-first-arg=cls
|
|||||||
|
|
||||||
enable=
|
enable=
|
||||||
all,
|
all,
|
||||||
python3
|
python3,
|
||||||
|
useless-suppression,
|
||||||
|
|
||||||
disable=
|
disable=
|
||||||
I,
|
bad-inline-option,
|
||||||
|
c-extension-no-member,
|
||||||
|
deprecated-pragma,
|
||||||
|
file-ignored,
|
||||||
|
locally-disabled,
|
||||||
|
raw-checker-failed,
|
||||||
|
suppressed-message,
|
||||||
|
use-symbolic-message-instead,
|
||||||
duplicate-code,
|
duplicate-code,
|
||||||
interface-not-implemented,
|
interface-not-implemented,
|
||||||
no-self-use,
|
no-self-use,
|
||||||
|
Loading…
Reference in New Issue
Block a user