Use black formatter for Python

This commit is contained in:
Luke Street 2022-11-27 23:56:37 -05:00
parent 89e083cc54
commit 5016dc7fba
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
"recommendations": [ "recommendations": [
"ms-vscode.cpptools", "ms-vscode.cpptools",
"xaver.clang-format", "xaver.clang-format",
"akiramiyakoda.cppincludeguard" "akiramiyakoda.cppincludeguard",
"ms-python.black-formatter"
] ]
} }

View File

@ -7,6 +7,9 @@
"files.encoding": "shiftjis", "files.encoding": "shiftjis",
"editor.defaultFormatter": "xaver.clang-format" "editor.defaultFormatter": "xaver.clang-format"
}, },
"[python]":{
"editor.defaultFormatter": "ms-python.black-formatter"
},
"editor.tabSize": 2, "editor.tabSize": 2,
"files.associations": { "files.associations": {
"source_location": "cpp", "source_location": "cpp",