pylint #104572 symbolic warning names [validation pending]

Martin Pool on python-projects

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.

done in0.26.0
load left0.000
closed by#b9dab5059b81 Closes #104572: symbolic warning names in output (by Martin Pool)