Fix ruff f-string-missing-placeholders in render_thin
This commit is contained in:
+5
-2
@@ -147,7 +147,7 @@ def render_thin(repo: dict) -> str:
|
||||
|
||||
doctor_block = ""
|
||||
if doctor:
|
||||
doctor_block = f""" # ENFORCEMENT gate (cluster #193): run parity-lib's pipeline-doctor --strict
|
||||
doctor_block = """ # ENFORCEMENT gate (cluster #193): run parity-lib's pipeline-doctor --strict
|
||||
# against THIS repo BEFORE publishing. Read-only, no registry contact, no
|
||||
# token. The doctor's non-zero exit fails the pipeline on any parity-contract
|
||||
# violation (or, in --strict, any warning), so a drifted repo never publishes.
|
||||
@@ -161,7 +161,10 @@ def render_thin(repo: dict) -> str:
|
||||
|
||||
env_lines = []
|
||||
if gitea_clone_token:
|
||||
env_lines += [" GITEA_CLONE_TOKEN:", " from_secret: gitea_clone_token"]
|
||||
env_lines += [
|
||||
" GITEA_CLONE_TOKEN:",
|
||||
" from_secret: gitea_clone_token",
|
||||
]
|
||||
if token_direct:
|
||||
env_lines += [" REGISTRY_TOKEN:", " from_secret: registry_token"]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user