Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bad_staticmethod_argument.py 329B

12345678910111213141516
  1. # pylint: disable=missing-docstring, no-staticmethod-decorator
  2. class Abcd(object):
  3. def method1(self): # [bad-staticmethod-argument]
  4. pass
  5. method1 = staticmethod(method1)
  6. def method2(cls): # [bad-staticmethod-argument]
  7. pass
  8. method2 = staticmethod(method2)
  9. def __init__(self):
  10. pass