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

This commit is contained in:
2026-07-13 15:07:31 +08:00
parent dbf5ad4997
commit ecfe471ee7
+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
failed_job = os.environ.get("FAILED_JOB", "Unknown Job")
@@ -81,4 +83,3 @@ def main() -> int:
if __name__ == "__main__":
sys.exit(main())