Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated vscode settings in decontainer.json #149

Open
4 tasks done
bj00rn opened this issue Nov 25, 2023 · 0 comments
Open
4 tasks done

Deprecated vscode settings in decontainer.json #149

bj00rn opened this issue Nov 25, 2023 · 0 comments
Labels

Comments

@bj00rn
Copy link

bj00rn commented Nov 25, 2023

System Health details

n/a

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

Seems there has been some changes recently to vscode settings. devcontainer.json needs some tuning

  • deprecated python linting settings in favour of extensions. Most python.linting.*, python.formatting.* settings will have no effect. A fix would be add extensions for black et al in devcontainer.json

  • python.pythonPath has been deprecated in favour of python.defaultInterpreterPath. In my integration it seems python.defaultInterpreterPath needs to go in .vscode/settings.json as well or vscode will not pick the correct interpreter

Cheers

Reproduction steps

  1. build devcontainer and vscode will throw warnings

Debug logs

2023-11-25 22:03:24.075 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonREPLSmartSend' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonTestAdaptercf' is active
2023-11-25 22:03:24.075 [error] Following setting is deprecated: "python.linting.pylintEnabled"
2023-11-25 22:03:24.075 [error] All settings starting with "python.linting." are deprecated and can be removed from settings.
2023-11-25 22:03:24.075 [error] Linting features have been moved to separate linter extensions.
2023-11-25 22:03:24.075 [error] See here for more information: https://code.visualstudio.com/docs/python/linting

Diagnostics dump

n/a

@bj00rn bj00rn added the Bug label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant