no-staticmethod-decorator / R0203#
Consider using a decorator instead of calling staticmethod
Used when a static method is defined without using the decorator syntax.
class Worm: def bore(self): pass bore = staticmethod(bore) # [no-staticmethod-decorator]
class Worm: @staticmethod def bore(self): pass
Created by the classes checker.