What were the default formatter and linter for python extension? #22407
Replies: 2 comments
-
The linting setting has been deprecated. You have to install those helper extensions (autopep8, black, pylance, flake8) individually.
but this is no more available. To use Pylance, add the following setting to your If you don't want to use the settings.json, select the Settings UI in the Command Panel: |
Beta Was this translation helpful? Give feedback.
-
Chances are you were using autopep8 and isort. |
Beta Was this translation helpful? Give feedback.
-
I'm currently migrating to python tool extensions per the guide, and I want to keep the exactly same behavior as before, so I would like to continue use the default ones.
The guide does not mention which one of these tools are the default previously.
My current settings only has
"editor.defaultFormatter": "ms-python.python"
and no mention of linter at all, so I have no clue.Also I assume the import sorting functionality would be relying on separate extension(s) too - is the extension previously using
isort
orruff
?Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions