Python

Python

Made by DeepSource

Useless inheritance from object PYL-R0205

Anti-pattern
Major
Autofix

The class is inheriting from object, which is implicit under Python 3 , hence can be safely removed from bases.

Not preferred:

class Foo(object):
    """Foo bar baz"""

Preferred:

class Foo:
    """Foo bar baz"""