Skip to content

Commit f3f7f30

Browse files
authored
Add devcontainer support to repo (#234)
Adds devcontainer support to the repo for easier use on Codespaces or VS Code remote dev
1 parent 4a8cce1 commit f3f7f30

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "Python 3",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/powershell:1": {
6+
"version": "latest"
7+
},
8+
"ghcr.io/devcontainers/features/dotnet:1": {
9+
"version": "latest"
10+
}
11+
},
12+
"customizations": {
13+
"vscode": {
14+
"extensions": [
15+
"esbenp.prettier-vscode",
16+
"ms-python.python",
17+
"ms-python.vscode-pylance",
18+
"ms-python.black-formatter",
19+
"ms-python.isort"
20+
]
21+
}
22+
},
23+
"postCreateCommand": "python -m pip install nox && python -m pip install -r ./packages/python/requirements.txt -r ./requirements.txt"
24+
}

0 commit comments

Comments
 (0)