fix: auto-fix code issues (cron)

- 修复PEP8格式问题(行长度超过120字符)
- 修复类型注解(添加__init__和_get_db返回类型)
- 删除__pycache__缓存文件
- 优化长SQL查询语句格式
This commit is contained in:
OpenClaw Bot
2026-02-28 12:12:22 +08:00
parent 6ff46cceb7
commit bfeaf4165e
48 changed files with 63 additions and 29 deletions

View File

@@ -973,7 +973,12 @@ class OpsManager:
"tag": "div",
"text": {
"tag": "lark_md",
"content": f"**描述:** {alert.description}\n\n**指标:** {alert.metric}\n**当前值:** {alert.value}\n**阈值:** {alert.threshold}",
"content": (
f"**描述:** {alert.description}\n\n"
f"**指标:** {alert.metric}\n"
f"**当前值:** {alert.value}\n"
f"**阈值:** {alert.threshold}"
),
},
},
{