Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code pylint: Error when all is ok

Why I get this message in VCCode but actually there are no errors?

error

And this one

MissingMoodule

If I run the program it's working without errors.

like image 892
Olegon Avatar asked Mar 16 '26 13:03

Olegon


1 Answers

You can disable the pylint whether used by python files or not as below:

  • Go to settings in VS Code
  • search for 'pylint'
  • you can find the below checkbox in 'Python › Linting: Pylint Enabled' Whether to lint Python files using pylint.
  • Just uncheck that ( No need to restart the VS Code)
like image 109
Krishna Murthy Avatar answered Mar 21 '26 14:03

Krishna Murthy