Browse Source

添加 pyright 配置文件以支持 Python 类型检查

zhch158_admin 2 weeks ago
parent
commit
839b1595fa
1 changed files with 8 additions and 0 deletions
  1. 8 0
      pyrightconfig.json

+ 8 - 0
pyrightconfig.json

@@ -0,0 +1,8 @@
+{
+  "extraPaths": [
+    "../MinerU"
+  ],
+  "pythonVersion": "3.12",
+  "typeCheckingMode": "basic"
+}
+