From 9ae0a1f12a738785d41586fb5cc674e936f61d16 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Wed, 13 Sep 2023 18:15:51 +0200 Subject: [PATCH] migrate to python tools extensions (#596) When I opened my settings.json it warned me these settings will be deprecated soon, with this link for more info: https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions --- .vscode/extensions.json | 2 ++ .vscode/settings_template.json | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 21a627237..8a813b8e9 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,6 +2,8 @@ "recommendations": [ "julialang.language-julia", "ms-python.python", + "ms-python.black-formatter", + "ms-python.mypy-type-checker", "charliermarsh.ruff", "njpwerner.autodocstring" ] diff --git a/.vscode/settings_template.json b/.vscode/settings_template.json index f39a37ee2..15d5f46f9 100644 --- a/.vscode/settings_template.json +++ b/.vscode/settings_template.json @@ -5,12 +5,10 @@ "julia.environmentPath": "core", "notebook.formatOnSave.enabled": true, "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": true } - }, - "python.formatting.provider": "black", - "python.linting.mypyEnabled": true, - "python.linting.enabled": true + } }