From 8a21cb1b73d46c51c07e1c9f0ce0f565649ae2ef Mon Sep 17 00:00:00 2001 From: Christian Risi <75698846+CnF-Gris@users.noreply.github.com> Date: Fri, 3 Oct 2025 18:00:52 +0200 Subject: [PATCH] added python analysis --- .vscode/settings.json | 59 +++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index cae6d86..7f479da 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,35 +1,34 @@ { - // Always treat the project root as the working dir for Jupyter - "jupyter.notebookFileRoot": "${workspaceFolder}", - - // When you click "Run Python File in Terminal", DON'T cd into the file's folder - "python.terminal.executeInFileDir": false, - - // Start new integrated terminals at the project root - "terminal.integrated.cwd": "${workspaceFolder}", - - // Make pytest run from the root without needing a pytest.ini - "python.testing.pytestEnabled": true, - "python.testing.cwd": "${workspaceFolder}", - "python.testing.pytestArgs": ["src/test"], - - // Help Pylance resolve imports like `from src...` without red squiggles - "python.analysis.extraPaths": ["${workspaceFolder}"], - - // For linux - "terminal.integrated.env.linux": { - "PYTHONPATH": "${workspaceFolder}" - }, - // For OSX - "terminal.integrated.env.osx": { - "PYTHONPATH": "${workspaceFolder}" - }, - // For Windows - "terminal.integrated.env.windows": { - "PYTHONPATH": "${workspaceFolder}" - } + // Always treat the project root as the working dir for Jupyter + "jupyter.notebookFileRoot": "${workspaceFolder}", + // When you click "Run Python File in Terminal", DON'T cd into the file's folder + "python.terminal.executeInFileDir": false, + // Start new integrated terminals at the project root + "terminal.integrated.cwd": "${workspaceFolder}", + // Make pytest run from the root without needing a pytest.ini + "python.testing.pytestEnabled": true, + "python.testing.cwd": "${workspaceFolder}", + "python.testing.pytestArgs": [ + "src/test" + ], + // Help Pylance resolve imports like `from src...` without red squiggles + "python.analysis.extraPaths": [ + "${workspaceFolder}" + ], + // For linux + "terminal.integrated.env.linux": { + "PYTHONPATH": "${workspaceFolder}" + }, + // For OSX + "terminal.integrated.env.osx": { + "PYTHONPATH": "${workspaceFolder}" + }, + // For Windows + "terminal.integrated.env.windows": { + "PYTHONPATH": "${workspaceFolder}" + }, + "python.analysis.typeCheckingMode": "standard" } - // { // // Always treat the project root as the working dir for Jupyter // "jupyter.notebookFileRoot": "${workspaceFolder}",