Skip to content

Commit

Permalink
🔧 add devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt authored Dec 28, 2024
1 parent 64b087a commit 9fcd8b7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Default Linux Universal",
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
"features": {
"ghcr.io/devcontainers-contrib/features/pdm:2": {}
},
"postCreateCommand": "pdm config venv.in_project true && pdm venv create && pdm sync -G:all",
"customizations": {
"vscode": {
"settings": {
"python.analysis.diagnosticMode": "workspace",
"python.analysis.typeCheckingMode": "basic",
"files.exclude": {
"**/__pycache__": true
},
"files.watcherExclude": {
"**/target/**": true,
"**/__pycache__": true
}
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.isort",
"ms-python.black-formatter",
"usernamehw.errorlens",
"tamasfe.even-better-toml",
"wakatime.vscode-wakatime"
]
}
}
}

0 comments on commit 9fcd8b7

Please sign in to comment.