From 7d12d01c68102cd0f2f49e1b294c1ac0fbc72f5a Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Wed, 15 Jun 2022 16:02:40 +0200 Subject: [PATCH] vscode settings (start using pyright/pylance for type checking) --- .vscode/launch.json | 2 +- .vscode/settings.json | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index fdd4c48..f4f997c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,7 +13,7 @@ "cwd": "/Users/lafp/git/performance/locust", "args": [ "-f", - "racing.py", + "demo.py", "-L", "DEBUG", ], diff --git a/.vscode/settings.json b/.vscode/settings.json index 2f87bd9..f9dacab 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,5 +14,12 @@ "files.watcherExclude": { "**/target": true }, - "editor.formatOnSave": true + "editor.formatOnSave": true, + "python.languageServer": "Pylance", + "python.analysis.typeCheckingMode": "basic", + "python.analysis.diagnosticSeverityOverrides": { + "reportOptionalSubscript": "none", + "reportOptionalMemberAccess": "none", + "reportPrivateImportUsage": "none" + }, } \ No newline at end of file