Replace pipes.quote() with shlex.quote()

Proprietary

pipes.quote() is shlex.quote() under another name, and the pipes module was removed in Python 3.13. The pipes import stays where the file uses another of its members.

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

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

Recipe list

It runs these recipes, in this order.

  1. Change import