Skip to content

Commit 2da9401

Browse files
authored
🧑‍💻 update devcontainer configs
1 parent 44af2be commit 2da9401

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,25 @@
22
"name": "Default Linux Universal",
33
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
44
"features": {
5-
"ghcr.io/devcontainers-contrib/features/poetry:1": {}
5+
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
66
},
77
"postCreateCommand": "poetry config virtualenvs.in-project true && poetry install -E all && poetry run pre-commit install",
88
"customizations": {
99
"vscode": {
1010
"settings": {
1111
"python.analysis.diagnosticMode": "workspace",
1212
"python.analysis.typeCheckingMode": "basic",
13+
"ruff.organizeImports": false,
1314
"[python]": {
1415
"editor.defaultFormatter": "ms-python.black-formatter",
1516
"editor.codeActionsOnSave": {
17+
"source.fixAll.ruff": true,
1618
"source.organizeImports": true
1719
}
1820
},
21+
"[markdown]": {
22+
"editor.defaultFormatter": "esbenp.prettier-vscode"
23+
},
1924
"[javascript]": {
2025
"editor.defaultFormatter": "esbenp.prettier-vscode"
2126
},
@@ -44,6 +49,7 @@
4449
"ms-python.vscode-pylance",
4550
"ms-python.isort",
4651
"ms-python.black-formatter",
52+
"charliermarsh.ruff",
4753
"EditorConfig.EditorConfig",
4854
"esbenp.prettier-vscode"
4955
]

0 commit comments

Comments
 (0)