Skip to content

ci: 修复 mypy 找不到可选依赖 tree_sitter 导致的 CI 失败#3

Merged
GOSICK-Angel merged 1 commit into
mainfrom
feat/web
Jun 2, 2026
Merged

ci: 修复 mypy 找不到可选依赖 tree_sitter 导致的 CI 失败#3
GOSICK-Angel merged 1 commit into
mainfrom
feat/web

Conversation

@GOSICK-Angel

Copy link
Copy Markdown
Owner

tree-sitter 系列依赖位于 ast 可选依赖组,CI 仅安装 .[dev] 不含该组,
mypy 静态检查 treesitter_extractor.py 时报 import-not-found。新增 per-module override 忽略该有意不安装的可选依赖的缺失导入。

tree-sitter 系列依赖位于 ast 可选依赖组,CI 仅安装 .[dev] 不含该组,
mypy 静态检查 treesitter_extractor.py 时报 import-not-found。新增
per-module override 忽略该有意不安装的可选依赖的缺失导入。
@GOSICK-Angel GOSICK-Angel merged commit a1815ab into main Jun 2, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant