From 902d4e3b029001451c8bc6cdb6a78488b6c49787 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Tue, 26 Sep 2023 23:11:23 +0530 Subject: [PATCH] Set up devcontainer JSON file --- .devcontainer/devcontainer.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..a279568557 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,23 @@ +{ + "name": "PyBaMM-devcontainer", + "build": { + "dockerfile": "../scripts/Dockerfile", + "context": ".." + }, + "features": { + "ghcr.io/devcontainers/features/git:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "visualstudioexptteam.vscodeintellicode", + "ms-toolsai.jupyter", + "charliermarsh.ruff", + "ms-python.black-formatter" + ] + } + }, + "remoteUser": "root" +}