useless-object-inheritance / R0205ΒΆ

Message emitted:

Class %r inherits from object, can be safely removed from bases in python3

Description:

Used when a class inherit from object, which under python3 is implicit, hence can be safely removed from bases.

Problematic code:

class Banana(object):  # [useless-object-inheritance]
    ...

Correct code:

class Banana: ...

Created by the classes checker.