Inspectopedia
 
2024.3

Class has no `__init__` method

Info
New
Last modified: 03 December 2024

Reports cases in Python 2 when a class has no __init__ method, neither its parent classes.

Example:

The quick-fix adds the __init__ method: