blob: 72d6762aa2900b732391355d2788f2c612ac0c14 [file] [log] [blame]
# [missing-module-docstring]
# pylint: disable=too-few-public-methods, useless-object-inheritance
def public_documented():
"""It has a docstring."""
def _private_undocumented():
# Doesn't need a docstring
pass
def _private_documented():
"""It has a docstring."""
class ClassDocumented(object):
"""It has a docstring."""
class ClassUndocumented(object): # [missing-class-docstring]
pass
def public_undocumented(): # [missing-function-docstring]
pass
def __sizeof__():
# Special
pass
def __mangled():
pass
class Property(object):
"""Don't warn about setters and deleters."""
def __init__(self):
self._value = None
@property
def test(self):
"""Default docstring for setters and deleters."""
@test.setter
def test(self, value):
self._value = value
@test.deleter
def test(self):
pass
class DocumentedViaDunderDoc(object):
__doc__ = "This one"