Skip to content

Commit

Permalink
Create .devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nquarder authored Feb 11, 2024
1 parent 71818b5 commit 44a136b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Earth Analytics Python Container",
"image": "registry.hub.docker.com/earthlab/earth-analytics-python-env:latest",
"workspaceFolder": "/workspaces",
"extensions": [
"ms-python.python",
// Use black to format code (right click)
"ms-python.black-formatter",
],
"settings": {
// Display line length guides
"editor.rulers": [72, 79],
// Display line numbers
"editor.lineNumbers": "on",
// 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/envs/earth-analytics-python/bin/python"
}
}

0 comments on commit 44a136b

Please sign in to comment.