updated workspace settings
This commit is contained in:
@@ -22,12 +22,12 @@
|
|||||||
// "editor.formatOnSave": true,
|
// "editor.formatOnSave": true,
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.organizeImports.ruff": "explicit",
|
"source.organizeImports.ruff": "explicit",
|
||||||
"source.fixAll": "explicit"
|
// "source.fixAll": "explicit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"python.defaultInterpreterPath": "${workspaceFolder}/.devenv/state/venv/bin/python3",
|
"python.defaultInterpreterPath": "${workspaceFolder}/.devenv/state/venv/bin/python3",
|
||||||
"python.autoComplete.extraPaths": ["~/ad-lola"],
|
"python.autoComplete.extraPaths": ["~/ad-lola", "${fileWorkspaceFolder}/apps/room_control/src"],
|
||||||
"python.analysis.extraPaths": ["~/ad-lola"],
|
"python.analysis.extraPaths": ["~/ad-lola", "${fileWorkspaceFolder}/apps/room_control/src"],
|
||||||
"python.analysis.autoFormatStrings": true,
|
"python.analysis.autoFormatStrings": true,
|
||||||
"python.analysis.completeFunctionParens": true,
|
"python.analysis.completeFunctionParens": true,
|
||||||
"python.analysis.autoImportCompletions": true,
|
"python.analysis.autoImportCompletions": true,
|
||||||
@@ -41,20 +41,16 @@
|
|||||||
|
|
||||||
// Ruff settings
|
// Ruff settings
|
||||||
"ruff.enable": true,
|
"ruff.enable": true,
|
||||||
"ruff.organizeImports": false,
|
"ruff.organizeImports": true,
|
||||||
"ruff.importStrategy": "fromEnvironment",
|
"ruff.importStrategy": "fromEnvironment",
|
||||||
"ruff.nativeServer": true,
|
"ruff.nativeServer": true,
|
||||||
"ruff.configurationPreference": "filesystemFirst",
|
"ruff.configurationPreference": "filesystemFirst",
|
||||||
"ruff.configuration": "${workspaceFolder}/ruff.toml",
|
"ruff.configuration": "${workspaceFolder}/pyproject.toml",
|
||||||
"ruff.fixAll": true,
|
"ruff.fixAll": true,
|
||||||
"ruff.lint.enable": true,
|
"ruff.lint.enable": true,
|
||||||
// https://docs.astral.sh/ruff/rules/
|
// https://docs.astral.sh/ruff/rules/
|
||||||
"ruff.lint.extendSelect": [
|
"ruff.lint.extendSelect": [
|
||||||
// "FURB", "UP",
|
"F", "W", "I",
|
||||||
"I"
|
|
||||||
],
|
|
||||||
"ruff.lint.select": [
|
|
||||||
"F", "W",
|
|
||||||
"E1", "E2", "E3", "E4", "E5", "E7", "E9"
|
"E1", "E2", "E3", "E4", "E5", "E7", "E9"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user