Install ruff extension in devcontainer.json (#4887)

organizeImports is expecting a string.
This commit is contained in:
Mounir 2024-02-23 15:35:52 +01:00 committed by GitHub
parent 49a66b3583
commit 357604f37b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@
"analysis.typeCheckingMode": "basic", "analysis.typeCheckingMode": "basic",
"defaultInterpreterPath": "/usr/local/bin/python", "defaultInterpreterPath": "/usr/local/bin/python",
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.organizeImports": true "source.organizeImports": "always"
}, },
"editor.defaultFormatter": "charliermarsh.ruff", "editor.defaultFormatter": "charliermarsh.ruff",
"languageServer": "Pylance", "languageServer": "Pylance",
@ -54,8 +54,7 @@
// python // python
"ms-python.python", "ms-python.python",
"ms-python.vscode-pylance", "ms-python.vscode-pylance",
"ms-python.isort", "charliermarsh.ruff",
"ms-python.black-formatter",
// django // django
"batisteo.vscode-django" "batisteo.vscode-django"
] ]