From 20a4c9d3f6b1f94ebbfb3e8193ea2d8f455d66f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Piku=C5=82a?= Date: Fri, 21 Apr 2023 01:03:14 +0000 Subject: [PATCH] Add some extensions and enable Python linting in devcontainer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marek PikuĊ‚a --- .devcontainer/devcontainer.json | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dd2d377..e375adb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -21,13 +21,24 @@ "vscode": { "extensions": [ "bungcip.better-toml", - "github.vscode-github-actions" + "charliermarsh.ruff", + "github.vscode-github-actions", "GitHub.vscode-pull-request-github", "mhutchie.git-graph", "ms-azuretools.vscode-docker", "njpwerner.autodocstring", "redhat.vscode-yaml", - ] + "streetsidesoftware.code-spell-checker" + ], + "settings": { + "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", + "python.venvPath": "${workspaceFolder}/.venv", + "python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black", + "python.linting.mypyPath": "${workspaceFolder}/.venv/bin/mypy", + "python.linting.mypyEnabled": true, + "python.linting.pylintPath": "${workspaceFolder}/.venv/bin/pylint", + "python.linting.pylintEnabled": true, + } } }