Merge pull request #683 from Hestia-Homes/add-formatting-to-devcontainer

Add black formatting on-save to devcontainer
This commit is contained in:
Daniel Roth 2026-01-22 10:48:44 +00:00 committed by GitHub
commit 23605b5279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 6 deletions

View file

@ -11,9 +11,6 @@
],
"customizations": {
"vscode": {
"settings": {
"files.defaultWorkspace": "/workspaces/model"
},
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter",
@ -24,8 +21,17 @@
"fabiospampinato.vscode-todo-plus",
"jgclark.vscode-todo-highlight",
"corentinartaud.pdfpreview",
"ms-python.vscode-python-envs"
]
"ms-python.vscode-python-envs",
"ms-python.black-formatter"
],
"settings": {
"files.defaultWorkspace": "/workspaces/model",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"python.formatting.provider": "none"
}
}
},
"containerEnv": {

View file

@ -17,4 +17,6 @@ sqlmodel
# Testing
pytest==9.0.2
pytest-cov==7.0.0
ipykernel>=6.25,<7
ipykernel>=6.25,<7
# Formatting
black==26.1.0