July 6, 2013
3:43 p.m.
On Fri, Jul 05, 2013 at 09:49:27PM -0500, Skip Montanaro wrote:
Is there some magic to adding new messages to pylint? I've defined my new warning in checkers/classes.py by adding a new key/value pair to the MSGS dict:
MSGS = { ... 'W0234': ('instance attribute %r is not used within the class', 'defined-attribute-not-accessed', 'Used when an attribute defined by the class is not accessed \ by the class itself.'),
}
but when I try to disable my new warning (W0324) with something like "# pylint: disable=C0302,W0324", it complains:
E: 1: Bad option value 'W0324'
So is it 2-3-4, or 3-2-4? Marius Gedminas -- A: No. Q: Should I include quotations after my reply?