summaryrefslogtreecommitdiff
path: root/pylint/lint.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2015-07-26 11:51:04 +0200
committerFlorian Bruhin <me@the-compiler.org>2015-07-26 11:51:04 +0200
commit64e1eff9bab332c47cd9bb68967fd6d6962987d2 (patch)
tree8a40b7bbc692d7d353a8ad13f94de0f31761cbed /pylint/lint.py
parent99d3a65574db1d7ea35dacee33b3a83cebfcea38 (diff)
downloadpylint-64e1eff9bab332c47cd9bb68967fd6d6962987d2.tar.gz
Get rid of logilab.common.interface.
Diffstat (limited to 'pylint/lint.py')
-rw-r--r--pylint/lint.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pylint/lint.py b/pylint/lint.py
index 570edf3..5760d05 100644
--- a/pylint/lint.py
+++ b/pylint/lint.py
@@ -43,7 +43,6 @@ import astroid
from astroid.__pkginfo__ import version as astroid_version
from astroid import modutils
from logilab.common import configuration
-from logilab.common import interface
from logilab.common import ureports
import six
@@ -836,14 +835,14 @@ class PyLinter(configuration.OptionsManagerMixIn,
walker = utils.PyLintASTWalker(self)
_checkers = self.prepare_checkers()
tokencheckers = [c for c in _checkers
- if interface.implements(c, interfaces.ITokenChecker)
+ if interfaces.implements(c, interfaces.ITokenChecker)
and c is not self]
rawcheckers = [c for c in _checkers
- if interface.implements(c, interfaces.IRawChecker)]
+ if interfaces.implements(c, interfaces.IRawChecker)]
# notify global begin
for checker in _checkers:
checker.open()
- if interface.implements(checker, interfaces.IAstroidChecker):
+ if interfaces.implements(checker, interfaces.IAstroidChecker):
walker.add_checker(checker)
# build ast and check modules or packages
for descr in self.expand_files(files_or_modules):