When i write python code on my visual studio code editor i can't find any warnings or errors. I installed python extension, I also change the version of that extension.. I also read many documentations of python extension and visual studio but can't find any solution Here is the image...
Asked
Active
Viewed 1,720 times
1 Answers
0
You could use Python code analysis tool "Pylint" or use "Microsoft" or "Pylance" language service in VS Code.
Python code analysis tool "Pylint".
Please install the module "pylint" in the Python environment currently used in VS Code and enable its use settings.
Use "Microsoft" or "Pylance" language services.
Please use it in "settings.json":
"python.languageServer": "Microsoft",`
or
"python.languageServer": "Pylance",
before:
after:

Jill Cheng
- 9,179
- 1
- 20
- 25