Someone_Else Someone_Else - 1 year ago 101
Python Question

No such message id pylint

When I try to pylint a file by doing

, I get the following error:
pylint.utils.UnknownMessage: No such message id E1608
. However, 'E1608' is certainly a valid message id; it says so on their website. What are some possible solutions?

The relevant section of my config file is:


Answer Source

It looks like you need


The disable flag takes a message, not a message ID, according to the docs. See here for the relevant documentation.

Alternatively, you can put # pylint: disable=old-octal-literal at the top of the file in question if the config file is still giving you problems.