瀏覽代碼

refactor: update pyrightconfig.json to use ignore field for better type checking configuration (#25373)

tags/1.9.0
-LAN- 1 月之前
父節點
當前提交
ec0800eb1a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 4 行新增8 行删除
  1. 4
    8
      api/pyrightconfig.json

+ 4
- 8
api/pyrightconfig.json 查看文件

@@ -1,11 +1,7 @@
{
"include": [
"."
],
"exclude": [
"tests/",
"migrations/",
".venv/",
"include": ["models", "configs"],
"exclude": [".venv", "tests/", "migrations/"],
"ignore": [
"core/",
"controllers/",
"tasks/",
@@ -25,4 +21,4 @@
"typeCheckingMode": "strict",
"pythonVersion": "3.11",
"pythonPlatform": "All"
}
}

Loading…
取消
儲存