blob: 2ee8f1c4a48696a33e555925f78544ed3b460006 (
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 methods,
and its parent is excluded via config, so it doesn't raise."""
|