# HG changeset patch # User drewp@bigasterisk.com # Date 1716507628 25200 # Node ID 4b8f8fabeb2f5520b2d2aaa528e0003a484742ea # Parent 4a5b37acd1f006feb0050044321a6cb1f4a65052 vscode settings diff -r 4a5b37acd1f0 -r 4b8f8fabeb2f .vscode/settings.json --- a/.vscode/settings.json Thu May 23 11:25:58 2024 -0700 +++ b/.vscode/settings.json Thu May 23 16:40:28 2024 -0700 @@ -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