Skip to content

Commit

Permalink
useful config for developing in a devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethlove committed Sep 26, 2023
1 parent 2ebb546 commit 172b1ad
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,28 @@
"ghcr.io/wxw-matt/devcontainer-features/command_runner:0": {},
"ghcr.io/wxw-matt/devcontainer-features/script_runner:0": {}
},
"postCreateCommand": "pip install -e .[development,testing]"
"postCreateCommand": "pip install -e .[development,testing]",
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"ms-python.black-formatter",
"ms-python.python",
"ms-python.vscode-pylance",
"charliermarsh.ruff"
],
"settings": {
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"languageServer": "Pylance",
"linting.banditEnabled": true,
"testing.pytestEnabled": true,
"testing.unittestEnbled": false
}
}
}
}
}

0 comments on commit 172b1ad

Please sign in to comment.