Python linter¶
Installation¶
Install the pylint paquet.
run pylint. It gives you a note. You will have a lot of error before getting a 10/10...
You may want to skip some errors because it is a thoughtful choice. You can do it.
Usage¶
First retrieve the pylint error code number you want to skip
pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' <file.py>
Then put a comment on the line like this
master_space.variable.append(variable) # pylint: disable=E<ErrorCode>
where ErrorCode is the error code number you retrieved.