summaryrefslogtreecommitdiff
path: root/tests/functional/t/too_many_public_methods.py
blob: 11b4b367d9b7489feb9ef2b38b25fb1074869238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# pylint: disable=missing-docstring, useless-object-inheritance

class Aaaa(object): # [too-many-public-methods]

    def __init__(self):
        pass

    def meth1(self):
        """hehehe"""

    def meth2(self):
        """hehehe"""

    def meth3(self):
        """hehehe"""

    def meth4(self):
        """hehehe"""

    def meth5(self):
        """hehehe"""

    def meth6(self):
        """hehehe"""

    def meth7(self):
        """hehehe"""

    def meth8(self):
        """hehehe"""

    def meth9(self):
        """hehehe"""

    def meth10(self):
        """hehehe"""

    def meth11(self):
        """hehehe"""

    def meth12(self):
        """hehehe"""

    def meth13(self):
        """hehehe"""

    def meth14(self):
        """hehehe"""

    def meth15(self):
        """hehehe"""

    def meth16(self):
        """hehehe"""

    def meth17(self):
        """hehehe"""

    def meth18(self):
        """hehehe"""

    def meth19(self):
        """hehehe"""

    def meth20(self):
        """hehehe"""

    def meth21(self):
        """hehehe"""

    def _dontcount(self):
        """not public"""

class BBB(Aaaa):
    """Don't emit for methods defined in the parent."""
    def meth1(self):
        """trop"""
    def meth2(self):
        """tzop"""