From 78444f4c06df6a634fa67dd99ee7c07b6b633d9e Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 5 Jan 2023 20:10:24 -0500 Subject: style: use good style for annotated defaults parameters --- coverage/plugin_support.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/plugin_support.py') diff --git a/coverage/plugin_support.py b/coverage/plugin_support.py index 8ac42491..62985a06 100644 --- a/coverage/plugin_support.py +++ b/coverage/plugin_support.py @@ -39,7 +39,7 @@ class Plugins: cls, modules: Iterable[str], config: CoverageConfig, - debug: Optional[TDebugCtl]=None, + debug: Optional[TDebugCtl] = None, ) -> Plugins: """Load plugins from `modules`. @@ -139,7 +139,7 @@ class Plugins: class LabelledDebug: """A Debug writer, but with labels for prepending to the messages.""" - def __init__(self, label: str, debug: TDebugCtl, prev_labels: Iterable[str]=()): + def __init__(self, label: str, debug: TDebugCtl, prev_labels: Iterable[str] = ()): self.labels = list(prev_labels) + [label] self.debug = debug -- cgit v1.2.1