--- a/DebugClients/Python/coverage/plugin_support.py Mon Apr 02 12:04:56 2018 +0200 +++ b/DebugClients/Python/coverage/plugin_support.py Tue May 01 12:03:52 2018 +0200 @@ -20,6 +20,7 @@ self.order = [] self.names = {} self.file_tracers = [] + self.configurers = [] self.current_module = None self.debug = None @@ -28,7 +29,7 @@ def load_plugins(cls, modules, config, debug=None): """Load plugins from `modules`. - Returns a list of loaded and configured plugins. + Returns a Plugins object with the loaded and configured plugins. """ plugins = cls() @@ -60,6 +61,15 @@ """ self._add_plugin(plugin, self.file_tracers) + def add_configurer(self, plugin): + """Add a configuring plugin. + + `plugin` is an instance of a third-party plugin class. It must + implement the :meth:`CoveragePlugin.configure` method. + + """ + self._add_plugin(plugin, self.configurers) + def add_noop(self, plugin): """Add a plugin that does nothing.