Fix ruff ambiguous-variable-name lint in render.py
This commit is contained in:
+2
-2
@@ -96,8 +96,8 @@ def render_split(manifest: dict) -> dict:
|
||||
for arch, leg in manifest["legs"].items():
|
||||
header = leg["header"].rstrip("\n") + "\n"
|
||||
entrypoint_comment = "".join(
|
||||
f" # {l}\n" if l else " #\n"
|
||||
for l in leg["entrypoint_comment"].rstrip("\n").splitlines()
|
||||
f" # {line}\n" if line else " #\n"
|
||||
for line in leg["entrypoint_comment"].rstrip("\n").splitlines()
|
||||
)
|
||||
out[f"{arch}.yaml"] = tmpl.format(
|
||||
repo=repo,
|
||||
|
||||
Reference in New Issue
Block a user