Skip to content

Commit d8b0244

Browse files
committed
add vscode settings for the black formatter
1 parent 93e1fc2 commit d8b0244

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.devcontainer/devcontainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"ms-azuretools.vscode-docker",
2424
"eamodio.gitlens",
2525
"ms-python.python",
26-
"njpwerner.autodocstring"
26+
"njpwerner.autodocstring",
27+
"ms-python.black-formatter"
2728
],
2829
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2930
// "forwardPorts": [],

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"python.testing.unittestEnabled": false,
77
"python.testing.pytestEnabled": true,
88
"[python]": {
9-
"editor.defaultFormatter": "ms-python.black-formatter"
9+
"editor.defaultFormatter": "ms-python.black-formatter",
10+
"editor.formatOnSave": true
1011
}
1112
}

0 commit comments

Comments
 (0)