Unwrap str() from print() arguments
Proprietaryprint() 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. RemoveStrFromPrintmod run . --recipe= org. openrewrite. python. cleanup. RemoveStrFromPrintInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.