Skip to content

Commit 9fcd8b7

Browse files
authored
🔧 add devcontainer.json
1 parent 64b087a commit 9fcd8b7

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "Default Linux Universal",
3+
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
4+
"features": {
5+
"ghcr.io/devcontainers-contrib/features/pdm:2": {}
6+
},
7+
"postCreateCommand": "pdm config venv.in_project true && pdm venv create && pdm sync -G:all",
8+
"customizations": {
9+
"vscode": {
10+
"settings": {
11+
"python.analysis.diagnosticMode": "workspace",
12+
"python.analysis.typeCheckingMode": "basic",
13+
"files.exclude": {
14+
"**/__pycache__": true
15+
},
16+
"files.watcherExclude": {
17+
"**/target/**": true,
18+
"**/__pycache__": true
19+
}
20+
},
21+
"extensions": [
22+
"ms-python.python",
23+
"ms-python.vscode-pylance",
24+
"ms-python.isort",
25+
"ms-python.black-formatter",
26+
"usernamehw.errorlens",
27+
"tamasfe.even-better-toml",
28+
"wakatime.vscode-wakatime"
29+
]
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)