Named equivalent of W0703

693 views Asked by At

I am trying to disable the pylint W0703: Catching too general exception exception within my python code using the inline disabling. I realize I can do the following (and it works fine):

# pylint: disable=W0703

But for clarity I would prefer to use the name instead of the cryptic code. I tried catching-too-general-exception but it just caused a W0703: bad option value 'catching-too-general-exception' (also tried a few variants but I am just guessing at this point).

I have also looked at the wiki and it doesn't appear to include any name equivalent to the code.

  1. Is there a named equivalent for disabling the W0703 message?
  2. Is there a web page that shows the codes and their named equivalents?
0

There are 0 answers