Can someone explain error messages in Problem window and how to fix them?
I removed the pylint and I dont get those problems shown above.
Pylint is a tool that (among other issues) is trying to enforce a particular style for your code. You can ignore them (as @chamari suggested) or you can follow the style it suggested.
In particular, the two suggestions it is telling you are:
-
“Final newline missing” means, it wants you to end your file with a blank line like this (note the extra blank line after “print(2+2)”:
print(2 + 2)
-
“Missing module docstring” - Pylint is assuming that you are using Python modules and expects the module to start with a docstring describing the module like this:
"""Description of what this module is for."""
1 Like