Inspectopedia
 
2024.3

Missed call to '__init__' of the super class

Warning
New
Last modified: 03 December 2024

Reports cases when a call to the super constructor in a class is missed.

Example:

The Pear class should have a super call in the __init__ method.

When the quick-fix is applied, the code changes to: