pylint-errors

W0232 (no-init)

:x: Problematic code:

class Foo:
    pass


class Bar(Foo):
    pass

:heavy_check_mark: Correct code:

class Foo:
    def __init__(self):
        pass


class Bar(Foo):
    pass

Rationale:

Used when a class has no __init__ method, neither its parent classes.