From 25883cb7c8eae9f8ddfd241b84504d859e59710e Mon Sep 17 00:00:00 2001 From: Tim Rid <6593626+timrid@users.noreply.github.com> Date: Mon, 31 Oct 2022 09:54:15 +0100 Subject: [PATCH] Updated settings.json --- .vscode/settings.json | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 76bdfe9..75b5040 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,24 +1,26 @@ { - "python.pythonPath": "python", + // static analysis "python.languageServer": "Pylance", - // "python.testing.unittestEnabled": false, - // "python.testing.nosetestsEnabled": false, - // "python.testing.pytestEnabled": true, - "pythonTestExplorer.testFramework": "pytest", - "python.formatting.provider": "black", - "python.sortImports.path": "isort", - "python.sortImports.args": [ - "--profile=black", - ], - // "[python]": { - // "editor.codeActionsOnSave": { - // "source.organizeImports": true - // } - // } "python.analysis.typeCheckingMode": "strict", "python.analysis.autoImportCompletions": false, "python.analysis.diagnosticSeverityOverrides": { "reportPrivateUsage": "information", "reportUntypedNamedTuple": "information", }, + + // formating + "python.formatting.provider": "black", + + // sorting + "python.sortImports.path": "isort", + "python.sortImports.args": [ + "--profile=black", + ], + + // tests + "python.testing.pytestArgs": [ + "tests" + ], + "python.testing.unittestEnabled": false, + "python.testing.pytestEnabled": true, } \ No newline at end of file