Skip to content

Commit 003dfc8

Browse files
committed
scripts/runtime_dep_smoketest.py(style): satisfy ruff spacing
why: ruff flagged blank lines after docstrings and long lines during CI. what: - remove blank lines after docstrings per D202 and reorganize the helper signature. - break long strings and avoid undefined variables when logging failures.
1 parent 5038b16 commit 003dfc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/runtime_dep_smoketest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ def exercise_cli(
163163
verbose=verbose,
164164
)
165165
if exit_code != 0:
166+
probe_display = " ".join(probe_args)
166167
failures.append(
167-
f"{executable} {subcommand} {' '.join(probe_args)} (exit code {exit_code})",
168+
f"{executable} {subcommand} {probe_display} (exit code {exit_code})",
168169
)
169170
return failures
170171

0 commit comments

Comments
 (0)