.. _super-init-not-called:

super-init-not-called / W0231
=============================

**Message emitted:**

__init__ method from base class %r is not called

**Description:**

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

**Problematic code:**

.. literalinclude:: /data/messages/s/super-init-not-called/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/s/super-init-not-called/good.py
   :language: python



Created by the `classes <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/classes/class_checker.py>`__ checker.