Wokia-Dev / EzFractal

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
a year agoa year old
Method doesn't use the class instance and could be converted into a static method
 49        for text in self.ez_texts:
 50            text.create_text()
 51
 52    def complex_button_content( 53            self, name: str, x: int, y: int, width: int, height: int
 54    ) -> None:
 55        # Draw the content of the complex button
Method doesn't use the class instance and could be converted into a static method
 44        for textField in self.ez_textFields:
 45            textField.create_text_field()
 46
 47    def update(self): 48        EZ.update()
 49
 50    def run(self):
Method doesn't use the class instance and could be converted into a static method
 49        for text in self.ez_texts:
 50            text.create_text()
 51
 52    def complex_button_content( 53            self, name: str, x: int, y: int, width: int, height: int
 54    ) -> None:
 55        # Draw the content of the complex button
Method doesn't use the class instance and could be converted into a static method
 44        for textField in self.ez_textFields:
 45            textField.create_text_field()
 46
 47    def update(self): 48        EZ.update()
 49
 50    def run(self):