Sylvain Thénault <[email protected]> writes: > 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
Ah, that works nicely. Thanks! When the documentation is corrected, it would be great if it would also mention this trick instead. Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
