-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
25 lines (25 loc) · 896 Bytes
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"name": "Earth Analytics Python Container",
"image": "registry.hub.docker.com/earthlab/earth-analytics-python-env:latest",
"workspaceFolder": "/workspaces",
"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"
}
}