Fix ruff ambiguous-variable-name lint in render.py

This commit is contained in:
2026-07-04 19:17:55 +03:00
parent 4ab389d1eb
commit ace3afa2b4
+2 -2
View File
@@ -96,8 +96,8 @@ def render_split(manifest: dict) -> dict:
for arch, leg in manifest["legs"].items(): for arch, leg in manifest["legs"].items():
header = leg["header"].rstrip("\n") + "\n" header = leg["header"].rstrip("\n") + "\n"
entrypoint_comment = "".join( entrypoint_comment = "".join(
f" # {l}\n" if l else " #\n" f" # {line}\n" if line else " #\n"
for l in leg["entrypoint_comment"].rstrip("\n").splitlines() for line in leg["entrypoint_comment"].rstrip("\n").splitlines()
) )
out[f"{arch}.yaml"] = tmpl.format( out[f"{arch}.yaml"] = tmpl.format(
repo=repo, repo=repo,