Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code: You have deprecated linting or formatting settings for Python [duplicate]

Whenever I open VSCode and open a remote session to our dev server over SSH I'm greeted with this message:

You have deprecated linting or formatting settings for Python.

In the logs I see these errors:

[error] Following setting is deprecated: "python.linting.flake8Enabled"
[error] All settings starting with "python.linting." are deprecated and can be removed from settings.
[error] Linting features have been moved to separate linter extensions.
[error] See here for more information: https://code.visualstudio.com/docs/python/linting

I tried to disable and re-enable Flake8 but that didn't help. How do I remove the linting stuff from settings as it recommends? It's not a biggie but it is a little annoying.

like image 611
I-P-X Avatar asked Sep 03 '25 02:09

I-P-X


1 Answers

Issue: Deprecated settings in VSCode.

Fix:

  1. Open VSCode user settings JSON (docs).
  2. Delete the grayed out (deprecated) settings.
  3. Save and restart VSCode.

Note: This may be a workspace setting, meaning that you'll find the relevant settings.json within your current project's .vscode folder.

Either way, you should be able to open and review them both by using the command palette in VS Code.

like image 83
JBallin Avatar answered Sep 05 '25 01:09

JBallin