Code quality

Proprietary

Apply all Python code quality recipes that change code: simplify boolean expressions, merge and collapse if chains, and remove dead conditions and writes. Search-only recipes, which mark code for review, are not included.

org.openrewrite.python.codequality.CodeQuality
mod run . --recipe=org.openrewrite.python.codequality.CodeQuality

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