lint: ruff format + one auto-fix so the push self-test is green again
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
`scripts/lint.sh --fix` from the pinned lint devshell: 90 Python files reformatted (ruff format, mechanical) and one C420 (dict comprehension → dict.fromkeys) in tests/unit/test_f211_sso_skip.py. The push self-test had been failing at the lint stage since build 1313 (2026-08-31) on exactly these files; nothing else changed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqkQq3CDmFWcQ7u1LzoyRz
This commit is contained in:
@@ -98,7 +98,7 @@ def _stage_rows(stages: list[dict]) -> str:
|
||||
scolor = STATUS_COLOR.get(st.get("status", ""), "#8b949e")
|
||||
rows.append(
|
||||
f'<tr class="stage"><td colspan="2"><span class="mark" style="color:{scolor}">{smark}</span>'
|
||||
f'<b>{html.escape(st.get("name", "?"))}</b></td>'
|
||||
f"<b>{html.escape(st.get('name', '?'))}</b></td>"
|
||||
f'<td class="st" style="color:{scolor}">{html.escape(st.get("status", ""))}</td></tr>'
|
||||
)
|
||||
for t in st.get("tests", []):
|
||||
@@ -175,7 +175,7 @@ def render_card_html(data: dict, screenshot_rel: str | None = "screenshot.png")
|
||||
ok = bool(flags.get(key))
|
||||
flag_bits.append(
|
||||
f'<span class="flag" style="border-color:{"#3fb950" if ok else "#f85149"}">'
|
||||
f'{STATUS_MARK["pass"] if ok else STATUS_MARK["fail"]} {lbl}</span>'
|
||||
f"{STATUS_MARK['pass'] if ok else STATUS_MARK['fail']} {lbl}</span>"
|
||||
)
|
||||
show_shot = bool(screenshot_rel) and bool(data.get("screenshot"))
|
||||
shot_html = (
|
||||
|
||||
Reference in New Issue
Block a user