Module: check_mk
Branch: master
Commit: c20f26fe72665a81b1504ba9e53311a11bf3fa28
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c20f26fe72665a…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jul 25 09:19:06 2018 +0200
Classify redefined-outer-name warning.
Change-Id: If61637fd9864b5b51828a47d51887f11053ab63c
---
tests/pylint/pylintrc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index 9e1154e..8e8f59f 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -26,7 +26,6 @@ disable=
protected-access,
redefined-argument-from-local,
redefined-builtin,
- redefined-outer-name,
reimported,
relative-import,
ungrouped-imports,
@@ -76,6 +75,11 @@ disable=
bare-except,
broad-except,
#---------------------------------------------------------------------------
+ # Enabling this would enhance readability quite a bit and it might even
+ # uncover bugs. Fixing this is not rocket science, just some work: Roughly
+ # 400 warnings in about 60 modules, but this can be fixed step by step.
+ redefined-outer-name,
+ #---------------------------------------------------------------------------
# Enabling this would be nice, but not crucial. At the moment, we have quite
# a few violations, so we postpone fixing this. When we do it eventually, we
# probably want to use "include-naming-hint=yes" in the BASIC section.