瀏覽代碼

fix(pyrightconfig): 修复配置文件,确保Python环境和类型检查设置正确

zhch158_admin 2 周之前
父節點
當前提交
090ba64eef
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      pyrightconfig.json

+ 7 - 1
pyrightconfig.json

@@ -5,6 +5,12 @@
     "../PaddleX"
   ],
   "pythonVersion": "3.12",
-  "typeCheckingMode": "basic"
+  "pythonPlatform": "Darwin",
+  "typeCheckingMode": "basic",
+  "venvPath": "/opt/miniconda3/envs",
+  "venv": "mineru2",
+  "reportMissingImports": true,
+  "reportMissingTypeStubs": false,
+  "useLibraryCodeForTypes": true
 }