2db2c6c pylint: Enable useless-suppression

1 file Authored by slev 2 years ago, Committed by rcritten 2 years ago,
1 file changed. 10 lines added. 2 lines removed.
    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>
    
        
file modified
+10 -2