You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pylint example.py
No config file found, using default configuration
************* Module example
E: 16,12: Raising a new style class which doesn't inherit from BaseException (raising-non-exception)
------------------------------------------------------------------
Your code has been rated at 4.44/10 (previous run: 4.44/10, +0.00)
Expected behavior
$ pylint example.py
No config file found, using default configuration
--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
The if seems to be crucial to the repro. For example, this does NOT repro:
$ pylint example.py
No config file found, using default configuration
************* Module example
E: 8,11: Catching an exception which doesn't inherit from Exception: exceptions (catching-non-exception)
E: 9, 8: Raising a new style class which doesn't inherit from BaseException (raising-non-exception)
--------------------------------------------------------------------
Your code has been rated at -6.67/10 (previous run: -6.67/10, +0.00)
Steps to reproduce
Current behavior
Expected behavior
The
if
seems to be crucial to the repro. For example, this does NOT repro:This also isn't an issue if #1756 isn't present:
pylint --version output
The text was updated successfully, but these errors were encountered: