Skip to content

Commit eae435c

Browse files
committed
#204 Update devcontainer
1 parent a81c41b commit eae435c

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM python:3.11-slim
22

33
ENV PATH=$PATH:/root/.local/bin
44
ENV POETRY_VIRTUALENVS_CREATE=false
5-
ENV POETRY_VERSION=1.3.2
5+
ENV POETRY_VERSION=1.4.0
66

77
RUN apt-get update \
88
&& apt-get install -y curl git \

.devcontainer/devcontainer.json

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@
55
"dockerfile": "Dockerfile"
66
},
77
"postCreateCommand": "poetry install",
8-
"extensions": [
9-
"github.vscode-pull-request-github",
10-
"mhutchie.git-graph",
11-
"ms-python.python",
12-
"streetsidesoftware.code-spell-checker",
13-
"tamasfe.even-better-toml"
14-
],
15-
"settings": {
16-
"files.insertFinalNewline": true,
17-
"files.trimTrailingWhitespace": true,
18-
"python.formatting.provider": "black",
19-
"python.languageServer": "Pylance",
20-
"[python]": {
21-
"editor.formatOnSave": true,
22-
"editor.insertSpaces": true,
23-
"editor.tabSize": 4
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"github.vscode-pull-request-github",
12+
"mhutchie.git-graph",
13+
"ms-python.python",
14+
"streetsidesoftware.code-spell-checker",
15+
"tamasfe.even-better-toml"
16+
],
17+
"settings": {
18+
"files.insertFinalNewline": true,
19+
"files.trimTrailingWhitespace": true,
20+
"python.formatting.provider": "black",
21+
"python.languageServer": "Pylance",
22+
"[python]": {
23+
"editor.formatOnSave": true,
24+
"editor.insertSpaces": true,
25+
"editor.tabSize": 4
26+
}
27+
}
2428
}
2529
}
2630
}

0 commit comments

Comments
 (0)