Remove useless object inheritance
ProprietaryRemove 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. RemoveUselessObjectInheritancemod run . --recipe= org. openrewrite. python. cleanup. RemoveUselessObjectInheritanceInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.