From be46a5ebcf460b7563a31c0eb1d53519828adf0e Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 24 Jul 2026 08:39:36 +0200 Subject: [PATCH] pyrightconfig.json: Mirror strict mypy settings Follow the changes in the mypy check profile by adding additional checks. Signed-off-by: Jan Lindemann --- conf/project/pyrightconfig-base.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/conf/project/pyrightconfig-base.json b/conf/project/pyrightconfig-base.json index 59bb4dea..6ff4d225 100644 --- a/conf/project/pyrightconfig-base.json +++ b/conf/project/pyrightconfig-base.json @@ -1,7 +1,14 @@ { - "typeCheckingMode": "basic", + "typeCheckingMode": "strict", "pythonPlatform": "Linux", "useLibraryCodeForTypes": true, "verboseOutput": false, - "reportImplicitOverride": "error" + + "reportImplicitOverride": "error", + "reportDeprecated": "error", + "reportMatchNotExhaustive": "error", + + "reportUnnecessaryTypeIgnoreComment": "error", + "reportImplicitStringConcatenation": "error", + "reportUninitializedInstanceVariable": "error" }