Skip to content

Commit 13fe13a

Browse files
authored
VS Code Python Formatting (#34475)
* add python formatter arguments to vscode .settings * add python formatters to recommended Extensions
1 parent 44c725d commit 13fe13a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.vscode/extensions.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"vadimcn.vscode-lldb",
2222
"xaver.clang-format",
2323
"yuichinukiyama.vscode-preview-server",
24-
"yzhang.markdown-all-in-one"
24+
"yzhang.markdown-all-in-one",
25+
"ms-python.autopep8",
26+
"ms-python.isort"
2527
],
2628
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
2729
"unwantedRecommendations": []

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@
192192
"[python]": {
193193
"editor.defaultFormatter": "ms-python.autopep8"
194194
},
195-
"python.formatting.provider": "none"
195+
"autopep8.args": ["--max-line-length", "132"]
196196
}

0 commit comments

Comments
 (0)