Configure basedpyright settings
This commit is contained in:
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user