From ab3bb4f72aecb3dfd1be3d1197442aae70c81758 Mon Sep 17 00:00:00 2001 From: Perceval Date: Sun, 19 Nov 2023 21:43:08 +0000 Subject: [PATCH] add devcontainer support with vscode configuration --- .devcontainer/devcontainer.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2e17705 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "name": "Alpine", + "image": "mcr.microsoft.com/devcontainers/base:alpine-3.18", + "postCreateCommand": "sudo apk add py3-pip && python3 -m pip install .", + "customizations": { + "vscode": { + "editor.formatOnSave": true, + "editor.rulers": [ + 90, + 120 + ], + "extensions": [ + "charliermarsh.ruff", + "GitHub.vscode-pull-request-github", + "ms-python.mypy-type-checker", + "ms-python.pylint", + "ms-python.python", + "ms-python.vscode-pylance" + ] + } + } +} \ No newline at end of file