Skip to content

Commit 71d0581

Browse files
committed
Lint
1 parent be427b5 commit 71d0581

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bench_runner/plot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,13 +496,16 @@ def get_comparison_value(ref, r, force_valid):
496496
] = r
497497

498498
for subplot, ax in zip(subplots, axs):
499+
499500
ax.set_title(f"Effect of {subplot.name}")
500501
version = tuple(int(x) for x in subplot.version.split("."))
501502
assert len(version) == 2, (
502503
"Version config in {subplot.name}" " should only be major.minor"
503504
)
504505

505506
for runner in cfg.runners.values():
507+
assert runner.plot is not None
508+
506509
if subplot.runners and runner.nickname not in subplot.runners:
507510
continue
508511
runner_is_mapped = runner.nickname in subplot.runner_map

0 commit comments

Comments
 (0)