Skip to content

Commit c3cc219

Browse files
committed
delint
Signed-off-by: Sylvain Hellegouarch <[email protected]>
1 parent 74c03fd commit c3cc219

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

chaosreport/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def generate_report_header(
125125
for title in experiment_titles:
126126
contributions[title] = [None] * number_of_contributions
127127

128-
for (title, level, contrib) in contributions_by_experiment:
128+
for title, level, contrib in contributions_by_experiment:
129129
idx = contribution_labels.index(contrib)
130130
amount = 0
131131
if level == "high":
@@ -203,7 +203,7 @@ def generate_report_header(
203203
for tag in tags:
204204
contributions[tag] = [None] * number_of_contributions
205205

206-
for (tag, level, contrib) in contributions_by_tag:
206+
for tag, level, contrib in contributions_by_tag:
207207
idx = contribution_labels.index(contrib)
208208
amount = 0
209209
if level == "high":
@@ -362,7 +362,7 @@ def get_report_template(
362362
templates = sorted(templates, key=lambda vinfo: vinfo[0])
363363

364364
report_version = report_version.replace("rc1", "-rc1")
365-
for (vinfo, name) in templates:
365+
for vinfo, name in templates:
366366
if semver.match(
367367
report_version,
368368
"<={v}".format(v=semver.format_version(**vinfo._asdict())),
@@ -411,7 +411,6 @@ def generate_chart_from_prometheus(run: Run, export_format: str):
411411
if data:
412412
result_type = data.get("resultType")
413413
if result_type == "matrix":
414-
415414
chart = pygal.Line(
416415
x_label_rotation=20,
417416
style=DefaultStyle,
@@ -657,7 +656,7 @@ def add_contribution_model(journal: Journal, export_format: str):
657656

658657
chart = pygal.Pie()
659658
chart.title = "Organization Contributions Impact"
660-
for (contribution, impact) in contributions.items():
659+
for contribution, impact in contributions.items():
661660
value = 0
662661
if impact == "high":
663662
value = 1

0 commit comments

Comments
 (0)