************* Module example
example.py:12:8: E1137: 'cls.csvdata' does not support item assignment (unsupported-assignment-operation)
example.py:13:27: E1136: Value 'cls.csvdata' is unsubscriptable (unsubscriptable-object)
example.py:13:55: E1136: Value 'cls.csvdata' is unsubscriptable (unsubscriptable-object)
I discovered that this only happens if csvdata is a class member. If I change the test case to just assign a local variable inside the __init__ function, the warnings go away.
Bug description
False positive E1136 and E1137 warnings from the following code:
Configuration
Command used
Pylint output
Expected behavior
No warnings.
Pylint version
OS / Environment
Ubuntu 24.04
Additional dependencies