Find functools.cmp_to_key() usage

Proprietary

Find usage of functools.cmp_to_key() which is a Python 2 compatibility function. Consider using a key function directly.

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

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