How to avoid Pylint warnings for constructor of inherited class in Python 3? <p>In Python 3, I have the following code:</p> <pre><code>class A: def __init__(self): pass class B(A): def __init__(self): super().__init__() </code></pre> <p>This yields the Pylint warning:</p> <blockquote> <ul> <li>Old-style class defined. (old-style-class)</li> <li>Use of super on an old style class (super-on-old-class)</li> </ul> </blockquote> <p>In my understanding, in Python 3 there does not exist an old-style class anymore and this code is OK.</p> <p>Even if I explicitly use new-style classes with this code</p> <pre><code>class A(object): def __init__(self): pass class B(A): def __init__(self): super().__init__() </code></pre> <p>I get Pylint warning because of the different syntax to call the parent constructor in Python 3:</p> <blockquote> <ul> <li>Missing argument to super() (missing-super-argument)</li> </ul> </blockquote> <p>So, how can I tell Pylint that I want to check Python 3 code to avoid these messages (without disabling the Pylint check)?</p>