Ecosystem report

Old: main (merge base) 22400709 → New: 27115/merge 3301e5b8
Lint Rule Removed Added Changed
Total 0 0 90
invalid-assignment 0 0 90
Project Removed Added Changed
Total 0 0 90
spark 0 0 20
pandas 0 0 19
optuna 0 0 17
python-htmlgen 0 0 16
werkzeug 0 0 5
mitmproxy 0 0 3
scipy 0 0 2
xarray 0 0 2
bokeh 0 0 1
hydpy 0 0 1
pydantic 0 0 1
rotki 0 0 1
scrapy 0 0 1
zulip 0 0 1

bokeh (https://github.com/bokeh/bokeh)

src/bokeh/model/model.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `document` on type `Self@_detach_document` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `document` on type `Self@_detach_document`: Expected `Document`, found `None`

hydpy (https://github.com/hydpy-dev/hydpy)

hydpy/auxs/armatools.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `ar_coefs` on type `Self@calc_all_ar_coefs` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `ar_coefs` on type `Self@calc_all_ar_coefs`: Expected `Sequence[int | float] | ndarray[tuple[int], dtype[float64]]`, found `ndarray[tuple[Any, ...], dtype[floating[Any]]]`

mitmproxy (https://github.com/mitmproxy/mitmproxy)

test/mitmproxy/test_http.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `host` on type `Request` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `host` on type `Request`: Expected `str | bytes`, found `None`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `port` on type `Request` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `port` on type `Request`: Expected `int`, found `Literal["foo"]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `content` on type `Response` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `content` on type `Response`: Expected `bytes | None`, found `Literal["foo"]`

optuna (https://github.com/optuna/optuna)

optuna/storages/_rdb/storage.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_json` on type `StudyUserAttributeModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_json` on type `StudyUserAttributeModel`: Argument type `MappedColumn[Any] | Column[str]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_json` on type `StudySystemAttributeModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_json` on type `StudySystemAttributeModel`: Argument type `MappedColumn[Any] | Column[str]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `state` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `state` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `state` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `state` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `datetime_start` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `datetime_start` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `datetime_complete` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `datetime_complete` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `TrialValueModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `TrialValueModel`: Argument type `MappedColumn[Any] | Column[int | float]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_type` on type `TrialValueModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value_type` on type `TrialValueModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `intermediate_value` on type `TrialIntermediateValueModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `intermediate_value` on type `TrialIntermediateValueModel`: Argument type `MappedColumn[Any] | Column[int | float]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `intermediate_value_type` on type `TrialIntermediateValueModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `intermediate_value_type` on type `TrialIntermediateValueModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `heartbeat` on type `TrialHeartbeatModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `heartbeat` on type `TrialHeartbeatModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `schema_version` on type `VersionInfoModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `schema_version` on type `VersionInfoModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `library_version` on type `VersionInfoModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `library_version` on type `VersionInfoModel`: Argument type `MappedColumn[Any] | Column[str]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`

tests/storages_tests/rdb_tests/test_storage.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `schema_version` on type `VersionInfoModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `schema_version` on type `VersionInfoModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `TrialModel` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `TrialModel`: Argument type `MappedColumn[Any] | Column[Unknown]` does not satisfy upper bound `Mapped[_T_co@Mapped]` of type variable `Self`

tests/trial_tests/test_frozen.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `distributions` on type `FrozenTrial` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `distributions` on type `FrozenTrial`: Expected `dict[str, BaseDistribution]`, found `dict[str, FloatDistribution]`

pandas (https://github.com/pandas-dev/pandas)

pandas/core/groupby/generic.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame`: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | Series | Sequence[Unknown]`, found `tuple[str, ...] | None`

pandas/tests/frame/test_api.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`

pandas/tests/generic/test_finalize.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `Series`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, list[int]]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, list[int]]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, list[int]]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, list[int]]`

pandas/tests/io/test_parquet.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, int]`

pandas/tests/reshape/test_get_dummies.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `attrs` on type `DataFrame`: Expected `Mapping[Hashable, Any]`, found `dict[str, str]`

pydantic (https://github.com/pydantic/pydantic)

pydantic/_internal/_decorators.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `wrapped` on type `Self@_call_wrapped_attr` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `wrapped` on type `Self@_call_wrapped_attr`: Expected `property`, found `classmethod[Any, (...), ReturnType@PydanticDescriptorProxy] | ((...) -> ReturnType@PydanticDescriptorProxy) | property`

python-htmlgen (https://github.com/srittau/python-htmlgen)

htmlgen/document.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Script` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Script`: Expected `Element`, found `Script`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `relation` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `relation` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__`: Expected `Element`, found `Self@__init__`

htmlgen/form.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `name` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `name` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `number` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@date` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@date`: Expected `Element`, found `Self@date`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `time` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `time` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@label` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `value` on type `Self@label`: Expected `Element`, found `Self@label`

htmlgen/image.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `url` on type `Self@__init__`: Expected `Element`, found `Self@__init__`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `alternate_text` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `alternate_text` on type `Self@__init__`: Expected `Element`, found `Self@__init__`

rotki (https://github.com/rotki/rotki)

rotkehlchen/tests/unit/test_inquirer.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `_oracle_instances` on type `Inquirer` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_oracle_instances` on type `Inquirer`: Expected `list[Alchemy | Coingecko | Cryptocompare | ... omitted 6 union elements]`, found `list[Defillama]`

scipy (https://github.com/scipy/scipy)

scipy/signal/tests/test_short_time_fft.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `fft_mode` on type `ShortTimeFFT` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `fft_mode` on type `ShortTimeFFT`: Expected `Literal["twosided", "centered", "onesided", "onesided2X"]`, found `Literal["invalid_typ"]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `phase_shift` on type `ShortTimeFFT` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `phase_shift` on type `ShortTimeFFT`: Expected `int | None`, found `float`

scrapy (https://github.com/scrapy/scrapy)

tests/test_http_request.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `cookies` on type `Request` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `cookies` on type `Request`: Expected `dict[str | bytes, str | bytes] | list[VerboseCookie] | None`, found `dict[str, str]`

spark (https://github.com/apache/spark)

python/pyspark/pandas/tests/indexes/test_conversion.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `names` on type `Index` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `names` on type `Index`: Expected `list[Any | tuple[Any, ...]]`, found `list[str]`

python/pyspark/pandas/tests/test_namespace.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame[Unknown]` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame[Unknown]`: Expected `Index[Any] | list[Any | tuple[Any, ...]]`, found `list[str]`

python/pyspark/sql/tests/connect/client/test_client.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `MockService`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `CapturingMock`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `CapturingMock`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `_stub` on type `SparkConnectClient`: Expected `SparkConnectServiceStub`, found `TimeoutCapturingMock`

python/pyspark/sql/tests/pandas/test_pandas_cogrouped_map.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame`: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index[Any] | ... omitted 3 union elements`, found `range`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame`: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index[Any] | ... omitted 3 union elements`, found `range`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `columns` on type `DataFrame`: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index[Any] | ... omitted 3 union elements`, found `range`

werkzeug (https://github.com/pallets/werkzeug)

src/werkzeug/test.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `args` on type `Self@__init__` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `args` on type `Self@__init__`: Expected `MultiDict[str, str]`, found `(Mapping[str, str] & Top[MultiDict[Unknown, Unknown]]) | MultiDict[str, Unknown]`

tests/test_wrappers.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `access_control_allow_headers` on type `Response` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `access_control_allow_headers` on type `Response`: Expected `HeaderSet`, found `list[str]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `stream` on type `Request` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `stream` on type `Request`: Expected `IO[bytes]`, found `LowercasingStream`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `date` on type `Response` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `date` on type `Response`: Expected `datetime | None`, found `Literal[1337]`
[error] invalid-assignment - Invalid assignment to data descriptor attribute `date` on type `Response` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `date` on type `Response`: Expected `datetime | None`, found `Literal[1337]`

xarray (https://github.com/pydata/xarray)

xarray/tests/test_datatree.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `dataset` on type `DataTree` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `dataset` on type `DataTree`: Expected `Dataset | None`, found `Literal["junk"]`

xarray/tests/test_treenode.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `children` on type `TreeNode` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `children` on type `TreeNode`: Argument type `int` does not satisfy upper bound `TreeNode` of type variable `Self`

zulip (https://github.com/zulip/zulip)

zerver/actions/message_send.py

[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Message` with custom `__set__` method
[error] invalid-assignment - Invalid assignment to data descriptor attribute `type` on type `Message`: Expected `MessageType`, found `int`