Skip to content

Commit

Permalink
add vscode black formatter extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrian Harjati committed Sep 14, 2023
1 parent 5a9a1cf commit 10e0ea2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.black-formatter",
"donjayamanne.python-extension-pack",
"ms-python.isort",
"njpwerner.autodocstring",
Expand All @@ -16,6 +17,10 @@
"littlefoxteam.vscode-python-test-adapter"
],
"settings": {
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
Expand All @@ -35,7 +40,7 @@
],
"editor.tabSize": 4,
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"python.formatting.provider": "none",
"python.envFile": "${workspaceFolder}/.env",
"editor.codeActionsOnSave": {
"source.organizeImports": true
Expand Down

0 comments on commit 10e0ea2

Please sign in to comment.