diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-08-17 22:48:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 22:48:38 +0300 |
commit | a630e92c468c241fa029f278e4d7a0ac96142c76 (patch) | |
tree | ebc96705a0dd8be842fb097dcb494155020fd110 /src/python/devcontainer-feature.json | |
parent | 4ecc275a8d199cdce98cd462fee612d7f687efe4 (diff) |
Move extensions and settings under customizations.vscode (#97)
* move extensions and settings under customizations
* nit
* bump versions
Diffstat (limited to 'src/python/devcontainer-feature.json')
-rw-r--r-- | src/python/devcontainer-feature.json | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/src/python/devcontainer-feature.json b/src/python/devcontainer-feature.json index 5ca1144..329d85a 100644 --- a/src/python/devcontainer-feature.json +++ b/src/python/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "python", - "version": "1.0.1", + "version": "1.0.2", "name": "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.", "options": { @@ -51,20 +51,24 @@ "PIPX_BIN_DIR": "/usr/local/py-utils/bin", "PATH": "${PYTHON_PATH}/bin:${PATH}:${PIPX_BIN_DIR}" }, - "extensions": [ - "ms-python.python", - "ms-python.vscode-pylance" - ], - "settings": { - "python.defaultInterpreterPath": "/usr/local/bin/python", - "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", - "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", - "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", - "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", - "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", - "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", - "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance" + ], + "settings": { + "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", + "python.formatting.blackPath": "/usr/local/py-utils/bin/black", + "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", + "python.linting.banditPath": "/usr/local/py-utils/bin/bandit", + "python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", + "python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", + "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", + "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", + "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint" + } + } } -}
\ No newline at end of file +} |