From 53a2eb600cb046e8ecbc4b4dd5f186ecc889d00e Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Wed, 1 Nov 2023 21:52:57 +0000 Subject: [PATCH] chore(devcontainer): replace deprecated extensions, update settings --- .devcontainer/devcontainer.json | 9 +++++---- .vscode/settings.json | 11 ++--------- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8f192c4a0..db78bfbcb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,7 +20,6 @@ }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ - "bungcip.better-toml", "batisteo.vscode-django", "bpruitt-goddard.mermaid-markdown-syntax-highlighting", "eamodio.gitlens", @@ -28,10 +27,12 @@ "hashicorp.terraform", "mhutchie.git-graph", "monosans.djlint", - "ms-python.python", - "ms-python.vscode-pylance", "mrorz.language-gettext", - "qwtel.sqlite-viewer" + "ms-python.python", + "ms-python.black-formatter", + "ms-python.flake8", + "qwtel.sqlite-viewer", + "tamasfe.even-better-toml" ] } } diff --git a/.vscode/settings.json b/.vscode/settings.json index b3ff8e30d..78ec3acc2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,17 +12,10 @@ "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, "[python]": { - "editor.defaultFormatter": "ms-python.python" + "editor.defaultFormatter": "ms-python.black-formatter" }, - "python.formatting.provider": "black", "python.languageServer": "Pylance", - "python.linting.enabled": true, - "python.linting.flake8Enabled": true, - "python.testing.pytestArgs": [ - "tests/pytest", - "--import-mode=importlib", - "--no-migrations" - ], + "python.testing.pytestArgs": ["tests/pytest"], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "[terraform]": {