Standardize @classmethod first parameter to cls

Proprietary

Ensure that @classmethod methods use cls as their first parameter, as required by PEP 8, and update its references in the body. It only fires under the builtin classmethod, not one the file rebinds, and leaves alone a method that already uses cls, or mentions the old name in an import or a nested function or class.

org.openrewrite.python.cleanup.ClassMethodFirstArgName
mod run . --recipe=org.openrewrite.python.cleanup.ClassMethodFirstArgName

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