diff --git a/.vscode/settings.json b/.vscode/settings.json --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,15 +1,16 @@ { - "djlint.pythonPath": "./bin/python", "python.analysis.autoFormatStrings": true, "python.analysis.diagnosticMode": "workspace", "python.analysis.enablePytestSupport": true, "python.analysis.extraPaths": [ - "__pypackages__/3.10/lib", + "/home/drewp/.local/share/pdm/venvs/light9-zxQNOBNq-3.11/lib/python3.11/site-packages", "/my/proj/rdfdb" ], - "python.autoComplete.extraPaths": ["__pypackages__/3.10/lib"], - "python.defaultInterpreterPath": "./bin/python", - "python.formatting.provider": "yapf", + "python.autoComplete.extraPaths": [ + "/home/drewp/.local/share/pdm/venvs/light9-zxQNOBNq-3.11/lib/python3.11/site-packages", + "/my/proj/rdfdb" + ], + "python.defaultInterpreterPath": "/home/drewp/.local/share/pdm/venvs/light9-zxQNOBNq-3.11/bin/python", "python.testing.pytestEnabled": true, "python.testing.pytestPath": "./bin/pytest", "pythonTestExplorer.testFramework": "pytest", @@ -17,15 +18,14 @@ "toTypeScript.fixUnusedLabel": false, "toTypeScript.forgottenThisPropertyAccess": false, "launch": { - "configurations": [ { "name": "Python: File", - "type": "python", + "type": "debugpy", "request": "launch", "program": "${file}", "justMyCode": true, - "python": "./bin/python" + "python": "/home/drewp/.local/share/pdm/venvs/light9-zxQNOBNq-3.11/bin/python" } ], "compounds": [] @@ -33,5 +33,16 @@ "vitest.commandLine": "pnpm exec vitest", "vitest.enable": true, "tabnine.codeLensEnabled": false, - "codeium.enableSearch": true -} + "codeium.enableSearch": true, + "python.formatting.provider": "eeyore.yapf", + "[python]": { + "editor.formatOnSaveMode": "file", + "editor.formatOnSave": true, + "editor.defaultFormatter": "eeyore.yapf", + "editor.formatOnType": false + }, + "editor.defaultFormatter": "eeyore.yapf", + "python.languageServer": "Pylance", + "python.analysis.completeFunctionParens": true, + "python.analysis.typeCheckingMode": "standard" +} \ No newline at end of file