Module: check_mk
Branch: master
Commit: b9ac8d1703d9df0b37486b9fb442507b0246ca78
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b9ac8d1703d9df…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Jul 13 14:31:31 2018 +0200
Fixed and enabled blacklisted-name warnings.
Change-Id: I9840c85e4a3a3fd3a9d626fb50d3f8b1a9414ded
---
cmk/gui/plugins/views/commands.py | 2 +-
tests/pylint/pylintrc | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/cmk/gui/plugins/views/commands.py b/cmk/gui/plugins/views/commands.py
index d2a6780..8b0eee3 100644
--- a/cmk/gui/plugins/views/commands.py
+++ b/cmk/gui/plugins/views/commands.py
@@ -893,7 +893,7 @@ def command_star(cmdtag, spec, row):
def command_executor_star(command, site):
- foo, star, spec = command.split(";", 2)
+ _unused, star, spec = command.split(";", 2)
stars = config.user.load_stars()
if star == "0" and spec in stars:
stars.remove(spec)
diff --git a/tests/pylint/pylintrc b/tests/pylint/pylintrc
index efbed2e..cafe9aa 100644
--- a/tests/pylint/pylintrc
+++ b/tests/pylint/pylintrc
@@ -18,7 +18,6 @@ disable=
bad-indentation,
bad-whitespace,
bare-except,
- blacklisted-name,
broad-except,
c-extension-no-member,
cell-var-from-loop,