Unverified Commit 02b71cbd authored by hellodword's avatar hellodword Committed by GitHub

[python] add default formatter (#903)

Co-authored-by: 's avatarSamruddhi Khandale <skhandale@microsoft.com>
parent f5787eed
{ {
"id": "python", "id": "python",
"version": "1.4.2", "version": "1.5.0",
"name": "Python", "name": "Python",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/python", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/python",
"description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.", "description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.",
...@@ -73,10 +73,14 @@ ...@@ -73,10 +73,14 @@
"vscode": { "vscode": {
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"ms-python.vscode-pylance" "ms-python.vscode-pylance",
"ms-python.autopep8"
], ],
"settings": { "settings": {
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python" "python.defaultInterpreterPath": "/usr/local/python/current/bin/python",
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
}
} }
} }
}, },
...@@ -84,4 +88,4 @@ ...@@ -84,4 +88,4 @@
"ghcr.io/devcontainers/features/common-utils", "ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/oryx" "ghcr.io/devcontainers/features/oryx"
] ]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment