Skip to content

Remove superfluous super().__init__ calls

Usually if a class is a subclass of base object the calls to super init in its init method is not needed.

See how standard library does this: https://github.com/python/cpython/blob/78842e4a98994a218a93992a2a1e3ca3eaa28e79/Lib/tempfile.py#L440

Because the logger super class was removed all classes now descend from the base object therefore all super calls can be removed. This also makes typing easier as *args, **kwargs will no longer be around.

Depends on: !63 (merged)

Edited by Igor Ponomarev

Merge request reports

Loading