Complete AI Data Analysis Agent implementation with 95.7% test coverage

This commit is contained in:
2026-03-07 00:04:29 +08:00
parent 621e546b43
commit 7071b1f730
245 changed files with 22612 additions and 2211 deletions

View File

@@ -0,0 +1,13 @@
{
"enabled": true,
"name": "Code Quality Review",
"description": "在 git push 前手动触发,审核所有 Python 文件的代码质量",
"version": "1",
"when": {
"type": "userTriggered"
},
"then": {
"type": "askAgent",
"prompt": "审核刚刚编辑的 Python 文件,检查以下代码质量问题并给出具体改进建议:\n1. 命名规范(变量、函数、类名是否符合 PEP8\n2. 函数复杂度(是否过长或逻辑过于复杂)\n3. 错误处理(是否有适当的异常处理)\n4. 代码重复(是否有可以抽取的重复逻辑)\n5. 注释和文档字符串是否完整\n请直接指出问题所在的具体行并给出修改建议。"
}
}