PY3.R1725
Super with arguments
Emitted when calling the super() builtin with the current class and instance. On Python 3 these arguments are the default and they can be omitted.
Noncompliant Code:
Copy
class Fruit:
pass
class Orange(Fruit):
def __init__(self):
super(Orange, self).__init__()
Compliant Code:
Copy
class Fruit:
pass
class Orange(Fruit):
def __init__(self):
super().__init__()