Closed
Description
Current problem
Linting a codebase with a lot of raise Exception()
statements. This is a bad practice as it makes it impossible to write narrow exception clauses.
Desired solution
Forgive me if I missed it, but as far as I can tell, a check doesn't currently exist. The check should fail when an instance of Exception
or BaseException
is raised directly.