aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2023-03-02 02:29:11 +0300
committerGitHub <noreply@github.com>2023-03-02 02:29:11 +0300
commit4b7efebea1c19b69a345728bab8cd3f58335c428 (patch)
treea63d627fde124858e2fde238b8030de118a7e142
parent83c6103db23ce383a23097832bdf15d71f775665 (diff)
Turn off linting by default in VS Code for Python (#449)feature_python_1.0.21
* 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
-rw-r--r--src/python/devcontainer-feature.json11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/python/devcontainer-feature.json b/src/python/devcontainer-feature.json
index 361270b..c5f0d76 100644
--- a/src/python/devcontainer-feature.json
+++ b/src/python/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "python",
- "version": "1.0.20",
+ "version": "1.0.21",
"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.",
@@ -63,13 +63,12 @@
"python.defaultInterpreterPath": "/usr/local/python/current/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.flake8Enabled": false,
"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"
+ "python.linting.mypyEnabled": false,
+ "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
+ "python.linting.pylintEnabled": false
}
}
},