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-27 13:35:58 +02:00
parent 9d83be3647
commit 45e3aee352
68 changed files with 130 additions and 1 deletions
+2
View File
@@ -54,6 +54,8 @@ from ipapython import config
from ipaplatform.paths import paths
from ipapython.dn import DN
# pylint: disable=unused-variable
SHARE_DIR = paths.USR_SHARE_IPA_DIR
PLUGINS_SHARE_DIR = paths.IPA_PLUGINS