Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f17b53a

Browse files
Alami-Aminej-ororke
authored andcommittedJul 31, 2024
VS Code Python Formatting (project-chip#34475)
* add python formatter arguments to vscode .settings * add python formatters to recommended Extensions
1 parent f13f408 commit f17b53a

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)
Please sign in to comment.