fix(lint): F541 f-string 无占位符去掉 f 前缀
CI / lint (pull_request) Successful in 7s
CI / test (pull_request) Successful in 9s
CI / notify-on-failure (pull_request) Successful in 1s

This commit is contained in:
cfdaily
2026-06-13 23:40:56 +08:00
parent c89863a288
commit 3b9ad83405
10 changed files with 4389 additions and 11 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ class ToolchainApiSection:
"如果在执行过程中需要其他角色协助(如缺数据、需要审批等),在关联的 PR/Issue 上创建 comment @对方:",
"```bash",
f'curl -s -X POST "{_GITEA_BASE}/repos/{{repo}}/issues/{{pr_number}}/comments" \\',
f' -H "Authorization: token <your-token>" \\',
' -H "Authorization: token <your-token>" \\',
' -H "Content-Type: application/json" \\',
' -d \'{"body": "@{agent-id} 需要你的支持:{描述问题}"}\'',
"```",