diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-01 21:41:10 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-01 21:41:10 +0300 |
commit | 7d9d8365065376461c588162afa6b0c495d8353c (patch) | |
tree | 9a03a50b519c8c246b9fa1ba6008493a9f00d678 /pylint/pyreverse | |
parent | 19161ddc41707337b3be5778ea2e01504f23ece0 (diff) | |
download | pylint-7d9d8365065376461c588162afa6b0c495d8353c.tar.gz |
Bring parts of logilab.common.configuration and logilab.common.optik_ext into pylint.config
The reason behind this is that we can better control the behaviour
of the underlying configuration modules, such as the case for undefined
options or for quickly fixing other bugs. Another side effect of this
change is that it gets us closer to the moment where we will not
be dependent on logilab.common anymore, which will definitely
make our pytest users happy.
Some parts were copied almost verbatim from logilab.common.configuration
and logilab.common.optik_ext and pylint.config will definitely need
a refactoring and reengineering for abstracting the configuration,
so that we won't use optparse anymore, but that's subject for another
patch.
Diffstat (limited to 'pylint/pyreverse')
-rw-r--r-- | pylint/pyreverse/main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pylint/pyreverse/main.py b/pylint/pyreverse/main.py index cb03435..0e7f87e 100644 --- a/pylint/pyreverse/main.py +++ b/pylint/pyreverse/main.py @@ -20,9 +20,10 @@ """ from __future__ import print_function -import sys, os -from logilab.common.configuration import ConfigurationMixIn +import os +import sys +from pylint.config import ConfigurationMixIn from pylint.pyreverse.inspector import Linker, project_from_files from pylint.pyreverse.diadefslib import DiadefsHandler from pylint.pyreverse import writer |