Files
alan.cl 597b1e63b8 fix(connector): 修复 CI 风格检测与陈旧单测
CI build-web 失败 + make fmt-check 报错的修复,均不影响功能逻辑:

- side-bar.tsx: 修复两处超长 className 键值对的 prettier 换行(CI 构建失败根因)
- agentic_data_api.py: BaseTool 加入 TYPE_CHECKING(F821);循环变量 tool->sub_tool 避免遮蔽 import(F402)
- catalog.py/task_executor.py/models.py: 超长字符串隐式拼接换行(E501),拼接结果不变
- manager.py: 精简过长的 docstring 与模块注释(E501)
- test_manager.py: 同步 4 个陈旧测试断言以匹配当前 connector 鉴权模型
  (所有类型强制 server_uri、headers 由 auth_type+token 派生、tool 摘要含 original_name)
- test_service.py: 精简过长的测试 docstring(E501)

验证: make fmt-check 全绿;connector 测试 53 passed

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 21:35:49 +08:00
..
2024-08-22 11:05:18 +08:00