Skip to content

Commit bcc7b19

Browse files
vlipovackeileg
authored andcommitted
DEV: adding devcontainer setup for codespaces.
1 parent 897dcb9 commit bcc7b19

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "porepy-stable",
3+
"build": {
4+
"dockerfile": "../dockerfiles/stable/Dockerfile"
5+
},
6+
"remoteUser": "root",
7+
"workspaceFolder": "/workdir/porepy",
8+
"runArgs": ["-it"],
9+
"waitFor": "updateContentCommand",
10+
"updateContentCommand": "python -m pip install jupyter ipykernel notebook",
11+
"customizations": {
12+
"vscode": {
13+
"extensions": [
14+
"ms-python.python",
15+
"ms-python.vscode-pylance",
16+
"ms-python.mypy-type-checker",
17+
"ms-toolsai.jupyter",
18+
"eamodio.gitlens",
19+
"davidanson.vscode-markdownlint",
20+
"charliermarsh.ruff"
21+
],
22+
"settings": {
23+
"python.defaultInterpreterPath": "/usr/local/bin/python",
24+
"jupyter.kernels.excludePythonEnvironments": [
25+
"/bin/python3",
26+
"/usr/bin/python3"
27+
]
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)