Skip to content

Commit

Permalink
nit: use black as default formatter (#52530)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhsiehgit authored Jul 10, 2023
1 parent aa8666c commit 836e0b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"editor.defaultFormatter": "ms-python.black-formatter"
},

"[html]": {
Expand All @@ -82,6 +83,6 @@
"python.linting.pycodestylePath": "${workspaceFolder}/.venv/bin/pep8",
"python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
"python.formatting.blackPath": "${workspaceFolder}/.venv/bin/black",
"python.formatting.provider": "black",
"python.formatting.provider": "none",
"python.testing.pytestArgs": ["tests"]
}

0 comments on commit 836e0b0

Please sign in to comment.