QuackatronHQ / Gigarepo

No @staticmethod decorator PYL-R0203
Anti-pattern
Major
a month ago2 years old
Consider using a decorator instead of calling staticmethod
 24    def smethod():
 25        """static method-to-be"""
 26
 27    smethod = staticmethod(smethod) 28
 29    def cmethod(cls, something):
 30        """class method-to-be"""