Find deprecated imghdr module usage

Proprietary

The imghdr module was deprecated in Python 3.11 and removed in Python 3.13. Use filetype, python-magic, or Pillow instead.

org.openrewrite.python.migrate.FindImghdrModule
mod run . --recipe=org.openrewrite.python.migrate.FindImghdrModule

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