style: auto-format from pre-push hooks
This commit is contained in:
+6
-2
@@ -156,13 +156,17 @@ def render_split(manifest: dict) -> dict:
|
||||
f" # {line}\n" if line else " #\n"
|
||||
for line in leg["entrypoint_comment"].rstrip("\n").splitlines()
|
||||
)
|
||||
tag_event_line = " - event: tag\n" if manifest.get("when_tag_event", True) else ""
|
||||
tag_event_line = (
|
||||
" - event: tag\n" if manifest.get("when_tag_event", True) else ""
|
||||
)
|
||||
publish_flag = " -- --publish" if leg.get("publish_flag", True) else ""
|
||||
default_setup_comment = (
|
||||
f"nix.conf substituters + {git_host} netrc (to fetch the parity-lib\n"
|
||||
"flake input). Same bootstrap as flake-hub/ci/setup.sh."
|
||||
)
|
||||
setup_comment = _comment_block(leg.get("setup_comment", default_setup_comment), " ")
|
||||
setup_comment = _comment_block(
|
||||
leg.get("setup_comment", default_setup_comment), " "
|
||||
)
|
||||
out[f"{arch}.yaml"] = tmpl.format(
|
||||
repo=repo,
|
||||
nix_system=leg["nix_system"],
|
||||
|
||||
Reference in New Issue
Block a user