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:
@@ -16,13 +16,11 @@ Phase 6.1 測試腳本: Redis Streams Signal 流程驗證
|
||||
"""
|
||||
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
import httpx
|
||||
|
||||
|
||||
API_BASE_URL = os.getenv("API_BASE_URL", "http://localhost:8000")
|
||||
SIGNAL_ENDPOINT = f"{API_BASE_URL}/api/v1/webhooks/signals"
|
||||
|
||||
@@ -55,7 +53,7 @@ async def main():
|
||||
print(f"[1] 發送測試 Signal 到 {SIGNAL_ENDPOINT}")
|
||||
try:
|
||||
result = await send_test_signal()
|
||||
print(f" ✅ 成功!")
|
||||
print(" ✅ 成功!")
|
||||
print(f" Message ID: {result.get('message_id')}")
|
||||
print(f" Stream: {result.get('stream')}")
|
||||
except httpx.HTTPStatusError as e:
|
||||
|
||||
Reference in New Issue
Block a user