Find deprecated imghdr module usage
ProprietaryThe 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. FindImghdrModulemod run . --recipe= org. openrewrite. python. migrate. FindImghdrModuleInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.