Skip to content

Commit 4b7efeb

Browse files
authored
Turn off linting by default in VS Code for Python (#449)
* Turn off linting by default in VS Code for Python Linting is on by default if you specify the paths to any linters, so the previous settings would turn on **all** linters. Also drop linters that don't see much use. * Fix tests * Revert all changes * Remove paths to under-utilized tools and turn off all linting by default * Bump the version number
1 parent 83c6103 commit 4b7efeb

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/python/devcontainer-feature.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "python",
3-
"version": "1.0.20",
3+
"version": "1.0.21",
44
"name": "Python",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/python",
66
"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.",
@@ -63,13 +63,12 @@
6363
"python.defaultInterpreterPath": "/usr/local/python/current/bin/python",
6464
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
6565
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
66-
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
67-
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
6866
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
67+
"python.linting.flake8Enabled": false,
6968
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
70-
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
71-
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
72-
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
69+
"python.linting.mypyEnabled": false,
70+
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
71+
"python.linting.pylintEnabled": false
7372
}
7473
}
7574
},

0 commit comments

Comments
 (0)