On 16 août 09:12, Nikolaus Rath wrote: > >> # Disable the message, report, category or checker with the given id(s). > >> You > >> # can either give multiple identifier separated by comma (,) or put this > >> option > >> # multiple time. > > > > huum, you can actually put it multiple time *as option on the command > > line*. > > In the configuration file, you should put it only once and separate values > > by comma. The documentation should be fixed. > > I think it would be very convenient to specify the values on separate > lines. That way I can add a comment for each message, describing what > the message is and why I disabled it. Otherwise I just have one huge > line that is really difficult to work with.
Pylint doesn't parse this itself, it use the ConfigParser do it (from the standard library). You can still split the value on multiple lines, as specified in ConfigParser documentation [1]: disable=msg1,msg2, msg3, msg4 (notice the extra space). [1] http://docs.python.org/library/configparser.html -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services CubicWeb, the semantic web framework: http://www.cubicweb.org _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
