Skip to content

Commit 162ca2c

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 87edc50 commit 162ca2c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitlab/scripts/gen_hw_jobs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ def parse_list_arg(s: str) -> list[str]:
177177
fixed = txt.replace("'", '"')
178178
return [str(x).strip() for x in json.loads(fixed)]
179179
except Exception as e2:
180-
sys.stderr.write(f"[WARN] Failed to parse JSON list after normalization: {e2}. Falling back to CSV parsing.\n")
180+
sys.stderr.write(
181+
f"[WARN] Failed to parse JSON list after normalization: {e2}. Falling back to CSV parsing.\n"
182+
)
181183
# Fallback: comma-separated
182184
return [part.strip() for part in txt.split(",") if part.strip()]
183185

0 commit comments

Comments
 (0)