summaryrefslogtreecommitdiff
path: root/pylint/test/functional/statement_without_effect_py36.py
blob: 59745ce2bade00fef88026bb34cff67f81ec07b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Test for statements without effects."""
# pylint: disable=too-few-public-methods, useless-object-inheritance


class ClassLevelAttributeTest(object):
    """ test attribute docstrings. """

    some_variable: int = 42
    """Data docstring"""

    some_other_variable: int = 42
    """Data docstring"""

    def func(self):
        """Some Empty Docstring"""

    # +1: [pointless-string-statement]
    """useless"""