浏览代码

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"
}
}

正在加载...
取消
保存