fix(lint): ruff auto-fix + lewooogo-core src 加入 git
- Python: ruff --fix 修復 280 個 lint 錯誤 - lewooogo-core: src/ 目錄未追蹤,導致 CI eslint 失敗 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -182,7 +182,7 @@ async def main():
|
||||
proposal_result = await generate_proposal(incident_id)
|
||||
|
||||
if not proposal_result or not proposal_result.get("success"):
|
||||
print(f" [FAIL] 無法生成 Proposal")
|
||||
print(" [FAIL] 無法生成 Proposal")
|
||||
print(f" message: {proposal_result.get('message') if proposal_result else 'N/A'}")
|
||||
return
|
||||
|
||||
@@ -212,7 +212,7 @@ async def main():
|
||||
for approval in pending.get("approvals", []):
|
||||
if approval.get("id") == proposal.get("id"):
|
||||
found = True
|
||||
print(f" [FOUND] Proposal 出現在待簽核清單中!")
|
||||
print(" [FOUND] Proposal 出現在待簽核清單中!")
|
||||
print()
|
||||
print(" === PendingApprovalsResponse JSON ===")
|
||||
print(json.dumps({
|
||||
@@ -223,7 +223,7 @@ async def main():
|
||||
|
||||
if not found:
|
||||
print(" [WARN] Proposal 未出現在待簽核清單中")
|
||||
print(f" (可能因為 risk_level=LOW 已自動批准)")
|
||||
print(" (可能因為 risk_level=LOW 已自動批准)")
|
||||
|
||||
# 5. 最終驗證
|
||||
print("\n" + "=" * 70)
|
||||
|
||||
Reference in New Issue
Block a user