AutoFix Bot
259f2c90d0
fix: auto-fix code issues (cron)
...
- 修复隐式 Optional 类型注解 (RUF013)
- 修复不必要的赋值后返回 (RET504)
- 优化列表推导式 (PERF401)
- 修复未使用的参数 (ARG002)
- 清理重复导入
- 优化异常处理
2026-03-03 21:11:47 +08:00
AutoFix Bot
9fd1da8fb7
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-03-03 06:03:38 +08:00
AutoFix Bot
2a0ed6af4d
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题 (816+ 处)
- 添加缺失的导入 (json, re)
- 统一SQL查询格式
- 修复赋值语句空格问题
修复文件:
- db_manager.py (96处)
- search_manager.py (77处)
- ops_manager.py (66处)
- developer_ecosystem_manager.py (68处)
- growth_manager.py (60处)
- enterprise_manager.py (61处)
- tenant_manager.py (57处)
- plugin_manager.py (48处)
- subscription_manager.py (46处)
- security_manager.py (29处)
- workflow_manager.py (32处)
- localization_manager.py (31处)
- api_key_manager.py (20处)
- ai_manager.py (23处)
- performance_manager.py (24处)
- neo4j_manager.py (25处)
- collaboration_manager.py (33处)
- test_phase8_task8.py (16处)
- test_phase8_task6.py (4处)
- knowledge_reasoner.py (添加import json)
- llm_client.py (添加import json)
2026-03-03 00:11:51 +08:00
AutoFix Bot
98527c4de4
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-03-02 12:14:39 +08:00
AutoFix Bot
e23f1fec08
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 修复语法错误(运算符空格问题)
- 修复类型注解格式
2026-03-02 06:09:49 +08:00
AutoFix Bot
cdf0e80851
fix: auto-fix code issues (cron)
...
- 修复未定义名称 (F821): 添加缺失的导入
- ExportEntity, ExportRelation, ExportTranscript
- WorkflowManager, PluginManager, OpsManager
- urllib.parse
- 修复裸异常捕获: except: → except Exception:
- 删除 __pycache__ 缓存文件
- 格式化代码 (PEP8)
自动化修复: 23个问题
剩余需手动处理: 104个行长度问题 (E501)
2026-03-01 21:14:19 +08:00
AutoFix Bot
e46c938b40
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题 (E302, E305, E501)
- 修复行长度超过100字符的问题
- 修复F821未定义名称错误
2026-03-01 18:19:06 +08:00
OpenClaw Bot
1f33d203e8
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理 (将裸 except Exception 改为具体异常类型)
- 修复PEP8格式问题
- 清理未使用导入
- 添加 UUID_LENGTH 常量替代魔法数字
- 添加 DEFAULT_RATE_LIMIT, MASTER_KEY_RATE_LIMIT, IP_RATE_LIMIT 常量
- 添加 MAX_TEXT_LENGTH, DEFAULT_TIMEOUT 常量
涉及文件:
- backend/main.py
- backend/db_manager.py
- backend/llm_client.py
- backend/neo4j_manager.py
- backend/tingwu_client.py
- backend/tenant_manager.py
- backend/growth_manager.py
- backend/workflow_manager.py
- backend/image_processor.py
- backend/multimodal_entity_linker.py
- backend/multimodal_processor.py
- backend/plugin_manager.py
- backend/rate_limiter.py
2026-03-01 03:06:06 +08:00
OpenClaw Bot
ea58b6fe43
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-03-01 00:08:06 +08:00
OpenClaw Bot
8492e7a0d3
fix: auto-fix code issues (cron)
...
- 修复缺失导入: main.py 添加 AttributeTemplate 和 EntityAttribute 导入
- 修复裸异常捕获: 将 BaseException 改为具体异常类型
- neo4j_manager.py: Exception
- main.py: json.JSONDecodeError, ValueError, Exception
- export_manager.py: AttributeError, TypeError, ValueError
- localization_manager.py: ValueError, AttributeError
- performance_manager.py: TypeError, ValueError
- plugin_manager.py: OSError, IOError
- 修复部分行长度问题: security_manager.py 长行拆分
2026-02-28 21:14:59 +08:00
OpenClaw Bot
1a9b5391f7
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 09:15:51 +08:00
OpenClaw Bot
74c2daa5ef
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 09:11:38 +08:00
OpenClaw Bot
fe3d64a1d2
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
- 修复缺失的urllib.parse导入
2026-02-28 06:03:09 +08:00
OpenClaw Bot
33555642db
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-28 03:03:50 +08:00
OpenClaw Bot
d767f0dddc
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-27 21:12:04 +08:00
OpenClaw Bot
17bda3dbce
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
2026-02-27 18:09:24 +08:00
OpenClaw Bot
be22b763fa
fix: auto-fix code issues (cron)
...
- 修复重复导入/字段
- 修复异常处理
- 修复PEP8格式问题
- 添加类型注解
- 修复重复函数定义 (health_check, create_webhook_endpoint, etc)
- 修复未定义名称 (SearchOperator, TenantTier, Query, Body, logger)
- 修复 workflow_manager.py 的类定义重复问题
- 添加缺失的导入
2026-02-27 09:18:58 +08:00
OpenClaw Bot
403e1cde28
Phase 5: Add Neo4j graph database integration
...
- Add neo4j_manager.py with full graph operations support
- Data sync: projects, entities, relations to Neo4j
- Graph queries: shortest path, all paths, neighbors, common neighbors
- Graph algorithms: centrality analysis, community detection
- Add 11 new API endpoints for graph operations
- Update docker-compose.yml with Neo4j service
- Update requirements.txt with neo4j driver
2026-02-20 12:04:41 +08:00