summaryrefslogtreecommitdiff
path: root/lab
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-01-05 20:10:24 -0500
committerNed Batchelder <ned@nedbatchelder.com>2023-01-05 20:10:24 -0500
commit78444f4c06df6a634fa67dd99ee7c07b6b633d9e (patch)
tree4651930bc1ec5449e408c347b2d660522f8ac9e4 /lab
parentd4339ee90c3146f370d572cbb1b9ab9907daafad (diff)
downloadpython-coveragepy-git-78444f4c06df6a634fa67dd99ee7c07b6b633d9e.tar.gz
style: use good style for annotated defaults parameters
Diffstat (limited to 'lab')
-rw-r--r--lab/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lab/benchmark.py b/lab/benchmark.py
index f3bc86d7..4c5de3c4 100644
--- a/lab/benchmark.py
+++ b/lab/benchmark.py
@@ -157,7 +157,7 @@ class ProjectToTest:
class EmptyProject(ProjectToTest):
"""A dummy project for testing other parts of this code."""
- def __init__(self, slug: str="empty", fake_durations: Iterable[float]=(1.23,)):
+ def __init__(self, slug: str = "empty", fake_durations: Iterable[float] = (1.23,)):
self.slug = slug
self.durations = iter(itertools.cycle(fake_durations))