Skip to content

Commit

Permalink
Setup devcontainer (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
glorialeezero authored Nov 21, 2024
2 parents 4ee9c00 + adce83b commit 286950f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "qupsy",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true,
"installOhMyZshConfig": true,
"upgradePackages": true,
"username": "automatic",
"userUid": "automatic",
"userGid": "automatic"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.black-formatter",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.isort",
"tamasfe.even-better-toml"
],
"settings": {
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "strict",
"python.analysis.autoImportCompletions": true,
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"diffEditor.ignoreTrimWhitespace": false,
"editor.wordBasedSuggestions": "off"
},
"isort.args": [
"--profile",
"black"
]
}
}
},
"postCreateCommand": "sudo pip install -e \".[dev,test]\""
}
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: devcontainers
directory: /
schedule:
interval: weekly

0 comments on commit 286950f

Please sign in to comment.