summaryrefslogtreecommitdiff
path: root/pylint/pyreverse/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-03 15:18:22 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-03 15:18:22 +0300
commitada4ef88555020acbafe772975f7bb0aa01d7e14 (patch)
treec116f37fb5301f5ae8af7f078f49151e322e4559 /pylint/pyreverse/utils.py
parenta7483fb763c3e19f6f3d5a28743b720c11da1873 (diff)
downloadpylint-git-ada4ef88555020acbafe772975f7bb0aa01d7e14.tar.gz
New imported features from astroid into pyreverse.
We moved pyreverse.inspector.Project, pyreverse.inspector.project_from_files and pyreverse.inspector.interfaces. These were moved since they didn't belong in astroid and they can be better maintained inside pyreverse itself.
Diffstat (limited to 'pylint/pyreverse/utils.py')
-rw-r--r--pylint/pyreverse/utils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pylint/pyreverse/utils.py b/pylint/pyreverse/utils.py
index 0127d2733..9609ad097 100644
--- a/pylint/pyreverse/utils.py
+++ b/pylint/pyreverse/utils.py
@@ -18,9 +18,9 @@ generic classes/functions for pyreverse core/extensions
"""
from __future__ import print_function
-import sys
-import re
import os
+import re
+import sys
########### pyreverse option utils ##############################
@@ -110,6 +110,7 @@ MODES = {
VIS_MOD = {'special': _SPECIAL, 'protected': _PROTECTED,
'private': _PRIVATE, 'public': 0}
+
class FilterMixIn(object):
"""filter nodes according to a mode and nodes' visibility
"""