Skip to content

Commit 9797a21

Browse files
feat: Add devcontainer config (#2250)
* Add devcontainer config using the pyhf Dockerfile. - c.f. https://containers.dev/ - Motivated by Sarah Kaiser's SciPy 2023 lightning talk.
1 parent 4845a15 commit 9797a21

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "pyhf-devcontainer",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "../docker/Dockerfile"
6+
},
7+
"features": {
8+
"ghcr.io/devcontainers/features/git:1": {}
9+
},
10+
11+
"customizations": {
12+
"vscode": {
13+
"settings": {
14+
"python.defaultInterpreterPath": "/opt/venv/bin/python"
15+
},
16+
"extensions": [
17+
"ms-python.python",
18+
"ms-toolsai.jupyter"
19+
]
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)