Find Python error handling patterns

Proprietary

Detect Python error-handling idioms: typed, bare and group except clauses, finally, raise with a class versus a chained raise ... from, a raise ... from None that hides the active exception, bare re-raises, contextlib.suppress, custom exception classes, and whether a handler logs, warns, swallows, recovers, falls back to another import or prints a traceback.

io.moderne.prethink.FindPythonErrorPatterns
mod run . --recipe=io.moderne.prethink.FindPythonErrorPatterns

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.