Exemple #1
0
 def __init__(self):
     config = default.copy()
     config['known_first_party'].append('ebonite')
     config['known_third_party'].append('xgboost')
     config['known_standard_library'].extend([
         'opcode',
         'nturl2path',  # pytest requirements missed by isort
         'pkg_resources',  # EBNT-112: workaround for imports from setup.py (see build/builder/docker.py)
         'posixpath',
         'setuptools',
         'pydevconsole',
         'pydevd_tracing',
         'pydev_ipython.matplotlibtools',
         'pydev_console.protocol',
         'pydevd_file_utils',
         'pydevd_plugins.extensions.types.pydevd_plugins_django_form_str',
         'pydev_console',
         'pydev_ipython',
         'pydevd_plugins.extensions.types.pydevd_plugin_numpy_types',
         'pydevd_plugins.extensions.types.pydevd_helpers',
         'pydevd_plugins',
         'pydevd_plugins.extensions.types',
         'pydevd_plugins.extensions',
         'pydev_ipython.inputhook'
     ])  # "built-in" pydev (and pycharm) modules
     section_names = config['sections']
     sections = namedtuple('Sections',
                           section_names)(*[name for name in section_names])
     self.finder = FindersManager(config, sections)
     self.module2section = {}
Exemple #2
0
 def initialize_options(self):
     default_settings = default.copy()
     for key, value in default_settings.items():
         setattr(self, key, value)
Exemple #3
0
 def initialize_options(self):
     default_settings = default.copy()
     for (key, value) in itemsview(default_settings):
         setattr(self, key, value)
Exemple #4
0
 def initialize_options(self):
     default_settings = default.copy()
     for (key, value) in itemsview(default_settings):
         setattr(self, key, value)
#! /usr/bin/env python
Exemple #6
0
 def initialize_options(self):
     default_settings = default.copy()
     for key, value in default_settings.items():
         setattr(self, key, value)