Unwrap str() from print() arguments

Proprietary

print() automatically converts its arguments to strings, so an explicit str() wrapper is unnecessary and can be removed. It only fires where print and str resolve to the builtins and str() is given one plain positional argument.

org.openrewrite.python.cleanup.RemoveStrFromPrint
mod run . --recipe=org.openrewrite.python.cleanup.RemoveStrFromPrint

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