From 47a309feddefb02003fb636793c792460c706b94 Mon Sep 17 00:00:00 2001 From: Elsa Culler Date: Thu, 28 Mar 2024 16:20:49 -0600 Subject: [PATCH] Create .devcontainer.json --- .devcontainer.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .devcontainer.json diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..d1efc00 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,24 @@ +{ + "name": "First Map Container", + "image": "registry.hub.docker.com/earthlab/first-map:latest", + "extensions": [ + "ms-python.python", + "ms-toolsai.jupyter", + // Use black to format code (right click) + "ms-python.black-formatter", + ], + "settings": { + // Display line length guides + "editor.rulers": [72, 79], + // Turn off annoying overzealous autocomplete + "editor.acceptSuggestionOnEnter": "off", + // Formatting tools + "editor.defaultFormatter": "ms-python.black-formatter", + "python.formatting.blackArgs": [ + "--line-length=79", + "--experimental-string-processing" + ], + // Set the default python to the conda install + "python.defaultInterpreterPath": "/opt/conda/bin/python" + } +}