summaryrefslogtreecommitdiff
path: root/test/input/func_r0903.py
blob: 49008f95839ddb2e0c33734075950cde659adc39 (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
"""test min methods"""
from __future__ import print_function
__revision__ = None

class Aaaa(object):
    """yo"""
    def __init__(self):
        pass
    def meth1(self):
        """hehehe"""
        print(self)
    def _dontcount(self):
        """not public"""
        print(self)


# Don't emit for these cases.
class Klass(object):
    """docstring"""

    def meth1(self):
        """first"""

    def meth2(self):
        """second"""


class EnoughPublicMethods(Klass):
    """We shouldn't emit too-few-public-methods for this."""