(I apologize in advance if this is a faq, but I have searched and
didn't find it.)

Some people on my work project have complained that pylint
suppressions are hard in code review, because they don't remember the
meaning of all of the numbers.

It seems to me that it would be nice if it was possible to use short
symbolic names instead, similar to gcc warnings, like Wunused-imports
or Wunreachable.

Obviously there would still be times when you want a comment or
discussion of _why_ the warning is suppressed or whether there is a
better alternative, but sometimes just knowing the meaning would be
enough.

If I sent a patch that added names alongside the numbers, would that
be accepted?  Specifically I propose either would be accepted in
suppression comments, and there would be an option to choose between
them in the output.  The default could remain the same.

-- 
Martin
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to