summaryrefslogtreecommitdiff
path: root/tests/functional/t/too/too_few_public_methods_excluded.py
blob: 35ba873ee5b0353e46e37fa18497bf98b84e90f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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."""
    ...