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",
"defaultInterpreterPath": "/usr/local/bin/python",
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "always"
},
"editor.defaultFormatter": "charliermarsh.ruff",
"languageServer": "Pylance",
@ -54,8 +54,7 @@
// python
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.isort",
"ms-python.black-formatter",
"charliermarsh.ruff",
// django
"batisteo.vscode-django"
]