summaryrefslogtreecommitdiff
path: root/coverage/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/types.py')
-rw-r--r--coverage/types.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/coverage/types.py b/coverage/types.py
index 736269e0..3d21ac9d 100644
--- a/coverage/types.py
+++ b/coverage/types.py
@@ -136,6 +136,13 @@ class TConfigurable(Protocol):
"""
+class TPluginConfig(Protocol):
+ """Something that can provide options to a plugin."""
+
+ def get_plugin_options(self, plugin: str) -> TConfigSectionOut:
+ """Get the options for a plugin."""
+
+
## Parsing
TMorf = Union[ModuleType, str]