Pylinter icon indicating copy to clipboard operation
Pylinter copied to clipboard

When adding pylint disable, use symbolic name instead of code

Open szepi1991 opened this issue 7 years ago • 0 comments

On adding a pylint disable with the (keyboard) shortcut, it'd be useful if instead of the code the symbolic name was used. For example,

a = 1 #pylint: disable=C0103
b = 2 #pylint: disable=invalid-name

The second one is much more readable. This matters when there are a number of things going on in a line; in this case I'd want to know what warning was disabled.

szepi1991 avatar Mar 18 '18 19:03 szepi1991