This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
multipub/.pyenv/lib/python3.7/site-packages/pylint/test/functional/missing_docstring.py

55 lines
936 B
Python
Raw Normal View History

2019-02-09 02:45:25 -06:00
# [missing-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-docstring]
pass
def public_undocumented(): # [missing-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