feat: black formatter as default formatter

This commit is contained in:
Laurent Fainsin 2023-04-02 19:02:24 +02:00
parent 35c9b2630c
commit 8f24f83b4a

View file

@ -1,5 +1,4 @@
{
// "python.defaultInterpreterPath": ".venv/bin/python",
"python.analysis.typeCheckingMode": "off",
"python.formatting.provider": "black",
"editor.formatOnSave": true,
@ -10,6 +9,7 @@
"python.linting.banditEnabled": true,
"python.languageServer": "Pylance",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
"source.organizeImports": true
}