class documentation

class OptionsProviderMixIn: (source)

Known subclasses: pylint.config.ConfigurationMixIn

View In Hierarchy

Mixin to provide options to an OptionsManager.

Method __init__ Undocumented
Method get_option_def Return the dictionary defining an option given its name.
Method load_defaults Initialize the provider using default values.
Method option_attrname Get the config attribute corresponding to opt.
Method option_value Get the current value for the given option.
Method options_and_values Undocumented
Method options_by_section Return an iterator on options grouped by section.
Method set_option Method called to set an option (registered in the options list).
Class Variable level Undocumented
Class Variable name Undocumented
Class Variable options Undocumented
Instance Variable config Undocumented
def __init__(self): (source)

Undocumented

def get_option_def(self, opt): (source)

Return the dictionary defining an option given its name.

def load_defaults(self): (source)

Initialize the provider using default values.

def option_attrname(self, opt, optdict=None): (source)

Get the config attribute corresponding to opt.

def option_value(self, opt): (source)

Get the current value for the given option.

def options_and_values(self, options=None): (source)

Undocumented

def options_by_section(self): (source)

Return an iterator on options grouped by section. (section, [list of (optname, optdict, optvalue)])

def set_option(self, optname, value, action=None, optdict=None): (source)

Method called to set an option (registered in the options list).

Undocumented

Undocumented

options: Options = (source)

Undocumented

Undocumented