Pylint warnings on inherited nested class members
问题 We have some particular functionality implemented as a Python class, in order to be easily extended by our developers inheriting it. Each class has a an inner Config class with a list of items. The base class has an empty Config class, and each inheriting class defines some items into it. Then pylint complains each time the item of Config subclass is used. For example, this code: class A(object): class Config(object): def __init__(self): self.item1 = 1 self.item2 = 2 def __init__(self): self.