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.

missing_docstring.py 908B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # [missing-docstring]
  2. # pylint: disable=too-few-public-methods
  3. def public_documented():
  4. """It has a docstring."""
  5. def _private_undocumented():
  6. # Doesn't need a docstring
  7. pass
  8. def _private_documented():
  9. """It has a docstring."""
  10. class ClassDocumented(object):
  11. """It has a docstring."""
  12. class ClassUndocumented(object): # [missing-docstring]
  13. pass
  14. def public_undocumented(): # [missing-docstring]
  15. pass
  16. def __sizeof__():
  17. # Special
  18. pass
  19. def __mangled():
  20. pass
  21. class Property(object):
  22. """Don't warn about setters and deleters."""
  23. def __init__(self):
  24. self._value = None
  25. @property
  26. def test(self):
  27. """Default docstring for setters and deleters."""
  28. @test.setter
  29. def test(self, value):
  30. self._value = value
  31. @test.deleter
  32. def test(self):
  33. pass