Skip to content

Commit b5af7dd

Browse files
authored
🔧 update devcontainer config
1 parent fc8e064 commit b5af7dd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
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 && 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
},
@@ -44,9 +46,10 @@
4446
"ms-python.vscode-pylance",
4547
"ms-python.isort",
4648
"ms-python.black-formatter",
49+
"charliermarsh.ruff",
4750
"EditorConfig.EditorConfig",
4851
"esbenp.prettier-vscode"
4952
]
5053
}
5154
}
52-
}
55+
}

0 commit comments

Comments
 (0)