-
Notifications
You must be signed in to change notification settings - Fork 796
Description
Currently when we boot up codespaces we continue to see the following errors show up:
2023-11-07 14:46:46.308 [error] Following setting is deprecated: "python.linting.pylintEnabled"
2023-11-07 14:46:46.308 [error] All settings starting with "python.linting." are deprecated and can be removed from settings.
2023-11-07 14:46:46.308 [error] Linting features have been moved to separate linter extensions.
2023-11-07 14:46:46.308 [error] See here for more information: https://code.visualstudio.com/docs/python/linting
2023-11-07 14:46:46.308 [error] Please install "pylint" extension: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint
As part of our investigation we did ensure that we removed any references of python.linting within our code base so we can confirm we do not have any of the deprecated linting settings enabled. Just to make sure however we did start up a codespaces in a repo that had no settings and only the base image configured, we continued to see the linting errors.
Within our devcontainer.json we are currently configured to use the image mcr.microsoft.com/devcontainers/universal:linux. We can confirm that we are pulling the following SHA, b2283ca173f95538dbb9db429d25f48b4e37552c51771ce3d467ac4851e891db, which seems to align with the current latest shown on https://mcr.microsoft.com/en-us/product/devcontainers/universal/tags.
Upon some inspection within codespaces we found that the following settings are within /home/codespace/.vscode-remote/data/Machine/settings.json.
"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.enabled": true,
"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.pylintEnabled": true,
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
As far as we can tell it seems these settings should have been removed with the following PR, https://github.com/devcontainers/images/pull/671/files. So it leads us to believe that although we are pulling the latest image, the latest image may not contain all of the latest changes?
Curious if anyone may have thoughts.
Thanks