From ee8aa1a19311ff4677c827b1cb7021fefccbac5e Mon Sep 17 00:00:00 2001 From: qhdwight Date: Sun, 24 Sep 2023 11:36:13 -0400 Subject: [PATCH] Add black formatter and mypy checker --- .vscode/extensions.json | 2 ++ .vscode/settings.json | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index c984f35e6..8290460fc 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,8 @@ "ms-vscode.cpptools", "ms-vscode.cmake-tools", "ms-python.vscode-pylance", + "ms-python.black-formatter", + "ms-python.mypy-type-checker", "dbaeumer.vscode-eslint", "redhat.vscode-xml", "redhat.vscode-yaml", diff --git a/.vscode/settings.json b/.vscode/settings.json index f76dc657d..9db113261 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -27,6 +27,9 @@ "/opt/ros/noetic/lib/python3/dist-packages", "${workspaceFolder}/../../devel/lib/python3/dist-packages", ], + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", + }, //// Miscellaneous "redhat.telemetry.enabled": false, } \ No newline at end of file