Use black formatter for Python

Former-commit-id: 5016dc7fba
This commit is contained in:
Luke Street 2022-11-27 23:56:37 -05:00
parent c2fdf35ed9
commit a0e0224a8d
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",