Files
blender-handwaving/.vscode/settings.json
2026-08-08 17:17:59 -07:00

42 lines
1.3 KiB
JSON

{
"editor.formatOnSave": true,
"cSpell.diagnosticLevel": "Hint",
"autoDocstring.docstringFormat": "google-notypes",
// 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,
"editor.codeActionsOnSave": {
"source.fixAll.ruff": "explicit",
"source.organizeImports.ruff": "explicit",
},
},
"[toml]": {
"editor.defaultFormatter": "tombi-toml.tombi",
"editor.formatOnSave": true,
},
"[json]": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
},
"[jsonc]": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
},
"[yaml]": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
},
"[markdown]": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
},
}