Ver Fonte

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

zhch158_admin há 2 semanas atrás
pai
commit
090ba64eef
1 ficheiros alterados com 7 adições e 1 exclusões
  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
 }