Remove useless object inheritance

Proprietary

Remove redundant object base class from class declarations. In Python 3, all classes implicitly inherit from object. It only fires where the base's type resolves to the builtin object, and leaves alone a base list holding comments.

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

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