Skip to content

Commit

Permalink
#102 Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
astropenguin committed Nov 28, 2023
1 parent 8e2ec5a commit aea9862
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{
"name": "mao-merge-45m",
"build": {
"context": "..",
"dockerfile": "Dockerfile"
},
"image":"python:3.10",
"onCreateCommand": "pip install poetry==1.7.1",
"postCreateCommand": "poetry install",
"containerEnv": {
"POETRY_VIRTUALENVS_CREATE": "false"
},
"customizations": {
"vscode": {
"extensions": [
"github.vscode-pull-request-github",
"mhutchie.git-graph",
"ms-python.black-formatter",
"ms-python.python",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml"
],
"settings": {
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 4
"editor.tabSize": 4,
"python.languageServer": "Pylance"
}
}
}
Expand Down

0 comments on commit aea9862

Please sign in to comment.