summaryrefslogtreecommitdiff
path: root/tests/functional/t/too/too_few_public_methods_excluded.py
blob: fecf497ad11f78c6aca0a357cb0e9dea6d475862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pylint: disable=missing-docstring
from json import JSONEncoder

class Control: # [too-few-public-methods]
    ...


class MyJsonEncoder(JSONEncoder):
    ...

class InheritedInModule(Control):
    """This class inherits from a class that doesn't have enough mehods,
    and its parent is excluded via config, so it doesn't raise."""