style: black格式化scripts目录下的CI辅助脚本

This commit is contained in:
2026-07-13 15:07:32 +08:00
parent ecfe471ee7
commit bde3828cdc
+3 -2
View File
@@ -11,7 +11,9 @@ def main() -> int:
webhook = os.environ.get("CI_NOTIFY_WEBHOOK", "")
if not webhook:
print("未配置 CI_NOTIFY_WEBHOOK,跳过成功通知")
print("如需启用,请在仓库 Settings -> Secrets and variables -> Actions 中添加 CI_NOTIFY_WEBHOOK")
print(
"如需启用,请在仓库 Settings -> Secrets and variables -> Actions 中添加 CI_NOTIFY_WEBHOOK"
)
return 0
success_job = os.environ.get("SUCCESS_JOB", "Unknown Job")
@@ -81,4 +83,3 @@ def main() -> int:
if __name__ == "__main__":
sys.exit(main())