Ecosystem report

Old: main (merge base) 3b5d0d5a New: 22643/merge 8e1d7eaf
Lint Rule Removed Added Changed
Total 9 13 81
invalid-argument-type 5 0 29
invalid-return-type 0 6 25
invalid-assignment 0 5 25
possibly-missing-attribute 0 2 2
no-matching-overload 2 0 0
unresolved-attribute 2 0 0
Project Removed Added Changed
Total 9 13 81
mitmproxy 0 0 14
Expression 4 1 8
scrapy 2 0 11
prefect 0 0 11
graphql-core 0 0 6
static-frame 0 4 2
ibis 0 0 5
meson 1 0 4
core 1 1 1
porcupine 0 3 0
bokeh 0 0 2
dd-trace-py 0 0 2
pandas-stubs 0 0 2
pandera 0 0 2
scipy-stubs 0 2 0
xarray 0 0 2
anyio 0 0 1
attrs 0 0 1
bidict 0 0 1
discord.py 0 1 0

Expression (https://github.com/cognitedata/Expression)

expression/collections/maptree.py

[error] invalid-return-type - :112 -
Old: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
New: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance | Unknown, object]]`
[error] invalid-argument-type - :114:25 - Argument to function `mk` is incorrect: Expected `Key@rebalance`, found `object`
[error] invalid-return-type - :121 -
Old: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
New: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance | Unknown, object]]`
[error] invalid-argument-type - :121 -
Old: Argument to function `mk` is incorrect: Expected `Key@rebalance`, found `object`
New: Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance | Unknown, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - :121:71 - Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-return-type - :132 -
Old: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
New: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Unknown | Key@rebalance, object]]`
[error] invalid-argument-type - :134:29 - Argument to function `mk` is incorrect: Expected `Key@rebalance`, found `object`
[error] invalid-return-type - :141 -
Old: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Key@rebalance, object]]`
New: Return type does not match returned value: expected `Option[MapTreeLeaf[Key@rebalance, Value@rebalance]]`, found `Option[MapTreeLeaf[Unknown | Key@rebalance, object]]`
[error] invalid-argument-type - :141 -
Old: Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
New: Argument to function `mk` is incorrect: Expected `Option[MapTreeLeaf[Unknown | Key@rebalance, object]]`, found `Option[Top[MapTreeLeaf[Unknown, Unknown]]]`
[error] invalid-argument-type - :141:41 - Argument to function `mk` is incorrect: Expected `Key@rebalance`, found `object`

tests/test_compose.py

[error] invalid-assignment - :21:16 - Object of type `(Never, /) -> Never` is not assignable to `(int, /) -> int`

tests/test_result.py

[error] invalid-argument-type - :491 -
Old: Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0, 42], Any]`
New: Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0], Any]`
[error] invalid-argument-type - :509 -
Old: Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error", "original error"]]`
New: Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error"]]`

anyio (https://github.com/agronholm/anyio)

src/anyio/_backends/_asyncio.py

[error] invalid-assignment - :2541 -
Old: Object of type `Future[_T@run_coroutine_threadsafe] | Future[T_Retval@run_async_from_thread]` is not assignable to `Future[T_Retval@run_async_from_thread]`
New: Object of type `Future[_T@run_coroutine_threadsafe]` is not assignable to `Future[T_Retval@run_async_from_thread]`

attrs (https://github.com/python-attrs/attrs)

tests/test_make.py

[error] invalid-assignment - :2872 -
Old: Object of type `type[tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15 | tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15]` is not assignable to `<class 'tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15'>`
New: Object of type `type[tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15]` is not assignable to `<class 'tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15'>`

bidict (https://github.com/jab/bidict)

bidict/_base.py

[error] invalid-assignment - :200 -
Old: Object of type `ReferenceType[BidictBase[VT@BidictBase, KT@BidictBase] | Self@inverse]` is not assignable to attribute `_invweak` of type `ReferenceType[BidictBase[VT@BidictBase, KT@BidictBase]] | None`
New: Object of type `ReferenceType[Self@inverse]` is not assignable to attribute `_invweak` of type `ReferenceType[BidictBase[VT@BidictBase, KT@BidictBase]] | None`

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

src/bokeh/model/model.py

[error] invalid-return-type - :496 -
Old: Return type does not match returned value: expected `set[bokeh.model.model.Model @ src/bokeh/model/model.py:79:7]`, found `set[bokeh.model.model.Model @ src/bokeh/model/model.py:79:7 | bokeh.model.model.Model @ src/bokeh/model/model.pyi:40:7]`
New: Return type does not match returned value: expected `set[bokeh.model.model.Model @ src/bokeh/model/model.py:79:7]`, found `set[bokeh.model.model.Model @ src/bokeh/model/model.pyi:40:7]`

src/bokeh/settings.py

[error] invalid-argument-type - :747 -
Old: Argument to bound method `__init__` is incorrect: Expected `((int | None | str, /) -> int | None | str) | None`, found `def convert_logging(value: str | int) -> int | None`
New: Argument to bound method `__init__` is incorrect: Expected `((str, /) -> str) | None`, found `def convert_logging(value: str | int) -> int | None`

core (https://github.com/home-assistant/core)

homeassistant/auth/models.py

[error] no-matching-overload - :114:23 - No overload of function `attrib` matches arguments

homeassistant/components/min_max/sensor.py

[error] invalid-assignment - :257 -
Old: Object of type `Event[EventStateChangedData | dict[str, Unknown | str | State | None]]` is not assignable to `Event[EventStateChangedData]`
New: Object of type `Event[dict[str, Unknown | str | State | None]]` is not assignable to `Event[EventStateChangedData]`

homeassistant/util/variance.py

[error] invalid-return-type - :47:12 - Return type does not match returned value: expected `(**_P@ignore_variance) -> _R@ignore_variance`, found `_Wrapped[_P@ignore_variance, _R@ignore_variance | int | float | datetime, _P@ignore_variance, _R@ignore_variance | int | float | datetime]`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

ddtrace/contrib/internal/logging/patch.py

[error] invalid-argument-type - :73 -
Old: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"] | int`
New: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"]`
[error] invalid-argument-type - :74 -
Old: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"] | int`
New: Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | Literal["0"]`

discord.py (https://github.com/Rapptz/discord.py)

discord/client.py

[error] invalid-return-type - :365:16 - Return type does not match returned value: expected `ConnectionState[Self@_get_state]`, found `ConnectionState[Client]`

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

freqtrade/optimize/analysis/lookahead.py

[error] invalid-argument-type - :48 -
Old: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame | dict[Unknown, Unknown]`
New: Argument to bound method `backtest` is incorrect: Expected `dict[Unknown, Unknown]`, found `DataFrame`

graphql-core (https://github.com/graphql-python/graphql-core)

src/graphql/execution/execute.py

[error] invalid-assignment - :1657 -
Old: Object of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult | CoroutineType[Any, Any, ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult]]` is not assignable to attribute `result` of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult] | (() -> BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult])`
New: Object of type `BoxedAwaitableOrValue[CoroutineType[Any, Any, ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult] | ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult]` is not assignable to attribute `result` of type `BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult] | (() -> BoxedAwaitableOrValue[ReconcilableDeferredGroupedFieldSetResult | NonReconcilableDeferredGroupedFieldSetResult])`
[error] invalid-argument-type - :1809 -
Old: Argument to bound method `append` is incorrect: Expected `BoxedAwaitableOrValue[StreamItemResult] | (() -> BoxedAwaitableOrValue[StreamItemResult])`, found `BoxedAwaitableOrValue[StreamItemResult | CoroutineType[Any, Any, StreamItemResult]]`
New: Argument to bound method `append` is incorrect: Expected `BoxedAwaitableOrValue[StreamItemResult] | (() -> BoxedAwaitableOrValue[StreamItemResult])`, found `BoxedAwaitableOrValue[CoroutineType[Any, Any, StreamItemResult] | StreamItemResult]`

tests/pyutils/test_boxed_awaitabe_or_value.py

[error] invalid-assignment - :29 -
Old: Object of type `BoxedAwaitableOrValue[int | Future[Unknown]]` is not assignable to `BoxedAwaitableOrValue[int]`
New: Object of type `BoxedAwaitableOrValue[Future[Unknown] | Unknown]` is not assignable to `BoxedAwaitableOrValue[int]`
[error] invalid-assignment - :36 -
Old: Object of type `BoxedAwaitableOrValue[int | CoroutineType[Any, Any, int]]` is not assignable to `BoxedAwaitableOrValue[int]`
New: Object of type `BoxedAwaitableOrValue[CoroutineType[Any, Any, int] | int]` is not assignable to `BoxedAwaitableOrValue[int]`
[error] invalid-assignment - :41 -
Old: Object of type `BoxedAwaitableOrValue[list[int] | Future[Unknown]]` is not assignable to `BoxedAwaitableOrValue[list[int]]`
New: Object of type `BoxedAwaitableOrValue[Future[Unknown] | Unknown]` is not assignable to `BoxedAwaitableOrValue[list[int]]`
[error] invalid-assignment - :56 -
Old: Object of type `BoxedAwaitableOrValue[int | CoroutineType[Any, Any, int]]` is not assignable to `BoxedAwaitableOrValue[int]`
New: Object of type `BoxedAwaitableOrValue[CoroutineType[Any, Any, int] | int]` is not assignable to `BoxedAwaitableOrValue[int]`

ibis (https://github.com/ibis-project/ibis)

ibis/expr/types/generic.py

[error] invalid-return-type - :2750 -
Old: Return type does not match returned value: expected `Column`, found `Scalar | Column | @Todo`
New: Return type does not match returned value: expected `Column`, found `Scalar | @Todo`
[error] invalid-return-type - :2797 -
Old: Return type does not match returned value: expected `Column`, found `Scalar | Column | @Todo`
New: Return type does not match returned value: expected `Column`, found `Scalar | @Todo`

ibis/expr/types/logical.py

[error] invalid-return-type - :526 -
Old: Return type does not match returned value: expected `BooleanColumn`, found `BooleanScalar | BooleanColumn | @Todo`
New: Return type does not match returned value: expected `BooleanColumn`, found `BooleanScalar | @Todo`

ibis/expr/types/numeric.py

[error] invalid-return-type - :1140 -
Old: Return type does not match returned value: expected `NumericColumn`, found `NumericScalar | NumericColumn | @Todo`
New: Return type does not match returned value: expected `NumericColumn`, found `NumericScalar | @Todo`
[error] invalid-return-type - :1240 -
Old: Return type does not match returned value: expected `NumericColumn`, found `NumericScalar | NumericColumn | @Todo`
New: Return type does not match returned value: expected `NumericColumn`, found `NumericScalar | @Todo`

jax (https://github.com/google/jax)

jax/_src/interpreters/mlir.py

[error] invalid-assignment - :1477:5 - Object of type `OrderedDict[Effect | str, Unknown]` is not assignable to attribute `_tokens` of type `OrderedDict[Effect, Unknown]`

meson (https://github.com/mesonbuild/meson)

mesonbuild/cargo/builder.py

[error] invalid-argument-type - :191:32 - Argument to bound method `__init__` is incorrect: Argument type `int | str` does not satisfy constraints (`int`, `str`, `bool`) of type variable `TV_TokenTypes`

mesonbuild/interpreter/type_checking.py

[error] invalid-assignment - :178 -
Old: Object of type `KwargInfo[list[str | int] | None]` is not assignable to `KwargInfo[list[str | int]]`
New: Object of type `KwargInfo[list[Unknown] | list[str | int] | None]` is not assignable to `KwargInfo[list[str | int]]`
[error] invalid-assignment - :488 -
Old: Object of type `KwargInfo[list[str | File | CustomTarget | ... omitted 5 union elements] | None]` is not assignable to `KwargInfo[list[str | File | CustomTarget | ... omitted 5 union elements]]`
New: Object of type `KwargInfo[None | list[Unknown]]` is not assignable to `KwargInfo[list[str | File | CustomTarget | ... omitted 5 union elements]]`
[error] invalid-assignment - :495 -
Old: Object of type `KwargInfo[dict[str, str] | str | list[str]]` is not assignable to `KwargInfo[dict[str, str]]`
New: Object of type `KwargInfo[str | list[str] | dict[str, str] | dict[Unknown, Unknown]]` is not assignable to `KwargInfo[dict[str, str]]`

mesonbuild/rewriter.py

[error] invalid-argument-type - :926 -
Old: Argument to bound method `__init__` is incorrect: Expected `Token[str]`, found `Token[str | int]`
New: Argument to bound method `__init__` is incorrect: Expected `Token[str]`, found `Token[int]`

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

test/mitmproxy/proxy/layers/http/test_http.py

[error] invalid-argument-type - :150 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Unknown | _Placeholder[Unknown]`
[error] invalid-argument-type - :1641 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Server | _Placeholder[Server]`
[error] invalid-argument-type - :1796 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Server | _Placeholder[Server]`
[error] invalid-argument-type - :1838 -
Old: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Connection | _Placeholder[Connection]`
New: Argument to bound method `__init__` is incorrect: Expected `Connection`, found `Server | _Placeholder[Server]`

test/mitmproxy/proxy/layers/http/test_http1.py

[error] invalid-argument-type - :59 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `RequestHeaders | _Placeholder[RequestHeaders]`
[error] invalid-argument-type - :81 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `RequestHeaders | _Placeholder[RequestHeaders]`
[error] invalid-argument-type - :104 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `RequestHeaders | _Placeholder[RequestHeaders]`
[error] invalid-argument-type - :110 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `RequestHeaders | _Placeholder[RequestHeaders]`

test/mitmproxy/proxy/layers/http/test_http2.py

[error] invalid-argument-type - :79 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`
[error] invalid-argument-type - :1085 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `ResponseHeaders | _Placeholder[ResponseHeaders]`

test/mitmproxy/proxy/layers/http/test_http3.py

[error] invalid-argument-type - :1086 -
Old: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `HttpEvent | _Placeholder[HttpEvent]`
New: Argument to bound method `__init__` is incorrect: Expected `HttpEvent`, found `ResponseHeaders | _Placeholder[ResponseHeaders]`

test/mitmproxy/proxy/layers/http/test_http_fuzz.py

[error] invalid-argument-type - :343 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`

test/mitmproxy/proxy/layers/quic/test__stream_layers.py

[error] invalid-argument-type - :1042 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`

test/mitmproxy/proxy/layers/test_tls.py

[error] invalid-argument-type - :795 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `bytes | _Placeholder[bytes]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `Unknown | _Placeholder[Unknown]`

paasta (https://github.com/yelp/paasta)

paasta_tools/utils.py

[error] invalid-return-type - :3441 -
Old: Return type does not match returned value: expected `InstanceConfigDict`, found `(Unknown & ~None) | dict[str, Any] | InstanceConfigDict`
New: Return type does not match returned value: expected `InstanceConfigDict`, found `(Unknown & ~None) | dict[str, Any]`

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

tests/indexes/timedeltaindex/test_floordiv.py

[error] invalid-return-type - :28 -
Old: Return type does not match returned value: expected `TimedeltaIndex`, found `Index[Any] | TimedeltaIndex`
New: Return type does not match returned value: expected `TimedeltaIndex`, found `Index[Any]`

tests/indexes/timedeltaindex/test_mul.py

[error] invalid-return-type - :24 -
Old: Return type does not match returned value: expected `TimedeltaIndex`, found `Index[Any] | TimedeltaIndex`
New: Return type does not match returned value: expected `TimedeltaIndex`, found `Index[Any]`

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

tests/mypy/pandas_modules/pandas_dataframe.py

[error] invalid-return-type - :35 -
Old: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[AnotherSchema] | DataFrame[SchemaOut]`
New: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[AnotherSchema]`
[error] invalid-return-type - :41 -
Old: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[Schema] | DataFrame[SchemaOut]`
New: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[Schema]`

porcupine (https://github.com/Akuli/porcupine)

porcupine/plugins/run/no_terminal.py

[error] invalid-assignment - :106:13 - Object of type `Popen[str]` is not assignable to attribute `_shell_process` of type `Popen[bytes] | None`
[warning] possibly-missing-attribute - :121:16 - Attribute `stdout` may be missing on object of type `Popen[bytes] | None`
[warning] possibly-missing-attribute - :129:18 - Attribute `wait` may be missing on object of type `Popen[bytes] | None`

prefect (https://github.com/PrefectHQ/prefect)

src/integrations/prefect-databricks/prefect_databricks/models/jobs.py

[error] invalid-assignment - :3849 -
Old: Object of type `dataclasses.Field[Literal["{}"] | dict[str, Any] | None]` is not assignable to `dict[str, Any] | None`
New: Object of type `dataclasses.Field[Literal["{}"]]` is not assignable to `dict[str, Any] | None`

src/integrations/prefect-gcp/prefect_gcp/workers/cloud_run_v2.py

[error] invalid-assignment - :147 -
Old: Object of type `dataclasses.Field[None | str]` is not assignable to `str`
New: Object of type `dataclasses.Field[None]` is not assignable to `str`

src/integrations/prefect-kubernetes/prefect_kubernetes/worker.py

[error] invalid-assignment - :642 -
Old: Object of type `dataclasses.Field[Literal[KubernetesImagePullPolicy.IF_NOT_PRESENT, "IfNotPresent", "Always", "Never"]]` is not assignable to `Literal["IfNotPresent", "Always", "Never"]`
New: Object of type `dataclasses.Field[Literal[KubernetesImagePullPolicy.IF_NOT_PRESENT]]` is not assignable to `Literal["IfNotPresent", "Always", "Never"]`

src/prefect/_internal/concurrency/calls.py

[error] invalid-return-type - :355 -
Old: Return type does not match returned value: expected `Awaitable[None] | None`, found `_T@run | Awaitable[None] | None`
New: Return type does not match returned value: expected `Awaitable[None] | None`, found `_T@run`

src/prefect/_states.py

[error] invalid-argument-type - :231 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[State[Any]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[Unknown]`

src/prefect/cli/deploy/_core.py

[error] invalid-argument-type - :362 -
Old: Argument is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | None`
New: Argument is incorrect: Expected `dict[str, Any]`, found `Unknown | None`

src/prefect/server/api/block_types.py

[error] invalid-argument-type - :125 -
Old: Argument to function `_should_update_block_type` is incorrect: Expected `prefect.client.schemas.objects.BlockType`, found `prefect.server.schemas.core.BlockType | prefect.client.schemas.objects.BlockType`
New: Argument to function `_should_update_block_type` is incorrect: Expected `prefect.client.schemas.objects.BlockType`, found `prefect.server.schemas.core.BlockType`

src/prefect/states.py

[error] invalid-argument-type - :369 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[State[Any]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[State[Any]]`, found `Collection[Unknown]`

src/prefect/transactions.py

[error] invalid-return-type - :251 -
Old: Return type does not match returned value: expected `Self@get_active | None`, found `None | Self@get_active | <special-form 'typing.Self'>`
New: Return type does not match returned value: expected `Self@get_active | None`, found `None | <special-form 'typing.Self'>`

src/prefect/variables.py

[error] invalid-return-type - :90 -
Old: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@aset | Variable[str | int | float | ... omitted 3 union elements]`
New: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@aset`
[error] invalid-return-type - :139 -
Old: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@set | Variable[str | int | float | ... omitted 3 union elements]`
New: Return type does not match returned value: expected `Variable[str | int | float | ... omitted 3 union elements]`, found `Self@set`

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

pydantic/_internal/_validators.py

[error] invalid-return-type - :161 -
Old: Return type does not match returned value: expected `Pattern[bytes]`, found `Pattern[bytes | str]`
New: Return type does not match returned value: expected `Pattern[bytes]`, found `Pattern[str]`

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

tests/optimize/test_constraints.pyi

[error] invalid-assignment - :32:38 - Object of type `Bounds[tuple[Any, ...], float64]` is not assignable to `Bounds[tuple[int], floating[_32Bit]]`
[error] invalid-assignment - :33:43 - Object of type `Bounds[tuple[Any, ...], float64]` is not assignable to `Bounds[tuple[int, int], floating[_32Bit]]`

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

scrapy/utils/decorators.py

[error] invalid-assignment - :40 -
Old: Object of type `(func: (**_P@deprecated) -> _T@deprecated) -> _T@deprecated` is not assignable to `def deco[**_P](func: (**_P@deprecated) -> _T) -> (**_P@deprecated) -> _T`
New: Object of type `(...) -> _T@deprecated` is not assignable to `def deco[**_P](func: (**_P@deprecated) -> _T) -> (**_P@deprecated) -> _T`

tests/mockserver/http_base.py

[warning] possibly-missing-attribute - :49 -
Old: Attribute `readline` may be missing on object of type `IO[str] | None`
New: Attribute `readline` may be missing on object of type `IO[bytes] | None`
[error] unresolved-attribute - :49:28 - Object of type `str` has no attribute `decode`
[warning] possibly-missing-attribute - :53 -
Old: Attribute `readline` may be missing on object of type `IO[str] | None`
New: Attribute `readline` may be missing on object of type `IO[bytes] | None`
[error] unresolved-attribute - :53:29 - Object of type `str` has no attribute `decode`

tests/test_pipeline_files.py

[error] invalid-assignment - :370 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[str]`
[error] invalid-assignment - :371 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :373 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[str]`
[error] invalid-assignment - :374 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[dict[str, str]]`

tests/test_pipeline_images.py

[error] invalid-assignment - :332 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[str]`
[error] invalid-assignment - :333 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[dict[str, str]]`
[error] invalid-assignment - :335 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[str]]` is not assignable to `list[str]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[str]`
[error] invalid-assignment - :336 -
Old: Object of type `dataclasses.Field[<class 'list'> | list[dict[str, str]]]` is not assignable to `list[dict[str, str]]`
New: Object of type `dataclasses.Field[<class 'list'>]` is not assignable to `list[dict[str, str]]`

setuptools (https://github.com/pypa/setuptools)

setuptools/_distutils/compilers/C/base.py

[error] invalid-return-type - :484 -
Old: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[str], str | None]`
New: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[Unknown], str | None]`

sphinx (https://github.com/sphinx-doc/sphinx)

sphinx/util/_serialise.py

[error] no-matching-overload - :49:16 - No overload of function `sorted` matches arguments

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/bus.py

[error] invalid-return-type - :671:16 - Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bottom[Bus[Any]] | Bottom[Index[Any]] | Bottom[Series[Any, Any]] | ... omitted 7 union elements, object_]`
[error] invalid-return-type - :675 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Self@iloc | Bus[Any], object_ | Self@iloc]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bottom[Bus[Any]] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, Self@iloc]`

static_frame/core/index.py

[error] invalid-return-type - :580 -
Old: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Any | Bottom[Series[Any, Any]], TVDtype@Index]`
New: Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]`

static_frame/core/series.py

[error] invalid-return-type - :772:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, TVDtype@Series]`
[error] invalid-return-type - :4072:16 - Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | IndexHierarchy | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`

static_frame/core/yarn.py

[error] invalid-return-type - :418:16 - Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Bottom[Yarn[Any]] | Bottom[Index[Any]] | TypeBlocks | ... omitted 7 union elements, object_]`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/experimental/pydantic/error_type.py

[error] invalid-assignment - :106 -
Old: Object of type `list[tuple[str, Any, Field[Unknown]] | tuple[Any, @Todo | type[list[Unknown]], dataclasses.Field[None | Field[Unknown]]]]` is not assignable to `list[tuple[str, Any, Field[Unknown]]]`
New: Object of type `list[tuple[str, Any, Field[Unknown]] | tuple[Any, @Todo | type[list[Unknown]], dataclasses.Field[None]]]` is not assignable to `list[tuple[str, Any, Field[Unknown]]]`

tornado (https://github.com/tornadoweb/tornado)

tornado/gen.py

[error] invalid-argument-type - :255 -
Old: Argument to bound method `__init__` is incorrect: Expected `None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]`, found `_T@next | _T@next | _VT@next`
New: Argument to bound method `__init__` is incorrect: Expected `None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]`, found `_T@next | _VT@next | _T@next`

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

xarray/backends/h5netcdf_.py

[error] invalid-return-type - :465 -
Old: Return type does not match returned value: expected `str | ReadBuffer[Unknown] | AbstractDataStore`, found `str | (PathLike[Any] & ~bytes) | ReadBuffer[Unknown] | AbstractDataStore`
New: Return type does not match returned value: expected `str | ReadBuffer[Unknown] | AbstractDataStore`, found `str | (PathLike[Any] & ~bytes) | (ReadBuffer[Unknown] & ~bytes) | (AbstractDataStore & ~bytes)`

xarray/backends/scipy_.py

[error] invalid-return-type - :326 -
Old: Return type does not match returned value: expected `str | ReadBuffer[Unknown] | AbstractDataStore`, found `str | (PathLike[Any] & ~bytes) | ReadBuffer[Unknown] | AbstractDataStore`
New: Return type does not match returned value: expected `str | ReadBuffer[Unknown] | AbstractDataStore`, found `str | (PathLike[Any] & ~bytes) | (ReadBuffer[Unknown] & ~bytes) | (AbstractDataStore & ~bytes)`