Summary

Comparing branches/commits:
Old: main (merge base) 5e08e545
New: 20677/merge ebc4e8c3
Lint Rule Removed Added Changed
Total 41 19 7
invalid-argument-type 5 5 4
unresolved-attribute 11 3 0
invalid-return-type 12 0 1
no-matching-overload 11 1 0
unused-ignore-comment 0 5 0
invalid-assignment 1 1 2
type-assertion-failure 0 3 0
redundant-cast 0 1 0
unsupported-operator 1 0 0

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

src/bokeh/core/property/container.py

[error] invalid-return-type - :136:24 - Return type does not match returned value: expected `PropertyValueList[T@List]`, found `list[T@List] & Top[PropertyValueList[Unknown]]`
[error] invalid-return-type - :161:24 - Return type does not match returned value: expected `PropertyValueSet[T@Set]`, found `set[T@Set] & Top[PropertyValueSet[Unknown]]`

src/bokeh/layouts.py

[error] invalid-return-type - :668:24 - Return type does not match returned value: expected `list[L@_parse_children_arg]`, found `(L@_parse_children_arg & Top[list[Unknown]]) | list[L@_parse_children_arg]`

boostedblob (https://github.com/hauntsaninja/boostedblob)

boostedblob/request.py

[error] no-matching-overload - :25:33 - No overload of function `field` matches arguments
[error] no-matching-overload - :29:34 - No overload of function `field` matches arguments
[error] no-matching-overload - :76:33 - No overload of function `field` matches arguments
[error] no-matching-overload - :80:34 - No overload of function `field` matches arguments
[error] no-matching-overload - :85:51 - No overload of function `field` matches arguments

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

homeassistant/helpers/service_info/ssdp.py

[error] no-matching-overload - :39:39 - No overload of function `field` matches arguments

homeassistant/auth/permissions/merge.py

[error] invalid-assignment - :63:13 -
Old: Method `__setitem__` of type `bound method Top[dict[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Never` and a value of type `Mapping[str, Mapping[str, Mapping[str, bool] | bool | None] | bool | None] | bool | None` on object of type `Mapping[str, SubCategoryType] & Top[dict[Unknown, Unknown]]`
New: Method `__setitem__` of type `bound method Top[dict[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Never` and a value of type `CategoryType` on object of type `Mapping[str, SubCategoryType] & Top[dict[Unknown, Unknown]]`

homeassistant/components/google_assistant/report_state.py

[error] invalid-argument-type - :164:54 -
Old: Argument to function `create_checker` is incorrect: Expected `((HomeAssistant, str, dict[Unknown, Unknown] | MappingProxyType[Unknown, Unknown], Any, str, dict[Unknown, Unknown] | MappingProxyType[Unknown, Unknown], Any, /) -> bool | None) | None`, found `def extra_significant_check(hass: HomeAssistant, old_state: str, old_attrs: dict[Unknown, Unknown], old_extra_arg: dict[Unknown, Unknown], new_state: str, new_attrs: dict[Unknown, Unknown], new_extra_arg: dict[Unknown, Unknown]) -> Unknown`
New: Argument to function `create_checker` is incorrect: Expected `ExtraCheckTypeFunc | None`, found `def extra_significant_check(hass: HomeAssistant, old_state: str, old_attrs: dict[Unknown, Unknown], old_extra_arg: dict[Unknown, Unknown], new_state: str, new_attrs: dict[Unknown, Unknown], new_extra_arg: dict[Unknown, Unknown]) -> Unknown`

homeassistant/components/otbr/__init__.py

[error] invalid-argument-type - :40:57 -
Old: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `SyncHardwareFirmwareInfoModule | AsyncHardwareFirmwareInfoModule`, found `<module 'homeassistant.components.otbr.homeassistant_hardware'>`
New: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `HardwareFirmwareInfoModule`, found `<module 'homeassistant.components.otbr.homeassistant_hardware'>`

homeassistant/components/owntracks/__init__.py

[error] invalid-assignment - :148:9 -
Old: Method `__setitem__` of type `(bound method dict[str, Any].__setitem__(key: str, value: Any, /) -> None) | (Overload[(key: SupportsIndex, value: Any, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Any], /) -> None])` cannot be called with a key of type `Literal["topic"]` and a value of type `Unknown` on object of type `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
New: Method `__setitem__` of type `(bound method JsonValueType.__setitem__(key: str, value: dict[str, Any] | list[Any] | str | ... omitted 3 union elements, /) -> None) | (Overload[(key: SupportsIndex, value: dict[str, Any] | list[Any] | str | ... omitted 3 union elements, /) -> None, (key: slice[Any, Any, Any], value: Iterable[dict[str, Any] | list[Any] | str | ... omitted 3 union elements], /) -> None])` cannot be called with a key of type `Literal["topic"]` and a value of type `Unknown` on object of type `JsonValueType`

homeassistant/components/zha/__init__.py

[error] invalid-argument-type - :118:57 -
Old: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `SyncHardwareFirmwareInfoModule | AsyncHardwareFirmwareInfoModule`, found `<module 'homeassistant.components.zha.homeassistant_hardware'>`
New: Argument to function `async_register_firmware_info_provider` is incorrect: Expected `HardwareFirmwareInfoModule`, found `<module 'homeassistant.components.zha.homeassistant_hardware'>`

homeassistant/core.py

[error] invalid-argument-type - :1527:48 - Argument to function `_event_repr` is incorrect: Expected `EventType[Mapping[str, Any]] | str`, found `EventType[_DataT@async_fire_internal] | str`
[error] invalid-assignment - :1547:17 - Object of type `Event[Mapping[str, Any]]` is not assignable to `Event[_DataT@async_fire_internal] | None`
[error] invalid-argument-type - :1548:21 - Argument to bound method `__init__` is incorrect: Expected `EventType[Mapping[str, Any]] | str`, found `EventType[_DataT@async_fire_internal] | str`

homeassistant/helpers/singleton.py

[error] invalid-return-type - :83:12 -
Old: Return type does not match returned value: expected `(_FuncType, /) -> _FuncType`, found `Overload[(func: (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton]) -> (HomeAssistant, /) -> Coroutine[Any, Any, _T@singleton], (func: (HomeAssistant, /) -> _U@singleton) -> (HomeAssistant, /) -> _U@singleton]`
New: Return type does not match returned value: expected `(_FuncType, /) -> _FuncType`, found `Overload[(func: _FuncType) -> _FuncType, (func: _FuncType) -> _FuncType]`

homeassistant/util/hass_dict.pyi

[error] type-assertion-failure - :146:5 - Argument does not have asserted type `dict[str, int]`
[error] type-assertion-failure - :147:5 - Argument does not have asserted type `int`
[warning] unused-ignore-comment - :155:62 - Unused blanket `type: ignore` directive
[error] type-assertion-failure - :170:5 - Argument does not have asserted type `dict[str, int]`

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

ibis/util.py

[error] invalid-return-type - :107:16 - Return type does not match returned value: expected `list[V@promote_list]`, found `(V@promote_list & Top[list[Unknown]]) | (Iterable[V@promote_list] & Top[list[Unknown]])`

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

jax/_src/tree_util.py

[error] invalid-argument-type - :440:29 - Argument to function `reduce` is incorrect: Expected `(T@tree_reduce & ~Unspecified, Unknown, /) -> T@tree_reduce & ~Unspecified`, found `(T@tree_reduce, Any, /) -> T@tree_reduce`

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

mesonbuild/modules/hotdoc.py

[error] invalid-return-type - :52:12 - Return type does not match returned value: expected `list[_T@ensure_list]`, found `(_T@ensure_list & Top[list[Unknown]]) | list[_T@ensure_list]`

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

test/mitmproxy/contentviews/test__utils.py

[error] invalid-argument-type - :23:38 -
Old: Argument to function `make_metadata` is incorrect: Expected `Message | TCPMessage | UDPMessage | WebSocketMessage | DNSMessage`, found `Response | None`
New: Argument to function `make_metadata` is incorrect: Expected `ContentviewMessage`, found `Response | None`

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

mkdocs/config/config_options.py

[error] invalid-return-type - :219:20 - Return type does not match returned value: expected `list[T@ListOfItems]`, found `Top[list[Unknown]] & ~AlwaysTruthy`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/book_providers.py

[error] invalid-argument-type - :747:9 - Argument to function `multisort_best` is incorrect: Expected `list[tuple[Literal["min", "max"], (@Todo, /) -> int | float]]`, found `list[Unknown | tuple[str, (rec) -> Unknown]]`

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

pandas/core/frame.py

[error] invalid-return-type - :2170:16 - Return type does not match returned value: expected `MutableMappingT@to_dict | list[MutableMappingT@to_dict]`, found `@Todo | MutableMappingT@to_dict | <class 'dict'> | list[@Todo | MutableMappingT@to_dict | <class 'dict'>]`

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

src/prefect/_internal/concurrency/api.py

[warning] redundant-cast - :39:16 - Value is already of type `Call[T@cast_to_call]`

src/prefect/states.py

[error] invalid-return-type - :365:16 - Return type does not match returned value: expected `State[R@return_value_to_state]`, found `R@return_value_to_state & Top[State[Any]]`

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

src/_pytest/python.py

[error] no-matching-overload - :1064:39 - No overload of function `field` matches arguments

schema_salad (https://github.com/common-workflow-language/schema_salad)

schema_salad/sourceline.py

[error] invalid-argument-type - :17:33 - Argument to function `_add_lc_filename` is incorrect: Argument type `AnyStr@_add_lc_filename` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - :20:33 - Argument to function `_add_lc_filename` is incorrect: Argument type `AnyStr@_add_lc_filename` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`

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

src/schemathesis/config/_projects.py

[error] invalid-assignment - :534:9 - Object of type `Unknown` is not assignable to attribute `_parent` on type `T@from_hierarchy | Unknown`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/build/_wheelfile.py

[error] no-matching-overload - :51:22 - No overload of function `field` matches arguments

src/scikit_build_core/settings/skbuild_docs_sphinx.py

[error] no-matching-overload - :27:36 - No overload of function `field` matches arguments
[error] no-matching-overload - :43:30 - No overload of function `field` matches arguments

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

strawberry/federation/object_type.py

[error] invalid-argument-type - :90:9 - Argument to function `type` is incorrect: Expected `T@_impl_type`, found `T@_impl_type | None`

strawberry/types/base.py

[error] no-matching-overload - :272:63 - No overload of function `field` matches arguments

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

sympy/polys/densetools.py

[error] invalid-argument-type - :292:36 - Argument to function `dup_TC` is incorrect: Expected `Domain[Es@convert | Expr | int | ... omitted 3 union elements]`, found `Domain[Er@dup_eval]`

sympy/polys/rings.py

[error] unresolved-attribute - :872:55 - Type `object` has no attribute `is_element`
[error] unresolved-attribute - :932:55 - Type `object` has no attribute `is_element`
[error] unresolved-attribute - :1009:55 - Type `object` has no attribute `is_element`
[warning] unused-ignore-comment - :1098:49 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1133:46 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1169:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1206:50 - Unused blanket `type: ignore` directive
[error] unresolved-attribute - :871:22 - Type `object` has no attribute `domain`
[error] invalid-return-type - :880:20 - Return type does not match returned value: expected `PolyElement[Er@PolyElement] | PolyElement[PolyElement[Er@PolyElement]]`, found `Top[PolyElement[Unknown]]`
[error] unresolved-attribute - :931:22 - Type `object` has no attribute `domain`
[error] invalid-return-type - :940:20 - Return type does not match returned value: expected `PolyElement[Er@PolyElement] | PolyElement[PolyElement[Er@PolyElement]]`, found `Top[PolyElement[Unknown]]`
[error] unresolved-attribute - :1008:22 - Type `object` has no attribute `domain`
[error] invalid-return-type - :1017:20 - Return type does not match returned value: expected `PolyElement[Er@PolyElement] | PolyElement[PolyElement[Er@PolyElement]]`, found `Top[PolyElement[Unknown]]`
[error] unresolved-attribute - :1095:28 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1096:21 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1130:28 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1131:21 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1166:28 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1167:21 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1203:28 - Type `object` has no attribute `domain`
[error] unresolved-attribute - :1204:21 - Type `object` has no attribute `domain`
[error] unsupported-operator - :3456:17 - Operator `*` is unsupported between objects of type `PolyElement[Er@PolyElement] | Unknown` and `Unknown | PolyElement[Er@PolyElement] | int | float`

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats)

src/typeshed_stats/gather.py

[error] invalid-argument-type - :1000:13 - Argument to bound method `from_lines` is incorrect: Expected `str | ((str, /) -> Pattern)`, found `<class 'GitWildMatchPattern'>`

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

src/werkzeug/local.py

[error] invalid-return-type - :511:24 - Return type does not match returned value: expected `T@LocalProxy`, found `T@LocalProxy | ~None | Unknown`

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

xarray/backends/api.py

[error] invalid-argument-type - :1352:42 - Argument to function `_remove_path` is incorrect: Expected `NestedSequence[_FLike@_remove_path]`, found `(_FLike@_remove_path & Top[list[Unknown]]) | (NestedSequence[_FLike@_remove_path] & Top[list[Unknown]])`

xarray/tests/test_namedarray.py

[error] no-matching-overload - :446:19 - No overload of bound method `_new` matches arguments