Configure basedpyright settings

This commit is contained in:
Xury Greer
2026-08-08 16:13:03 -07:00
parent 63b9198440
commit 476242734b
3 changed files with 22 additions and 0 deletions

View File

@@ -2,6 +2,12 @@
"editor.formatOnSave": true,
// Use the ruff binary installed in the .venv directory.
"ruff.importStrategy": "fromEnvironment",
// Enable BasedPyright to replace Pylance.
"basedpyright.disableLanguageServices": false,
"basedpyright.analysis.diagnosticMode": "workspace",
// Disable Pylance, use basedpyright instead.
// Only use the Microsoft python extension for envs and tests.
"python.languageServer": "None",
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,