anton-hk / translator

Useless inheritance from object PYL-R0205
Anti-pattern
Major
1 occurrence in this check
Class 'Ui_Dialog' inherits from object, can be safely removed from bases in python3
 16from PySide2.QtWidgets import *
 17
 18
 19class Ui_Dialog(object): 20    def setupUi(self, Dialoge):
 21        if not Dialoge.objectName():
 22            Dialoge.setObjectName(u"Dialoge")