From ec0800eb1aa145b91d492f3068d6efeaab179257 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Mon, 8 Sep 2025 19:55:25 +0800 Subject: [PATCH] refactor: update pyrightconfig.json to use ignore field for better type checking configuration (#25373) --- api/pyrightconfig.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/api/pyrightconfig.json b/api/pyrightconfig.json index 059b8bba4f..a3a5f2044e 100644 --- a/api/pyrightconfig.json +++ b/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" -} \ No newline at end of file +}