summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pylint/lint.py4
-rw-r--r--pylint/testutils.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/pylint/lint.py b/pylint/lint.py
index 0ac9c98..19aa838 100644
--- a/pylint/lint.py
+++ b/pylint/lint.py
@@ -691,8 +691,8 @@ class PyLinter(configuration.OptionsManagerMixIn,
def get_checkers(self):
"""return all available checkers as a list"""
- return [self] + [c for checkers in six.itervalues(self._checkers)
- for c in checkers if c is not self]
+ return [self] + [c for _checkers in six.itervalues(self._checkers)
+ for c in _checkers if c is not self]
def prepare_checkers(self):
"""return checkers needed for activated messages and reports"""
diff --git a/pylint/testutils.py b/pylint/testutils.py
index 34ac47c..e4a0de1 100644
--- a/pylint/testutils.py
+++ b/pylint/testutils.py
@@ -318,7 +318,7 @@ class LintTestUsingFile(LintTestUsingModule):
importable += '.py'
tocheck = [importable]
if self.depends:
- tocheck += [join(self.INPUT_DIR, name) for name, _file in self.depends]
+ tocheck += [join(self.INPUT_DIR, name) for name, _ in self.depends]
self._test(tocheck)
class LintTestUpdate(LintTestUsingModule):