Closed pixeeai closed 1 day 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?
Any chance you've had the time to review these changes?
If you're not interested implementing them at this time, no worries. I can close the PR and follow back with additional changes in the future. Also, this plugin is free for non-commercial open sourced projects, so feel free to give it an install if you want to see the other recommended PRs.
Thanks, Zach
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)