diff --git a/.vscode/settings.json b/.vscode/settings.json --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,13 +1,30 @@ { - "python.autoComplete.extraPaths": ["__pypackages__/3.10/lib"], + "djlint.pythonPath": "./bin/python", + "python.analysis.autoFormatStrings": true, + "python.analysis.diagnosticMode": "workspace", + "python.analysis.enablePytestSupport": true, "python.analysis.extraPaths": ["__pypackages__/3.10/lib"], - "python.analysis.diagnosticMode": "workspace", - "cmake.configureOnOpen": false, + "python.autoComplete.extraPaths": ["__pypackages__/3.10/lib"], + "python.defaultInterpreterPath": "./bin/python", + "python.formatting.provider": "yapf", + "python.testing.pytestEnabled": true, + "python.testing.pytestPath": "./bin/pytest", + "pythonTestExplorer.testFramework": "pytest", "toTypeScript.fixUnreachableCode": false, "toTypeScript.fixUnusedLabel": false, "toTypeScript.forgottenThisPropertyAccess": false, - "python.formatting.provider": "yapf", - "python.testing.pytestEnabled": true, - "python.testing.pytestPath": "./bin/pytest", - "python.analysis.enablePytestSupport": true + "launch": { + + "configurations": [ + { + "name": "Python: File", + "type": "python", + "request": "launch", + "program": "${file}", + "justMyCode": true, + "python": "./bin/python" + } + ], + "compounds": [] + } }