project_config.plugins package
Project-config built-in plugins.
These plugins are not required to be specified in plugins
properties of styles.
- exception project_config.plugins.InvalidPluginFunction(message: str)[source]
Bases:
ProjectConfigException
Exception raised when a method of a plugin class is not valid.
- class project_config.plugins.Plugins(prepare_all: bool = False)[source]
Bases:
object
Plugins wrapper.
Performs all the logic concerning to plugins.
Plugins modules are loaded on demand, only when an action specified by a rule requires it, and cached for later demanding from rules.
- _add_plugin_to_cache(plugin_entry_point: EntryPoint) None [source]
- get_function_for_action(action: str) PluginMethod [source]
Get the function that performs an action given her name.