Skip to content

Commit 209567f

Browse files
committed
vscode: use ms-python.black-formatter
1 parent eae3141 commit 209567f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"python.testing.pytestEnabled": true,
1010
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
1111
"editor.formatOnSave": true,
12-
"python.formatting.provider": "black",
12+
"python.formatting.provider": "none",
1313
"python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
1414
"python.formatting.blackArgs": [
1515
"--line-length",
@@ -27,4 +27,7 @@
2727
"json.format.enable": true,
2828
"files.insertFinalNewline": true,
2929
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
30+
"[python]": {
31+
"editor.defaultFormatter": "ms-python.black-formatter"
32+
},
3033
}

0 commit comments

Comments
 (0)