Open pixeeai opened 6 months ago
FYI - This change was autogenerated from a new trending GitHub app - called Pixeebot. A code-quality GitHub App; like Dependabot, but for source code. (Free for Open Source Projects 👍)
@CorentinJ any thoughts on this change request?
This codemod fixes cases where an exception is referenced by itself in a statement without being raised. This most likely indicates a bug: you probably meant to actually raise the exception.
Our changes look something like this:
More reading
* [https://docs.python.org/3/tutorial/errors.html#raising-exceptions](https://docs.python.org/3/tutorial/errors.html#raising-exceptions)Powered by: pixeebot (codemod ID: pixee:python/exception-without-raise)