Skip to content

Commit

Permalink
[python] add default formatter (#903)
Browse files Browse the repository at this point in the history
Co-authored-by: Samruddhi Khandale <[email protected]>
  • Loading branch information
hellodword and samruddhikhandale authored May 28, 2024
1 parent f5787ee commit 02b71cb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/python/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "python",
"version": "1.4.2",
"version": "1.5.0",
"name": "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.",
Expand Down Expand Up @@ -73,15 +73,19 @@
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
"ms-python.vscode-pylance",
"ms-python.autopep8"
],
"settings": {
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python"
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python",
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
}
}
}
},
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils",
"ghcr.io/devcontainers/features/oryx"
]
}
}

0 comments on commit 02b71cb

Please sign in to comment.