It looks like this plugin triggers false positive errors:
E1137: 'self.my_array' does not support item assignment (unsupported-assignment-operation)
This error occurs when running pylint --load-plugin=pylint_qt on the following code:
import PySide6.QtCore
class MyClass:
def __init__(self) -> None:
self.my_array = [1, 2, 3, 4]
self.my_array[1] = 5
The error only appears when passing --load-plugin=pylint_qt and importing a PySide6 module. This suggests to me that the plugin somehow triggers the error, but I don't yet understand how it happens.
Using Python 3.13.9, packages:
Package Version
------------------ -------
astroid 4.0.4
colorama 0.4.6
dill 0.4.1
isort 8.0.1
mccabe 0.7.0
pip 25.2
platformdirs 4.9.6
pylint 4.0.5
pylint-qt 0.1.0
PySide6 6.11.0
PySide6_Addons 6.11.0
PySide6_Essentials 6.11.0
shiboken6 6.11.0
tomlkit 0.14.0
It looks like this plugin triggers false positive errors:
This error occurs when running
pylint --load-plugin=pylint_qton the following code:The error only appears when passing
--load-plugin=pylint_qtand importing a PySide6 module. This suggests to me that the plugin somehow triggers the error, but I don't yet understand how it happens.Using Python 3.13.9, packages: