Add YAPF style + ignore, and format tracked Python files
This commit is contained in:
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@@ -2,8 +2,8 @@
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "ms-python.python",
|
||||
|
||||
"python.formatting.provider": "black",
|
||||
"python.formatting.blackArgs": ["--line-length", "88"],
|
||||
"python.formatting.provider": "yapf",
|
||||
"python.formatting.yapfArgs": ["--style", ".style.yapf"],
|
||||
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.python",
|
||||
|
||||
Reference in New Issue
Block a user