Skip to content

Commit

Permalink
Create .devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
eculler authored Mar 28, 2024
1 parent ee8655a commit 47a309f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 47a309f

Please sign in to comment.