Skip to content

Commit

Permalink
#3 Add devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
astropenguin committed Apr 25, 2024
1 parent 7795e3f commit b6fe2a2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "b4rpipe",
"image": "python:3.8",
"runArgs": [
"--name=b4rpipe",
"--platform=linux/amd64"
],
"containerEnv": {
"POETRY_VIRTUALENVS_CREATE": "false"
},
"onCreateCommand": "pip install poetry",
"postCreateCommand": "poetry install",
"customizations": {
"vscode": {
"extensions": [
"github.vscode-pull-request-github",
"mhutchie.git-graph",
"ms-python.python",
"tamasfe.even-better-toml"
],
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"[python]": {
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 4,
"python.languageServer": "Pylance"
}
}
}
}
}

0 comments on commit b6fe2a2

Please sign in to comment.