Mercurial > code > home > repos > light9
changeset 2424:4b8f8fabeb2f
vscode settings
author | drewp@bigasterisk.com |
---|---|
date | Thu, 23 May 2024 16:40:28 -0700 |
parents | 4a5b37acd1f0 |
children | f6e40619cf27 |
files | .vscode/settings.json |
diffstat | 1 files changed, 21 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- 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