Skip to content

Commit

Permalink
add devcontainer support with vscode configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
PercevalSA committed Nov 19, 2023
1 parent adb5349 commit ab3bb4f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Alpine",
"image": "mcr.microsoft.com/devcontainers/base:alpine-3.18",
"postCreateCommand": "sudo apk add py3-pip && python3 -m pip install .",
"customizations": {
"vscode": {
"editor.formatOnSave": true,
"editor.rulers": [
90,
120
],
"extensions": [
"charliermarsh.ruff",
"GitHub.vscode-pull-request-github",
"ms-python.mypy-type-checker",
"ms-python.pylint",
"ms-python.python",
"ms-python.vscode-pylance"
]
}
}
}

0 comments on commit ab3bb4f

Please sign in to comment.