Skip to content

Commit

Permalink
fix(devcontainer): remove deprecated linters
Browse files Browse the repository at this point in the history
With the migration of linting functionality out of the core vscode python extension to individual extensions (https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions), these linter paths are no longer needed. In addition, with the adoption of ruff for python formatting & linting, these linters may also be no longer correct in some settings.
  • Loading branch information
kenibrewer committed Feb 25, 2024
1 parent b51c7d8 commit 5afa49d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,7 @@
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},

// Add the IDs of extensions you want installed when the container is created.
Expand Down

0 comments on commit 5afa49d

Please sign in to comment.