pylint-errors

E1003 (bad-super-call)

:x: Problematic code:

class Foo:
    pass


class Bar(Foo):
    def __init__(self):
        super(Foo, self).__init__()

:heavy_check_mark: Correct code:

class Foo:
    pass


class Bar(Foo):
    def __init__(self):
        super().__init__()

Rationale:

Used when another argument than the current class is given as first argument of the super builtin.