Replace not x in y with x not in y
ProprietaryReplace not x in y with x not in y. The not in operator is clearer than negating an in test. A chained comparison such as not a in b in c is left alone.
org. openrewrite. python. cleanup. ReplaceNotInTestmod run . --recipe= org. openrewrite. python. cleanup. ReplaceNotInTestInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.