Ecosystem report

Old: main (merge base) 4d81db07 New: 23946/merge 183ff899
Lint Rule Removed Added Changed
Total 308 21 61
invalid-argument-type 222 10 32
no-matching-overload 26 1 0
invalid-return-type 8 0 17
invalid-assignment 16 5 3
unresolved-attribute 12 2 6
not-subscriptable 13 0 0
unsupported-operator 7 0 0
not-iterable 2 1 1
invalid-type-form 0 0 2
invalid-yield 1 0 0
redundant-cast 0 1 0
too-many-positional-arguments 1 0 0
unused-type-ignore-comment 0 1 0
Project Removed Added Changed
Total 308 21 61
altair 28 2 6
PyGithub 31 0 0
cwltool 29 0 1
graphql-core 30 0 0
schema_salad 30 0 0
zulip 24 1 5
mkdocs 9 10 3
dd-trace-py 13 1 2
schemathesis 9 0 5
meson 10 0 2
scikit-build-core flaky 7 0 3
mypy 6 0 3
pandas 3 0 6
prefect flaky 6 0 3
core 4 0 3
mongo-python-driver 3 2 2
openlibrary 6 1 0
sympy 5 1 1
apprise 6 0 0
bokeh 5 0 1

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

github/AdvisoryCredit.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["login"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["login"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["login"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["login"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["login"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `SimpleCredit`, found `dict[str, object]`
[error] invalid-argument-type - Invalid argument to key "type" with declared type `str` on TypedDict `SimpleCredit`: value of type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`

github/AdvisoryVulnerability.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["package"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-assignment - Object of type `object` is not assignable to `SimpleAdvisoryVulnerabilityPackage`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["patched_versions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_functions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_functions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_functions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_version_range"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["package"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-assignment - Object of type `object` is not assignable to `SimpleAdvisoryVulnerabilityPackage`
[error] invalid-return-type - Return type does not match returned value: expected `SimpleAdvisoryVulnerability`, found `dict[str, object]`
[error] invalid-argument-type - Invalid argument to key "patched_versions" with declared type `str | None` on TypedDict `SimpleAdvisoryVulnerability`: value of type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["patched_versions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Invalid argument to key "vulnerable_functions" with declared type `list[str] | None` on TypedDict `SimpleAdvisoryVulnerability`: value of type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_functions"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Invalid argument to key "vulnerable_version_range" with declared type `str | None` on TypedDict `SimpleAdvisoryVulnerability`: value of type `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["vulnerable_version_range"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] unresolved-attribute - Attribute `package` is not defined on `SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]` in union `(SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]) | (AdvisoryVulnerability & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `package` is not defined on `SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]` in union `(SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]) | (AdvisoryVulnerability & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `patched_versions` is not defined on `SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]` in union `(SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]) | (AdvisoryVulnerability & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `vulnerable_functions` is not defined on `SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]` in union `(SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]) | (AdvisoryVulnerability & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `vulnerable_version_range` is not defined on `SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]` in union `(SimpleAdvisoryVulnerability & ~Top[dict[Unknown, Unknown]]) | (AdvisoryVulnerability & ~Top[dict[Unknown, Unknown]])`

altair (https://github.com/vega/altair)

altair/jupyter/jupyter_chart.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] unresolved-attribute - Attribute `to_dict` is not defined on `UndefinedType & ~Top[dict[Unknown, Unknown]]` in union `(Any & ~Top[dict[Unknown, Unknown]]) | (UndefinedType & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `to_dict` is not defined on `UndefinedType & ~Top[dict[Unknown, Unknown]]` in union `(Any & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | (UndefinedType & ~Top[dict[Unknown, Unknown]])`

altair/utils/data.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] invalid-argument-type - Argument to bound method `sample` is incorrect: Expected `Sequence[Unknown] | AbstractSet[Unknown]`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `from_dict` is incorrect: Expected `dict[Any, Any]`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(NativeDataFrame & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~None & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (altair.utils.core.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(NativeDataFrame & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~None & ~DataFrame & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | (SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (altair.utils.core.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(NativeDataFrame & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~None & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (altair.utils.core.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(NativeDataFrame & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~None & ~DataFrame & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | (SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (altair.utils.core.DataFrameLike & ~DataFrame & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `write_csv` is not defined on `NativeDataFrame & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]`, `DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]`, `DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]` in union `(NativeDataFrame & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (altair.utils.core.DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]])`
[error] unresolved-attribute - Attribute `write_csv` is not defined on `NativeDataFrame & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]`, `DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]`, `DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]` in union `(NativeDataFrame & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (narwhals.stable.v1.typing.DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]]) | (Unknown & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | (altair.utils.core.DataFrameLike & ~SupportsGeoInterface & ~DataFrame & ~Top[dict[Unknown, Unknown]])`

altair/vegalite/v6/api.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `_dataset_name` is incorrect: Expected `dict[str, Any] | list[str] | InlineDataset`, found `~UndefinedType`
[error] invalid-argument-type - Argument to function `_reveal_parsed_shorthand` is incorrect: Expected `Mapping[str, Any]`, found `_C@Then & Top[dict[Unknown, Unknown]]`
[error] invalid-assignment - Object of type `(OperatorMixin & Top[dict[Unknown, Unknown]] & ~Parameter & ~PredicateComposition & ~Expression) | (Expr & Top[dict[Unknown, Unknown]] & ~Parameter & ~PredicateComposition & ~Expression) | (_ConditionExtra & Top[dict[Unknown, Unknown]])` is not assignable to `_ConditionExtra`
[error] invalid-assignment - Object of type `(OperatorMixin & Top[dict[Unknown, Unknown]] & ~Parameter & ~PredicateComposition & ~Expression) | (Expr & Top[dict[Unknown, Unknown]] & ~Parameter & ~PredicateComposition & ~Expression) | _ConditionExtra` is not assignable to `_ConditionExtra`
[error] no-matching-overload - No overload of bound method `update` matches arguments
[error] invalid-argument-type - Argument to bound method `update` is incorrect: Argument type `dict[str, Any]` does not satisfy upper bound `Top[TypedDict]` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `update` is incorrect: Expected `Top[TypedDict]`, found `dict[str, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `(Mapping[str, Any] & Top[dict[Unknown, Unknown]] & ~SchemaBase) | dict[str, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `(Mapping[str, Any] & Top[dict[Unknown, Unknown]] & ~SchemaBase) | (Mapping[str, Any] & Top[TypedDict]) | dict[str, Any]`

apprise (https://github.com/caronc/apprise)

apprise/config/base.py

[error] no-matching-overload - No overload of bound method `match` matches arguments
[error] invalid-argument-type - Method `__delitem__` of type `bound method Top[dict[Unknown, Unknown]].__delitem__(key: Never, /) -> None` cannot be called with key of type `Literal["schema"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `_special_token_handler` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] no-matching-overload - No overload of bound method `update` matches arguments
[error] invalid-argument-type - Argument to function `_special_token_handler` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] no-matching-overload - No overload of bound method `update` matches arguments

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

src/arti/internal/type_hints.py

[error] invalid-type-form - Variable of type `type` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type` is not allowed in a type expression
[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression

src/arti/storage/_internal.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown` and value of type `object` on object of type `dict[str, str]`

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

beartype/_util/func/utilfuncframe.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `Mapping[str, object] & Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `(Mapping[str, object] & Top[dict[Unknown, Unknown]]) | Top[TypedDict]`

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

src/bokeh/command/subcommand.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `object`

src/bokeh/core/property/bases.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`

src/bokeh/embed/standalone.py

[error] invalid-assignment - Object of type `list[object]` is not assignable to `Model | Sequence[Model] | dict[str, Model]`
[error] invalid-argument-type - Argument to function `standalone_docs_json_and_render_items` is incorrect: Expected `Model | Document | Sequence[Model | Document]`, found `Model | Sequence[Model] | dict[str, Model]`
[error] invalid-argument-type - Argument is incorrect: Expected `Sequence[Model]`, found `Model | Sequence[Model] | dict[str, Model]`
[error] invalid-argument-type - Argument is incorrect: Expected `Sequence[Model]`, found `(Model & ~Top[dict[Unknown, Unknown]]) | (Sequence[Model] & ~Top[dict[Unknown, Unknown]]) | list[Unknown]`

cloud-init (https://github.com/canonical/cloud-init)

cloudinit/config/cc_ubuntu_pro.py

[error] no-matching-overload - No overload of function `search` matches arguments
[error] invalid-argument-type - Argument to function `escape` is incorrect: Argument type `~None` does not satisfy constraints (`str`, `bytes`) of type variable `AnyStr`
[error] invalid-argument-type - Argument to function `subp` is incorrect: Expected `str | bytes | list[str] | list[bytes]`, found `list[object] | list[str]`
[error] no-matching-overload - No overload of bound method `replace` matches arguments

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

homeassistant/auth/permissions/merge.py

[error] invalid-argument-type - Argument to function `_merge_policies` is incorrect: Expected `list[CategoryType]`, found `list[SubCategoryType | None]`
[error] invalid-argument-type - Argument to function `_merge_policies` is incorrect: Expected `list[CategoryType]`, found `list[Mapping[str, ValueType] | bool | None]`

homeassistant/auth/permissions/util.py

[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `ValueType`
[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `Mapping[str, bool] | bool | None`

homeassistant/components/asuswrt/helpers.py

[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[Unknown, object]`
[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[Unknown, Unknown]`
[error] no-matching-overload - No overload of bound method `get` matches arguments

homeassistant/components/google_assistant/http.py

[error] invalid-return-type - Return type does not match returned value: expected `list[str]`, found `list[object]`

homeassistant/components/vesync/common.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `str`

homeassistant/helpers/selector.py

[error] invalid-assignment - Object of type `object` is not assignable to `str`

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

tests/test_examples.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["checksum"]` on object of type `str`
[error] invalid-argument-type - Method `__getitem__` of type `bound method MutableMapping[str, Divergent].__getitem__(key: str, /) -> Divergent` cannot be called with key of type `Literal[0]` on object of type `MutableMapping[str, Divergent]`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `bound method MutableMapping[str, Divergent].__getitem__(key: str, /) -> Divergent` cannot be called with key of type `Literal[1]` on object of type `MutableMapping[str, Divergent]`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["checksum"]` on object of type `str`
[error] invalid-argument-type - Method `__getitem__` of type `bound method MutableMapping[str, Divergent].__getitem__(key: str, /) -> Divergent` cannot be called with key of type `Literal[2]` on object of type `MutableMapping[str, Divergent]`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["checksum"]` on object of type `MutableSequence[Divergent]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["checksum"]` on object of type `str`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["checksum"]` on object of type `MutableSequence[Divergent]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["checksum"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["location"]` on object of type `str`
[error] not-iterable - Object of type `None | int | str | ... omitted 3 union elements` may not be iterable

tests/test_secrets.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Divergent, (index: slice[int | None, int | None, int | None], /) -> MutableSequence[Divergent]]` cannot be called with key of type `Literal["foo"]` on object of type `MutableSequence[Divergent]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["foo"]` on object of type `Top[dict[Unknown, Unknown]]`

cwltool/job.py

[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] no-matching-overload - No overload of bound method `get` matches arguments

cwltool/main.py

[error] invalid-argument-type - Argument to function `remove_at_id` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `Top[MutableMapping[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `remove_at_id` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `Top[MutableMapping[Unknown, Unknown]] | Top[TypedDict]`

cwltool/process.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["class"]`
[error] invalid-argument-type - Argument to function `_collectDirEntries` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements] | MutableSequence[MutableMapping[str, None | int | str | ... omitted 3 union elements]] | None`, found `object`

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

ddtrace/internal/remoteconfig/__init__.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `object`

ddtrace/appsec/_asm_request_context.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`

ddtrace/contrib/internal/botocore/services/stepfunctions.py

[error] invalid-argument-type - Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[ExecutionContext[Unknown] | None | (Any & Top[dict[Unknown, Unknown]])]`
[error] invalid-argument-type - Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[ExecutionContext[Unknown] | None | (Any & Top[dict[Unknown, Unknown]]) | (Any & Top[TypedDict])]`

ddtrace/contrib/internal/pymongo/utils.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] no-matching-overload - No overload of bound method `get` matches arguments

ddtrace/internal/remoteconfig/client.py

[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `object`

ddtrace/llmobs/_evaluators/llm_judge.py

[error] invalid-argument-type - Argument to function `_format_schema_for_provider` is incorrect: Expected `dict[str, Any]`, found `(Unknown & Top[dict[Unknown, Unknown]]) | (BooleanStructuredOutput & Top[dict[Unknown, Unknown]]) | (ScoreStructuredOutput & Top[dict[Unknown, Unknown]]) | (CategoricalStructuredOutput & Top[dict[Unknown, Unknown]]) | dict[str, str | int | float | ... omitted 3 union elements]`
[error] invalid-argument-type - Argument to function `_format_schema_for_provider` is incorrect: Expected `dict[str, Any]`, found `(Unknown & Top[dict[Unknown, Unknown]]) | (BooleanStructuredOutput & Top[dict[Unknown, Unknown]]) | (ScoreStructuredOutput & Top[dict[Unknown, Unknown]]) | ... omitted 3 union elements`

ddtrace/llmobs/_integrations/bedrock_agents.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["traceId"]`
[error] unresolved-attribute - Object of type `object` has no attribute `get`

ddtrace/llmobs/_prompts/prompt.py

[error] invalid-assignment - Object of type `(Unknown & ~Top[dict[Unknown, Unknown]]) | str | list[Message] | (Prompt & ~Top[dict[Unknown, Unknown]])` is not assignable to `str | list[Message]`

ddtrace/llmobs/_utils.py

[error] no-matching-overload - No overload of bound method `get` matches arguments

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

freqtrade/util/rich_tables.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> str | Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[str | Unknown]]` cannot be called with key of type `str` on object of type `Sequence[str | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> str | Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[str | Unknown]]` cannot be called with key of type `str` on object of type `Sequence[str | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> str | Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[str | Unknown]]` cannot be called with key of type `str` on object of type `Sequence[str | Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`

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

src/graphql/error/graphql_error.py

[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `~Literal["original_error"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `~Literal["original_error"]`

src/graphql/execution/types.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["data"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errors"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["extensions"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["data"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errors"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["pending"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["hasNext"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["extensions"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["hasNext"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["pending"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["incremental"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["completed"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["extensions"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["data"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["id"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["subPath"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errors"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["extensions"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["items"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["id"]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errors"]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["id"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["path"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["label"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["id"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errors"]`

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-assignment - Object of type `(Sequence[Divergent] & Top[dict[Unknown, Unknown]]) | (ListConfig & Top[dict[Unknown, Unknown]]) | (DictConfig & Top[dict[Unknown, Unknown]]) | ... omitted 4 union elements` is not assignable to attribute `dict_` of type `dict[Any, Any]`

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

ibis/backends/sql/ddl.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`

ibis/util.py

[error] invalid-return-type - Return type does not match returned value: expected `list[V@promote_list]`, found `list[V@promote_list | (Iterable[V@promote_list] & Top[dict[Unknown, Unknown]])]`
[error] invalid-return-type - Return type does not match returned value: expected `list[V@promote_list]`, found `list[V@promote_list | (Iterable[V@promote_list] & Top[dict[Unknown, Unknown]]) | (Iterable[V@promote_list] & Top[TypedDict])]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[V@promote_list]`, found `(V@promote_list & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]]) | (Iterable[V@promote_list] & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[V@promote_list]`, found `(V@promote_list & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | (Iterable[V@promote_list] & ~Top[list[Unknown]] & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict])`

ignite (https://github.com/pytorch/ignite)

tests/ignite/test_utils.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[Unknown]]` cannot be called with key of type `Literal["a"]` on object of type `Sequence[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["a"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> Unknown, (index: slice[int | None, int | None, int | None], /) -> Sequence[Unknown]]` cannot be called with key of type `Literal["b"]` on object of type `Sequence[Unknown]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["b"]` on object of type `Top[dict[Unknown, Unknown]]`

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

jax/_src/pallas/core.py

[error] invalid-argument-type - Argument to function `debug_info` is incorrect: Expected `Sequence[Any]`, found `(Sequence[Divergent] & ~Top[dict[Unknown, Unknown]]) | (Mapping[str, Divergent] & ~Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `debug_info` is incorrect: Expected `Sequence[Any]`, found `(Sequence[Divergent] & ~Top[dict[Unknown, Unknown]]) | (Mapping[str, Divergent] & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict])`
[error] invalid-argument-type - Argument to function `debug_info` is incorrect: Expected `dict[str, Any]`, found `(Sequence[Divergent] & Top[dict[Unknown, Unknown]]) | (Mapping[str, Divergent] & Top[dict[Unknown, Unknown]]) | dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to function `debug_info` is incorrect: Expected `dict[str, Any]`, found `(Sequence[Divergent] & Top[dict[Unknown, Unknown]]) | (Mapping[str, Divergent] & Top[dict[Unknown, Unknown]]) | (Mapping[str, Divergent] & Top[TypedDict]) | dict[Unknown, Unknown]`

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

src/jinja2/filters.py

[error] invalid-assignment - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, Any]]`

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

mesonbuild/modules/sourceset.py

[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] too-many-positional-arguments - Too many positional arguments to bound method `get`: expected 2, got 3

mesonbuild/build.py

[error] invalid-return-type - Return type does not match returned value: expected `_T@copy_value`, found `list[Never] | dict[Never, Never] | set[Never]`
[error] invalid-return-type - Return type does not match returned value: expected `_T@copy_value`, found `list[Never] | dict[Never, Never] | Top[TypedDict] | set[Never]`

mesonbuild/cargo/manifest.py

[error] no-matching-overload - No overload of bound method `get` matches arguments

mesonbuild/interpreter/type_checking.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str | list[str]] | None`, found `dict[object, str | list[str]]`

mesonbuild/interpreterbase/_unholder.py

[error] invalid-return-type - Return type does not match returned value: expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `HoldableObject | int | str | Top[list[Unknown]] | Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `HoldableObject | int | str | ... omitted 3 union elements`

mesonbuild/interpreterbase/helpers.py

[error] invalid-return-type - Return type does not match returned value: expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `dict[object, Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements]`
[error] invalid-argument-type - Argument to function `resolver` is incorrect: Expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `object`
[error] invalid-argument-type - Argument to function `stringifyUserArguments` is incorrect: Expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `object`
[error] invalid-argument-type - Argument to function `stringifyUserArguments` is incorrect: Expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `object`

mesonbuild/interpreterbase/interpreterbase.py

[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `InterpreterObject` on object of type `dict[str, InterpreterObject | None]`
[error] invalid-argument-type - Argument to bound method `_holderify` is incorrect: Expected `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`, found `object`

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

mitmproxy/http.py

[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] no-matching-overload - No overload of function `always_bytes` matches arguments

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

mkdocs/config/config_options.py

[error] no-matching-overload - No overload of bound method `setdefault` matches arguments
[error] invalid-assignment - Object of type `(Top[dict[Unknown, Unknown]] & ~AlwaysFalsy) | (Top[TypedDict] & ~AlwaysFalsy)` is not assignable to attribute `data` of type `dict[Unknown, Unknown]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `(Top[dict[Unknown, Unknown]] & ~AlwaysFalsy) | (Top[TypedDict] & ~AlwaysFalsy)` on object of type `dict[str, dict[Unknown, Unknown]]`
[error] unresolved-attribute - Attribute `popitem` is not defined on `Top[TypedDict]` in union `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to bound method `_parse_configs` is incorrect: Expected `list[Unknown] | tuple[Unknown, ...] | dict[Unknown, Unknown]`, found `Top[list[Unknown]] | tuple[object, ...] | Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["name"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["custom_dir"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["locale"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `setdefault` is incorrect: Expected `Never`, found `str`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, T@DictOfItems]`, found `Top[dict[Unknown, Unknown]] & ~AlwaysTruthy`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, T@DictOfItems]`, found `(Top[dict[Unknown, Unknown]] & ~AlwaysTruthy) | (Top[TypedDict] & ~AlwaysTruthy)`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, T@DictOfItems]`, found `Top[dict[Unknown, Unknown]] & ~AlwaysFalsy`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, T@DictOfItems]`, found `(Top[dict[Unknown, Unknown]] & ~AlwaysFalsy) | (Top[TypedDict] & ~AlwaysFalsy)`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["custom_dir"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["custom_dir"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `Top[TypedDict]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["custom_dir"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument expression after ** must be a mapping with `str` key type: Found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Collection[str]`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

pymongo/asynchronous/topology.py

[error] invalid-argument-type - Argument to function `_is_stale_error_topology_version` is incorrect: Expected `Mapping[str, Any] | None`, found `object`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["topologyVersion"]`

pymongo/collation.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any] | None`, found `Mapping[str, Any] & Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any] | None`, found `(Mapping[str, Any] & Top[dict[Unknown, Unknown]]) | (Mapping[str, Any] & Top[TypedDict])`

pymongo/errors.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["errorLabels"]`

pymongo/message.py

[error] invalid-argument-type - Argument to function `_maybe_add_read_preference` is incorrect: Expected `MutableMapping[str, Any]`, found `(Unknown & Top[MutableMapping[Unknown, Unknown]]) | (Mapping[str, Any] & Top[MutableMapping[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `_maybe_add_read_preference` is incorrect: Expected `MutableMapping[str, Any]`, found `(Unknown & Top[MutableMapping[Unknown, Unknown]]) | (Mapping[str, Any] & Top[MutableMapping[Unknown, Unknown]]) | (Unknown & Top[TypedDict]) | (Mapping[str, Any] & Top[TypedDict])`

pymongo/synchronous/topology.py

[error] invalid-argument-type - Argument to function `_is_stale_error_topology_version` is incorrect: Expected `Mapping[str, Any] | None`, found `object`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["topologyVersion"]`

mypy (https://github.com/python/mypy)

mypy/test/test_diff_cache.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["/b."]` and `object`
[error] unresolved-attribute - Object of type `object` has no attribute `startswith`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["/c."]` and `object`
[error] unresolved-attribute - Object of type `object` has no attribute `startswith`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["/a."]` and `object`
[error] unresolved-attribute - Object of type `object` has no attribute `startswith`

mypy/config_parser.py

[error] unresolved-attribute - Object of type `Mapping[str, Any] & ~Top[dict[Unknown, Unknown]]` has no attribute `getboolean`
[error] unresolved-attribute - Object of type `Mapping[str, Any] & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]` has no attribute `getboolean`

mypy/server/astdiff.py

[error] invalid-argument-type - Argument to function `compare_symbol_table_snapshots` is incorrect: Expected `dict[str, tuple[object, ...]]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `compare_symbol_table_snapshots` is incorrect: Expected `dict[str, tuple[object, ...]]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to function `compare_symbol_table_snapshots` is incorrect: Expected `dict[str, tuple[object, ...]]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `compare_symbol_table_snapshots` is incorrect: Expected `dict[str, tuple[object, ...]]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`

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

openlibrary/core/lists/model.py

[warning] redundant-cast - Value is already of type `ThingReferenceDict`
[error] unresolved-attribute - Attribute `key` is not defined on `AnnotatedSeed & ~Top[dict[Unknown, Unknown]]` in union `(Thing & ~str & ~Top[dict[Unknown, Unknown]]) | (AnnotatedSeed & ~Top[dict[Unknown, Unknown]])`
[error] invalid-assignment - Object of type `(Thing & ~str & ~Top[dict[Unknown, Unknown]]) | (AnnotatedSeed & ~Top[dict[Unknown, Unknown]])` is not assignable to attribute `value` of type `Thing | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Thing | str | AnnotatedSeed`, found `str | (ThingReferenceDict & ~Top[dict[Unknown, Unknown]]) | (AnnotatedSeedDict & ~Top[dict[Unknown, Unknown]])`

openlibrary/plugins/openlibrary/lists.py

[error] invalid-yield - Yield type `dict[str, dict[str, ThingReferenceDict | str | AnnotatedSeedDict]]` does not match annotated yield type `AnnotatedSeedDict`
[error] invalid-argument-type - Invalid argument to key "key" with declared type `str` on TypedDict `ThingReferenceDict`: value of type `(ThingReferenceDict & ~Top[dict[Unknown, Unknown]]) | str | (AnnotatedSeedDict & ~Top[dict[Unknown, Unknown]])`

openlibrary/plugins/upstream/utils.py

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

operator (https://github.com/canonical/operator)

ops/_private/harness.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `str | (LayerDict & Top[dict[Unknown, Unknown]]) | (Layer & Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `str | (Layer & Top[dict[Unknown, Unknown]]) | LayerDict`

ops/pebble.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `(LayerDict & Top[dict[Unknown, Unknown]]) | (Layer & Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `(Layer & Top[dict[Unknown, Unknown]]) | LayerDict`

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

pandas/core/frame.py

[error] invalid-argument-type - Argument to function `construct_1d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_1d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `construct_2d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `(Unknown & ~DataFrame & ~BlockManager & ~None & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict] & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray) | (list[Unknown] & ~BlockManager & ~ndarray[tuple[object, ...], dtype[object]] & ~Series & ~Index & ~ExtensionArray)`
[error] invalid-argument-type - Argument to function `isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `(Sequence[Unknown] & ~Top[dict[Unknown, Unknown]] & ~Series & ~DataFrame) | (Mapping[Unknown, Unknown] & ~Top[dict[Unknown, Unknown]] & ~Series & ~DataFrame)`
[error] invalid-argument-type - Argument to function `isin` is incorrect: Expected `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Index | ... omitted 3 union elements`, found `(Sequence[Unknown] & ~Top[dict[Unknown, Unknown]] & ~Series & ~DataFrame) | (Mapping[Unknown, Unknown] & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict] & ~Series & ~DataFrame)`

pandas/io/_util.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`

pandas/io/json/_json.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Hashable`

pandas/io/parsers/arrow_parser_wrapper.py

[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[object, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`
[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[Divergent, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`
[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[object, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`
[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[Divergent, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`
[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[object, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`
[error] unresolved-attribute - Attribute `get` is not defined on `dtype[Any]`, `ExtensionDtype` in union `(Unknown & ~None) | dict[Divergent, dtype[Any] | ExtensionDtype] | dtype[Any] | ExtensionDtype`

pandas/io/parsers/c_parser_wrapper.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`

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

src/pip/_vendor/dependency_groups/_implementation.py

[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`

src/pip/_vendor/pkg_resources/__init__.py

[error] invalid-assignment - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str | None, Iterable[str]]]`
[error] invalid-assignment - Object of type `ItemsView[Unknown, Unknown] | dict_items[str, object]` is not assignable to `Iterable[tuple[str | None, Iterable[str]]]`

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

porcupine/plugins/filetypes.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`

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

src/prefect/cli/events.py

[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `dict[str, str] | (Any & Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `dict[str, str] | (Any & Top[dict[Unknown, Unknown]]) | (Any & Top[TypedDict])`
[error] invalid-argument-type - Argument is incorrect: Expected `list[RelatedResource]`, found `(list[Any & Top[dict[Unknown, Unknown]]] & ~AlwaysFalsy) | (Any & Top[list[Unknown]] & ~AlwaysFalsy) | list[Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `list[RelatedResource]`, found `(list[(Any & Top[dict[Unknown, Unknown]]) | (Any & Top[TypedDict])] & ~AlwaysFalsy) | (Any & Top[list[Unknown]] & ~AlwaysFalsy) | list[Unknown]`

src/prefect/utilities/templating.py

[error] invalid-argument-type - Argument to function `find_placeholders` is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[error] no-matching-overload - No overload of function `apply_values` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown & ~<class 'NotSet'>` on object of type `dict[str, Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `object` on object of type `dict[str, Any]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown` on object of type `dict[str, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[Unknown, Unknown]`

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

psycopg/psycopg/errors.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `DiagnosticField`

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

pydantic/_internal/_core_metadata.py

[error] invalid-assignment - Invalid assignment to key "pydantic_js_extra" with declared type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | ((dict[str, Divergent], type[Any], /) -> None)` on TypedDict `CoreMetadata`: value of type `dict[object, object]`

pydantic/fields.py

[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`, found `dict[str, Divergent] | dict[Never, Never] | (((dict[str, Divergent], /) -> None) & ~Top[dict[Unknown, Unknown]]) | None`
[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`, found `dict[str, Divergent] | dict[Never, Never] | Top[TypedDict] | (((dict[str, Divergent], /) -> None) & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | None`

pydantic/json_schema.py

[error] no-matching-overload - No overload of bound method `update` matches arguments

pyjwt (https://github.com/jpadilla/pyjwt)

jwt/jwks_client.py

[error] invalid-argument-type - Argument to function `from_dict` is incorrect: Expected `dict[str, Any]`, found `(PyJWKSet & Top[dict[Unknown, Unknown]]) | (Any & Top[dict[Unknown, Unknown]])`
[error] invalid-argument-type - Argument to function `from_dict` is incorrect: Expected `dict[str, Any]`, found `(PyJWKSet & Top[dict[Unknown, Unknown]]) | (Any & Top[dict[Unknown, Unknown]]) | (Any & Top[TypedDict])`

pyproject-metadata (https://github.com/pypa/pyproject-metadata)

pyproject_metadata/project_table.py

[error] no-matching-overload - No overload of bound method `fullmatch` matches arguments
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `join` is incorrect: Expected `str`, found `object`

pyproject_metadata/pyproject.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, str] | None`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, str] | None`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`

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

schema_salad/avro/schema.py

[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["names"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["names"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["extends"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["name"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["items"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["items"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["values"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["symbols"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `is_subtype` is incorrect: Expected `None | str | int | ... omitted 6 union elements`, found `object`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["symbols"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["type"]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["fields"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["fields"]` on object of type `Top[dict[Unknown, Unknown]]`

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

src/schemathesis/config/_diff_base.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `object`

src/schemathesis/config/_error.py

[error] no-matching-overload - No overload of bound method `get` matches arguments

src/schemathesis/openapi/checks.py

[error] invalid-argument-type - Argument to function `unbundle` is incorrect: Expected `dict[str, Any] | bool | list[dict[str, Any] | bool]`, found `dict[Unknown, Unknown] | (Unresolvable & Top[dict[Unknown, Unknown]]) | bool | dict[str, Any] | dict[object, object]`
[error] invalid-argument-type - Argument to function `unbundle` is incorrect: Expected `dict[str, Any] | bool | list[dict[str, Any] | bool]`, found `dict[Unknown, Unknown] | (Unresolvable & Top[dict[Unknown, Unknown]]) | bool | dict[str, Any] | dict[Unknown | str, Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | bool`, found `dict[Unknown, Unknown] | (Unresolvable & Top[dict[Unknown, Unknown]]) | dict[str, Any] | dict[object, object]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, Any] | bool`, found `dict[Unknown, Unknown] | (Unresolvable & Top[dict[Unknown, Unknown]]) | dict[str, Any] | dict[Unknown | str, Unknown]`

src/schemathesis/resources/repository.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`

src/schemathesis/specs/openapi/adapter/responses.py

[error] invalid-return-type - Return type does not match returned value: expected `str | None`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `str | None`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `str | None`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `str | None`, found `object`

src/schemathesis/specs/openapi/examples.py

[error] unresolved-attribute - Object of type `object` has no attribute `lower`
[error] invalid-argument-type - Argument to function `_find_matching_in_responses` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `_find_matching_in_responses` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to function `_find_matching_in_responses` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `_find_matching_in_responses` is incorrect: Expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`

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

src/scikit_build_core/_vendor/pyproject_metadata/project_table.py

[error] no-matching-overload - No overload of bound method `fullmatch` matches arguments
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `join` is incorrect: Expected `str`, found `object`

src/scikit_build_core/_vendor/pyproject_metadata/pyproject.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, str] | None`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, str] | None`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`

src/scikit_build_core/metadata/__init__.py

[error] unresolved-attribute - Object of type `object` has no attribute `items`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, dict[str, str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[Unknown, dict[str, str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, list[str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[Unknown, list[str]]`
[error] not-iterable - Object of type `object` is not iterable

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/utils/validation.py

[error] invalid-argument-type - Argument to bound method `sort` is incorrect: Argument type `object` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`

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

scipy/_lib/_util.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `(object, /) -> int`, found `def len(obj: Sized, /) -> int`

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

setuptools/_distutils/command/build_ext.py

[error] not-iterable - Object of type `~AlwaysFalsy` is not iterable
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["include_dirs", "library_dirs", "libraries", "extra_objects", "extra_compile_args", "extra_link_args"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["rpath"]`
[error] invalid-argument-type - Argument to bound method `get` is incorrect: Expected `Never`, found `Literal["macros"]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["sources"]` on object of type `Top[dict[Unknown, Unknown]]`

sockeye (https://github.com/awslabs/sockeye)

sockeye/inference.py

[error] invalid-argument-type - Argument is incorrect: Expected `RestrictLexicon | None`, found `object`

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

lib/spack/spack/vendor/jinja2/filters.py

[error] invalid-assignment - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, Any]]`

stone (https://github.com/dropbox/stone)

stone/backends/python_rsrc/stone_serializers.py

[error] invalid-argument-type - Argument to function `ensure_str` is incorrect: Expected `bytes | str`, found `object`

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

sympy/ntheory/tests/test_factor_.py

[error] unsupported-operator - Operator `*=` is not supported between objects of type `Literal[1]` and `object`
[error] unsupported-operator - Operator `%` is not supported between objects of type `~AlwaysFalsy & ~Literal[1]` and `Literal[2]`
[error] unsupported-operator - Operator `*=` is not supported between objects of type `Literal[1]` and `object`
[error] unsupported-operator - Operator `//` is not supported between objects of type `~AlwaysFalsy & ~Literal[1]` and `Literal[2]`

sympy/physics/mechanics/lagrange.py

[error] not-iterable - Object of type `(Unknown & ~Top[dict[Unknown, Unknown]]) | None` may not be iterable
[error] not-iterable - Object of type `(Unknown & ~Top[dict[Unknown, Unknown]] & ~Top[TypedDict]) | None` may not be iterable

sympy/series/order.py

[error] unresolved-attribute - Attribute `expr` is not defined on `Expr` in union `Unknown | Expr`

sympy/utilities/misc.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`

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

tornado/gen.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]]`, found `dict_values[object, object] | (Sequence[None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]] & ~Top[dict[Unknown, Unknown]]) | (Mapping[Any, None | Awaitable[Unknown] | list[Awaitable[Unknown]] | dict[Any, Awaitable[Unknown]] | Future[Unknown]] & ~Top[dict[Unknown, Unknown]])`

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

src/urllib3/fields.py

[error] invalid-assignment - Object of type `dict_items[object, object]` is not assignable to `Iterable[tuple[str, str | bytes | None]]`

vision (https://github.com/pytorch/vision)

torchvision/transforms/v2/_utils.py

[error] invalid-argument-type - Argument to function `_check_fill_arg` is incorrect: Expected `int | float | Sequence[int | float] | None | dict[type | str, int | float | Sequence[int | float] | None]`, found `object`
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `list[int | float] | None` on object of type `dict[type | str, int | float | Sequence[int | float] | None]`
[error] invalid-argument-type - Argument to function `_convert_fill_arg` is incorrect: Expected `int | float | Sequence[int | float] | None`, found `object`

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

src/werkzeug/_internal.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `(Any & Top[dict[Unknown, Unknown]]) | dict[str, Any] | (Request & Top[dict[Unknown, Unknown]])`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `(Any & Top[dict[Unknown, Unknown]]) | dict[str, Any] | (Request & Top[dict[Unknown, Unknown]]) | (Any & Top[TypedDict])`

src/werkzeug/http.py

[error] not-subscriptable - Cannot subscript object of type `object` with no `__getitem__` method

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

xarray/core/dataarray.py

[error] invalid-assignment - Object of type `(Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable | ndarray[tuple[Any, ...], dtype[Any]]] & Top[dict[Unknown, Unknown]]) | (Mapping[Unknown, Unknown] & Top[dict[Unknown, Unknown]]) | dict[Unknown, Variable]` is not assignable to attribute `_coords` of type `dict[Any, Variable]`
[error] invalid-assignment - Object of type `(Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable | ndarray[tuple[Any, ...], dtype[Any]]] & Top[dict[Unknown, Unknown]]) | (Mapping[Unknown, Unknown] & Top[dict[Unknown, Unknown]]) | (Mapping[Unknown, Unknown] & Top[TypedDict]) | dict[Unknown, Variable]` is not assignable to attribute `_coords` of type `dict[Any, Variable]`

xarray-dataclasses (https://github.com/astropenguin/xarray-dataclasses)

xarray_dataclasses/dataarray.py

[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int, /) -> int, (index: slice[int | None, int | None, int | None], /) -> Sequence[int]]` cannot be called with key of type `str` on object of type `Sequence[int]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`

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

zerver/decorator.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `Top[TypedDict]`

zerver/lib/event_schema.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["services"]` on object of type `Top[dict[Unknown, Unknown]]`

zerver/lib/push_notifications.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["android_devices"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["apple_devices"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["android_devices"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["apple_devices"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["can_push"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["expected_end_timestamp"]` on object of type `Top[dict[Unknown, Unknown]]`

zerver/lib/validator.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `str` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `object` on object of type `Top[dict[Unknown, Unknown]]`
[error] no-matching-overload - No overload of bound method `join` matches arguments
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["widget_type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["extra_data"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method Top[dict[Unknown, Unknown]].__getitem__(key: Never, /) -> object` cannot be called with key of type `Literal["type"]` on object of type `Top[dict[Unknown, Unknown]]`

zerver/openapi/openapi.py

[error] invalid-argument-type - Argument to function `naively_merge` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `naively_merge` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to function `naively_merge` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `naively_merge` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to function `naively_merge_allOf_dict` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `naively_merge_allOf_dict` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`
[error] invalid-argument-type - Argument to function `naively_merge_allOf_dict` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to function `naively_merge_allOf_dict` is incorrect: Expected `dict[str, object]`, found `Top[dict[Unknown, Unknown]] | Top[TypedDict]`