diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-01-05 20:10:24 -0500 |
commit | 78444f4c06df6a634fa67dd99ee7c07b6b633d9e (patch) | |
tree | 4651930bc1ec5449e408c347b2d660522f8ac9e4 /coverage/plugin_support.py | |
parent | d4339ee90c3146f370d572cbb1b9ab9907daafad (diff) | |
download | python-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz |
style: use good style for annotated defaults parameters
Diffstat (limited to 'coverage/plugin_support.py')
-rw-r--r-- | coverage/plugin_support.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |