Fold constants into f-string text
ProprietaryInline constant values directly into f-string text. A number is only inlined where its source is its printed text, so {1_000} stays, and a string only where it holds no brace, quote, backslash or line break.
org. openrewrite. python. cleanup. SimplifyFstringFormattingmod run . --recipe= org. openrewrite. python. cleanup. SimplifyFstringFormattingInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.