Pylint: enable check for unused-variables

Unused variables may:
* make code less readable
* create dead code
* potentialy hide issues/errors

Enabled check should prevent to leave unused variable in code

Check is locally disabled for modules that fix is not clear or easy or have too many occurences of
unused variables

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Martin Basti
2016-09-26 18:24:39 +02:00
parent 9d83be3647
commit 45e3aee352
68 changed files with 130 additions and 1 deletions

View File

@@ -30,6 +30,8 @@ from ipapython.ipa_log_manager import root_logger
from ipapython import ipautil
from ipalib import x509
# pylint: disable=unused-variable
CA_NICKNAME_FMT = "%s IPA CA"