pylint-errors

W0231 (super-init-not-called)

:x: Problematic code:

class Foo:
    def __init__(self):
        self.foo = True


class Baz(Foo):
    def __init__(self):
        self.baz = True

:heavy_check_mark: Correct code:

class Foo:
    def __init__(self):
        self.foo = True


class Baz(Foo):
    def __init__(self):
        super().__init__()
        self.baz = True

Rationale:

Used when an ancestor class method has an __init__ method which is not called by a derived class.