How do I tell pylint about a descriptor providing access to iterables, subscriptables?
How do I tell pylint about a descriptor providing access to iterables, subscriptables? Question: I have a decorator that I can use to mark a read-only class property: class class_ro_property(property): def __init__(self, getter:Callable): self._getter = getter def __get__(self, _, cls): return self._getter(cls) class MyClass: @class_ro_property def my_property(cls): return [1, 2, 3] The problem is that …