chore: jedi 显式预装 (requirements.txt + launcher 第三方白名单)
- requirements.txt 加 jedi: 装依赖即自动预装 L2 语义验证后端 (纯 Python) - launcher.third_party 加 jedi: scan_imports 重写 requirements 时不会丢 - 验证: py_detect 内缩进 import jedi 可被扫描正则捕获 - 无 jedi 仍自动降级纯标准库, 低配设备行为不变; 53 passed 零回归
This commit is contained in:
1 parent
5008d431c9
commit
4fb9392db4
2 files changed
+5
No files matched your search
@@ -127,6 +127,7 @@ class Launcher:
|
||||
'colorama', 'openai', 'requests', 'ollama', 'pygame',
|
||||
'PIL', 'Pillow', 'cv2', 'opencv-python', 'numpy',
|
||||
'ascii_magic', 'tkinter', 'matplotlib', 'pandas',
|
||||
'jedi', # py_detect L2 语义验证后端 / 自研本地 LSP(纯 Python,预装即启用)
|
||||
}
|
||||
|
||||
# ── 清屏 ──
|
||||
|
||||
@@ -19,3 +19,7 @@ pyflakes
|
||||
pycodestyle
|
||||
rope
|
||||
mccabe
|
||||
|
||||
# 自研本地 LSP 服务器 / py_detect L2 语义验证后端
|
||||
# 纯 Python 语义引擎,装依赖即自动预装(L2 自动启用;无 jedi 自动降级为纯标准库模式)
|
||||
jedi
|
||||
Reference in new issue
Block a user