From a8d4df99010299808effaa1dccb8fa8845c20a16 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Sun, 28 Sep 2025 13:20:19 +0800 Subject: [PATCH] update pyright --- pyrightconfig.json | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/pyrightconfig.json b/pyrightconfig.json index 958dea9..54348aa 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -1,5 +1,4 @@ { - // —— 入口/排除 ——(按你项目结构来) "include": ["."], "exclude": [ "build", @@ -11,29 +10,17 @@ ".idea", ".vscode", "docs/_build", - "dypymcp.egg-info", - ".venv_mcp", - "logs", - "environments", - "models" + "elevator_saga.egg-info" ], - - // —— 语言/环境设置 —— "pythonVersion": "3.10", "typeCheckingMode": "strict", - - // 你的源码在仓库内的额外搜索路径(等价于以前 Pylance 的 include) "executionEnvironments": [ { "root": ".", - "extraPaths": ["dypymcp"] + "extraPaths": ["elevator_saga"] } ], - - // —— 与你原 mypy/flake8 诉求相匹配的诊断级别 —— - // 忽略三方包的缺失导入(等价于 mypy 的 --ignore-missing-imports) "reportMissingImports": "none", - // 可按需放宽/收紧: "reportUnusedImport": "warning", "reportUnusedVariable": "warning", "reportUnknownArgumentType": "warning",