It is recommended to use the decorator syntax to declare a staticmethod.
Read more about staticmethod here
class MyClass:
def smethod():
'''static method-to-be'''
# Convert smethod to `staticmethod`
smethod = staticmethod(smethod)
class MyClass:
@staticmethod
def smethod():
'''static method-to-be'''