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 Feb 8, 2024
1 parent 6b060d1 commit 15ab247
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"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 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"
]
}
}
}

0 comments on commit 15ab247

Please sign in to comment.