Ecosystem report

Old: main (merge base) a8d1d865 New: 22882/merge f751d997
Lint Rule Removed Added Changed
Total 291 29 16
invalid-assignment 135 4 2
invalid-argument-type 51 8 3
possibly-missing-attribute 45 0 5
not-subscriptable 27 0 0
unsupported-operator 18 0 2
unused-ignore-comment 0 14 0
invalid-return-type 4 0 4
unresolved-attribute 6 0 0
no-matching-overload 2 0 0
possibly-unresolved-reference 2 0 0
type-assertion-failure 0 2 0
not-iterable 1 0 0
redundant-cast 0 1 0
Project Removed Added Changed
Total 291 29 16
apprise 59 0 0
core 37 1 0
dd-trace-py 25 1 0
cloud-init 19 0 4
paasta 22 0 0
scikit-learn 21 0 0
meson 17 0 0
openlibrary 11 0 5
rotki 10 3 0
mitmproxy 12 0 0
prefect 0 6 5
scipy 8 0 0
setuptools 7 0 1
discord.py 6 0 0
ignite 6 0 0
static-frame 4 0 1
colour 4 0 0
mongo-python-driver 4 0 0
xarray 0 4 0
pyppeteer 2 1 0

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

apprise/apprise.py

[warning] possibly-missing-attribute - :850:13 - Attribute `append` may be missing on object of type `Unknown | str | list[Unknown]`

apprise/plugins/d7networks.py

[error] invalid-assignment - :238:13 - Invalid subscript assignment with key of type `Literal["originator"]` and value of type `Unknown & ~AlwaysFalsy` on object of type `list[Unknown | dict[Unknown | str, Unknown | None | str]]`
[error] invalid-assignment - :245:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :257:17 - Cannot assign to a subscript on an object of type `str`

apprise/plugins/fcm/__init__.py

[error] invalid-assignment - :421:21 - Cannot assign to a subscript on an object of type `None`

apprise/plugins/lametric.py

[error] invalid-assignment - :768:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :768:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :768:13 - Cannot assign to a subscript on an object of type `tuple[Unknown | str, Unknown | str, Unknown | str]`
[error] invalid-assignment - :768:13 - Cannot assign to a subscript on an object of type `tuple[Unknown | str, Unknown | str]`

apprise/plugins/line.py

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

apprise/plugins/msteams.py

[error] invalid-assignment - :373:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :373:17 - Cannot assign to a subscript on an object of type `str`
[error] not-subscriptable - :373:17 - Cannot subscript object of type `int` with no `__getitem__` method

apprise/plugins/notifiarr.py

[error] invalid-assignment - :330:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :330:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :330:17 - Cannot assign to a subscript on an object of type `tuple[int, int, int]`
[error] invalid-argument-type - :330:17 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["text"]` on object of type `str`
[error] invalid-assignment - :331:17 - Cannot assign to a subscript on an object of type `str`

apprise/plugins/office365.py

[warning] possibly-missing-attribute - :392:13 - Attribute `update` may be missing on object of type `Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]] | str`
[error] invalid-assignment - :471:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :491:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :496:17 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["emailAddress"]` on object of type `str`
[error] invalid-argument-type - :496:17 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["toRecipients"]` on object of type `str`
[error] invalid-assignment - :508:17 - Cannot assign to a subscript on an object of type `str`
[warning] possibly-missing-attribute - :515:21 - Attribute `append` may be missing on object of type `Unknown | str | dict[Unknown | str, Unknown | str]`
[error] invalid-argument-type - :515:21 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["ccRecipients"]` on object of type `str`
[error] invalid-assignment - :538:17 - Cannot assign to a subscript on an object of type `str`
[warning] possibly-missing-attribute - :545:21 - Attribute `append` may be missing on object of type `Unknown | str | dict[Unknown | str, Unknown | str]`
[error] invalid-argument-type - :545:21 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["bccRecipients"]` on object of type `str`

apprise/plugins/pagerduty.py

[error] invalid-assignment - :359:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :362:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :381:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :384:17 - Cannot assign to a subscript on an object of type `bool`
[error] invalid-assignment - :384:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :384:17 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["custom_details"]` on object of type `str`

apprise/plugins/ryver.py

[error] invalid-assignment - :230:13 - Cannot assign to a subscript on an object of type `str`

apprise/plugins/sendgrid.py

[error] invalid-assignment - :414:17 - Cannot assign to a subscript on an object of type `str`

apprise/plugins/slack.py

[warning] possibly-missing-attribute - :535:21 - Attribute `insert` may be missing on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]]`
[error] not-subscriptable - :628:21 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] not-subscriptable - :631:17 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] not-subscriptable - :635:21 - Cannot subscript object of type `bool` with no `__getitem__` method

apprise/plugins/smseagle.py

[warning] possibly-missing-attribute - :480:13 - Attribute `update` may be missing on object of type `Unknown | str | dict[Unknown | str, Unknown | None]`
[error] invalid-assignment - :483:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :490:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :491:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :496:17 - Cannot assign to a subscript on an object of type `str`

apprise/plugins/sparkpost.py

[warning] possibly-missing-attribute - :568:21 - Attribute `append` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown | str] | str`

apprise/plugins/xbmc.py

[error] invalid-assignment - :193:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :193:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :231:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :231:13 - Cannot assign to a subscript on an object of type `str`

tests/test_apprise_utils.py

[error] not-subscriptable - :2258:12 - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - :2258:12 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["w"]` on object of type `str`
[error] not-subscriptable - :2259:12 - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-argument-type - :2259:12 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["x"]` on object of type `str`
[error] not-subscriptable - :2268:12 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :2269:12 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :2270:12 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :2271:12 - Cannot subscript object of type `int` with no `__getitem__` method

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

beartype/__init__.py

[warning] unused-ignore-comment - :122:63 - Unused blanket `type: ignore` directive

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

cloudinit/distros/bsd.py

[warning] possibly-missing-attribute - :98:13 - Attribute `append` may be missing on object of type `Unknown | list[Unknown] | int`

cloudinit/net/cmdline.py

[warning] possibly-missing-attribute - :185:9 - Attribute `append` may be missing on object of type `Unknown | str | list[Unknown]`

cloudinit/sources/helpers/vultr.py

[warning] possibly-missing-attribute - :176:9 - Attribute `append` may be missing on object of type `Unknown | int | list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown | str]]]`
[warning] possibly-missing-attribute - :187:9 - Attribute `append` may be missing on object of type `Unknown | int | list[Unknown | dict[Unknown | str, Unknown | str | list[Unknown | str]]]`

cloudinit/distros/alpine.py

[warning] possibly-unresolved-reference - :396:17 - Name `new_line_parts` used when possibly not defined
[warning] possibly-unresolved-reference - :401:17 - Name `new_line_parts` used when possibly not defined

cloudinit/netinfo.py

[warning] possibly-missing-attribute - :86:17 - Attribute `append` may be missing on object of type `Unknown | str | bool | list[Unknown]`
[warning] possibly-missing-attribute - :100:17 - Attribute `append` may be missing on object of type `Unknown | str | bool | list[Unknown]`

cloudinit/sources/DataSourceEc2.py

[error] invalid-assignment - :1178:9 - Cannot assign to a subscript on an object of type `int`
[error] invalid-argument-type - :1181:12 - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | int | dict[Unknown, Unknown]`
[warning] possibly-missing-attribute - :1182:25 - Attribute `keys` may be missing on object of type `Unknown | int | dict[Unknown, Unknown]`
[error] not-subscriptable - :1183:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :1184:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :1185:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :1186:13 - Cannot subscript object of type `int` with no `__getitem__` method
[error] invalid-assignment - :1111:9 - Cannot assign to a subscript on an object of type `int`

cloudinit/sources/DataSourceNoCloud.py

[error] unsupported-operator - :171 -
Old: Operator `in` is not supported between objects of type `Literal["seedfrom"]` and `Unknown | dict[Unknown, Unknown] | str | None`
New: Operator `in` is not supported between objects of type `Literal["seedfrom"]` and `dict[Unknown, Unknown] | Unknown | str | None`
[error] invalid-argument-type - :192 -
Old: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Unknown | dict[Unknown, Unknown] | str | None]`
New: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[dict[Unknown, Unknown] | Unknown | str | None]`
[error] invalid-argument-type - :201 -
Old: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[Unknown | dict[Unknown, Unknown] | str | None | dict[Unknown | str, Unknown | str]]`
New: Argument to function `mergemanydict` is incorrect: Expected `Sequence[Mapping[Unknown, Unknown]]`, found `list[dict[Unknown, Unknown] | Unknown | str | None | dict[Unknown | str, Unknown | str]]`
[error] invalid-assignment - :216 -
Old: Object of type `Unknown | dict[Unknown, Unknown] | str | None` is not assignable to attribute `userdata_raw` of type `str | bytes | None`
New: Object of type `str | Unknown | dict[Unknown, Unknown] | None` is not assignable to attribute `userdata_raw` of type `str | bytes | None`

tests/unittests/config/test_apt_configure_sources_list_v3.py

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

tests/unittests/test__init__.py

[error] no-matching-overload - :26:30 - No overload of function `join` matches arguments

tests/unittests/test_net.py

[error] invalid-argument-type - :2423:43 - Argument to function `safe_load` is incorrect: Expected `str | bytes | SupportsRead[str] | SupportsRead[bytes]`, found `Unknown | str | dict[Unknown | str, Unknown | str]`

colour (https://github.com/colour-science/colour)

colour/plotting/common.py

[error] invalid-argument-type - :1724:13 - Argument to bound method `text` is incorrect: Expected `int | float`, found `Unknown | None | int | float`
[error] invalid-argument-type - :1725:13 - Argument to bound method `text` is incorrect: Expected `int | float`, found `Unknown | None | int | float`
[error] invalid-argument-type - :1726:13 - Argument to bound method `text` is incorrect: Expected `str`, found `Unknown | None | int | float`
[error] invalid-argument-type - :1730:13 - Argument to bound method `text` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | None | int | float`

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

homeassistant/components/google_assistant/helpers.py

[error] invalid-assignment - :622:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :622:13 - Invalid subscript assignment with key of type `Literal["nicknames"]` and value of type `list[Unknown]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :624:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown | str, (s: slice[Any, Any, Any], /) -> list[Unknown | str]]` cannot be called with key of type `Literal["nicknames"]` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :624:17 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["nicknames"]` on object of type `str`
[warning] possibly-missing-attribute - :637:13 - Attribute `update` may be missing on object of type `Unknown | str | dict[Unknown | str, Unknown] | dict[Unknown, Unknown] | list[Unknown | str]`

homeassistant/components/google_assistant/trait.py

[warning] possibly-missing-attribute - :1956:13 - Attribute `append` may be missing on object of type `Unknown | list[Unknown | dict[Unknown | str, Unknown | list[Unknown | str] | str]] | list[Unknown] | bool`

homeassistant/components/owntracks/messages.py

[error] invalid-assignment - :74:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :76:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :78:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :80:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :82:9 - Cannot assign to a subscript on an object of type `str`

homeassistant/components/plex/media_browser.py

[warning] possibly-missing-attribute - :142:17 - Attribute `append` may be missing on object of type `Unknown | str | bool | list[Unknown]`
[warning] possibly-missing-attribute - :204:17 - Attribute `append` may be missing on object of type `Unknown | str | bool | list[Unknown]`
[warning] possibly-missing-attribute - :210:17 - Attribute `append` may be missing on object of type `Unknown | str | bool | list[Unknown]`
[warning] possibly-missing-attribute - :251:17 - Attribute `append` may be missing on object of type `Unknown | MediaClass | bool | list[Unknown]`

homeassistant/components/squeezebox/browse_media.py

[error] invalid-argument-type - :445:45 - Argument to bound method `extend` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | Sequence[BrowseMedia] | None`

homeassistant/components/thread/diagnostics.py

[warning] possibly-missing-attribute - :195:21 - Attribute `update` may be missing on object of type `Unknown | str | (list[str] & ~AlwaysFalsy) | ... omitted 3 union elements`
[error] invalid-assignment - :198:21 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :198:21 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :198:21 - Invalid subscript assignment with key of type `str` and value of type `Unknown` on object of type `list[Unknown]`
[error] invalid-assignment - :198:21 - Invalid subscript assignment with key of type `str` and value of type `Unknown` on object of type `list[str]`
[warning] possibly-missing-attribute - :200:36 - Attribute `keys` may be missing on object of type `Unknown | str | (list[str] & ~AlwaysFalsy) | ... omitted 3 union elements`

homeassistant/components/tuya/diagnostics.py

[error] invalid-assignment - :109:13 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :109:13 - Cannot assign to a subscript on an object of type `set[str]`
[error] invalid-assignment - :109:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :112:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :112:9 - Cannot assign to a subscript on an object of type `set[str]`
[error] invalid-assignment - :112:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :116:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :116:9 - Cannot assign to a subscript on an object of type `set[str]`
[error] invalid-assignment - :116:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :123:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :123:9 - Cannot assign to a subscript on an object of type `set[str]`
[error] invalid-assignment - :123:9 - Cannot assign to a subscript on an object of type `str`

homeassistant/components/vilfo/config_flow.py

[error] invalid-assignment - :58:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :59:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :61:9 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :62:9 - Cannot assign to a subscript on an object of type `None`

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

cwltool/checker.py

[error] invalid-argument-type - :49:50 - Argument to bound method `remove` is incorrect: Expected `Never`, found `Literal["null"]`

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

tests/openfeature/config_helpers.py

[error] invalid-assignment - :116:9 - Cannot assign to a subscript on an object of type `str`

ddtrace/contrib/internal/tornado/application.py

[warning] possibly-missing-attribute - :42:5 - Attribute `configure` may be missing on object of type `Unknown | Tracer | None`
[error] invalid-assignment - :46:5 - Object of type `def wrap_executor(tracer, fn, args, kwargs, span_name, service=None, resource=None, span_type=None) -> Unknown` is not assignable to attribute `_wrap_executor` on type `Unknown | Tracer | None`
[error] invalid-assignment - :50:9 - Object of type `Unknown | Tracer | None` is not assignable to attribute `enabled` on type `Unknown | Tracer | None`
[warning] possibly-missing-attribute - :52:35 - Attribute `_agent_url` may be missing on object of type `Unknown | Tracer | None`
[warning] possibly-missing-attribute - :56:9 - Attribute `_recreate` may be missing on object of type `Unknown | Tracer | None`
[error] invalid-argument-type - :63:15 - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | Tracer | None`
[error] invalid-assignment - :55:9 - Object of type `str` is not assignable to attribute `_agent_url` on type `Unknown | Tracer | None`
[warning] possibly-missing-attribute - :55:29 - Attribute `_span_aggregator` may be missing on object of type `Unknown | Tracer | None`
[warning] possibly-missing-attribute - :61:9 - Attribute `set_tags` may be missing on object of type `Unknown | Tracer | None`

ddtrace/debugging/_probe/status.py

[warning] unused-ignore-comment - :68:66 - Unused blanket `type: ignore` directive

tests/ci_visibility/api_client/_util.py

[warning] possibly-missing-attribute - :77:9 - Attribute `update` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown | bool]`
[error] invalid-argument-type - :77:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["early_flake_detection"]` on object of type `str`
[error] invalid-argument-type - :106:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["tests"]` on object of type `str`

tests/debugging/origin/test_span.py

[warning] possibly-missing-attribute - :230:21 - Attribute `append` may be missing on object of type `Unknown | str | list[Unknown]`

tests/internal/remoteconfig/test_remoteconfig_appsec_client_e2e.py

[error] invalid-assignment - :61:9 - Cannot assign to a subscript on an object of type `bool`
[error] invalid-assignment - :61:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :61:9 - Invalid subscript assignment with key of type `Literal["backend_client_state"]` and value of type `Unknown & ~AlwaysFalsy` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :61:9 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["state"]` on object of type `list[Unknown]`
[error] invalid-assignment - :63:9 - Cannot assign to a subscript on an object of type `bool`
[error] invalid-assignment - :63:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :63:9 - Invalid subscript assignment with key of type `Literal["error"]` and value of type `Unknown | None` on object of type `list[Unknown | str]`
[error] invalid-argument-type - :63:9 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["state"]` on object of type `list[Unknown]`

tests/llmobs/_utils.py

[error] invalid-assignment - :279:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :325:9 - Invalid subscript assignment with key of type `Literal["tag"]` and value of type `dict[Unknown | str, Unknown]` on object of type `list[Unknown | str]`
[error] invalid-assignment - :327:9 - Invalid subscript assignment with key of type `Literal["span"]` and value of type `dict[Unknown | str, Unknown]` on object of type `list[Unknown | str]`

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

discord/gateway.py

[error] invalid-assignment - :471:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :475:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :483:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :740:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :743:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :746:13 - Cannot assign to a subscript on an object of type `int`

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

dragonchain/lib/dto/api_key_model_utest.py

[error] not-subscriptable - :265:9 - Cannot subscript object of type `bool` with no `__getitem__` method
[error] invalid-argument-type - :265:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["transactions"]` on object of type `str`

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

dulwich/tests/utils.py

[warning] unused-ignore-comment - :372:58 - Unused blanket `type: ignore` directive

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

ibis/backends/polars/tests/test_client.py

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

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

tests/ignite/metrics/test_metric.py

[error] unresolved-attribute - :1214:9 - Unresolved attribute `_num_correct` on type `Metric`
[error] unresolved-attribute - :1215:9 - Unresolved attribute `_num_examples` on type `Metric`
[error] unresolved-attribute - :1216:9 - Unresolved attribute `_numerator` on type `Metric`
[error] unresolved-attribute - :1217:9 - Unresolved attribute `_denominator` on type `Metric`
[error] unresolved-attribute - :1218:9 - Unresolved attribute `_weight` on type `Metric`
[error] unresolved-attribute - :1219:9 - Unresolved attribute `_updated` on type `Metric`

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

jax/experimental/mosaic/gpu/core.py

[warning] unused-ignore-comment - :280:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :281:44 - Unused blanket `type: ignore` directive

materialize (https://github.com/MaterializeInc/materialize)

misc/python/materialize/mzcompose/composition.py

[error] invalid-argument-type - :207:54 - Argument to bound method `_munge_services` is incorrect: Expected `list[tuple[str, dict[Unknown, Unknown]]]`, found `dict_items[Unknown, Unknown]`

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

mesonbuild/cmake/fileapi.py

[error] unsupported-operator - :195:21 - Operator `+=` is not supported between objects of type `Path` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :195:21 - Operator `+=` is not supported between objects of type `bool` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :200:21 - Operator `+=` is not supported between objects of type `Path` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :200:21 - Operator `+=` is not supported between objects of type `bool` and `list[Unknown | dict[Unknown, Unknown]]`
[error] unsupported-operator - :218:17 - Operator `+=` is not supported between objects of type `Path` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`
[error] unsupported-operator - :218:17 - Operator `+=` is not supported between objects of type `bool` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`
[error] unsupported-operator - :223:17 - Operator `+=` is not supported between objects of type `Path` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`
[error] unsupported-operator - :223:17 - Operator `+=` is not supported between objects of type `bool` and `list[Unknown | dict[Unknown | str, Unknown | bool | (list[Unknown] & ~AlwaysFalsy)]]`
[error] unsupported-operator - :252:17 - Operator `+=` is not supported between objects of type `Path` and `list[Unknown | dict[str, Any]]`

unittests/allplatformstests.py

[error] invalid-assignment - :3171:13 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :3197:21 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :3199:41 - Argument to function `exists` is incorrect: Expected `int | str | bytes | PathLike[str] | PathLike[bytes]`, found `Unknown | str | dict[Unknown | str, Unknown] | ... omitted 3 union elements`
[error] invalid-argument-type - :3199:41 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["dynamic"]` on object of type `str`

unittests/internaltests.py

[error] unsupported-operator - :307:50 - Operator `+` is not supported between objects of type `Unknown | list[Unknown | str] | str` and `Literal[".ok"]`
[error] unsupported-operator - :310:36 - Operator `+` is not supported between objects of type `Unknown | list[Unknown | str] | str` and `Literal[".hah"]`
[error] unsupported-operator - :332:47 - Operator `+` is not supported between objects of type `Unknown | list[Unknown | str] | str` and `Literal[".ok"]`
[error] unsupported-operator - :335:36 - Operator `+` is not supported between objects of type `Unknown | list[Unknown | str] | str` and `Literal[".hah"]`

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

mitmproxy/addons/savehar.py

[error] invalid-assignment - :206:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :206:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :206:17 - Invalid subscript assignment with key of type `Literal["text"]` and value of type `str` on object of type `list[dict[Unknown, Unknown]]`
[error] invalid-assignment - :207:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :207:17 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :207:17 - Invalid subscript assignment with key of type `Literal["encoding"]` and value of type `Literal["base64"]` on object of type `list[dict[Unknown, Unknown]]`
[error] invalid-assignment - :211:21 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :211:21 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :211:21 - Invalid subscript assignment with key of type `Literal["text"]` and value of type `Literal[""]` on object of type `list[dict[Unknown, Unknown]]`
[error] invalid-assignment - :213:21 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :213:21 - Cannot assign to a subscript on an object of type `str`
[error] invalid-assignment - :213:21 - Invalid subscript assignment with key of type `Literal["text"]` and value of type `str` on object of type `list[dict[Unknown, Unknown]]`

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

pymongo/asynchronous/server.py

[error] invalid-assignment - :275:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :277:17 - Cannot assign to a subscript on an object of type `int`

pymongo/synchronous/server.py

[error] invalid-assignment - :275:17 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :277:17 - Cannot assign to a subscript on an object of type `int`

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

openlibrary/accounts/model.py

[warning] possibly-missing-attribute - :855 -
Old: Attribute `get` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown]`
New: Attribute `get` may be missing on object of type `dict[Unknown | str, Unknown] | Unknown | bool`
[warning] possibly-missing-attribute - :862 -
Old: Attribute `get` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown]`
New: Attribute `get` may be missing on object of type `dict[Unknown | str, Unknown] | Unknown | bool`
[warning] possibly-missing-attribute - :863 -
Old: Attribute `get` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown]`
New: Attribute `get` may be missing on object of type `dict[Unknown | str, Unknown] | Unknown | bool`
[warning] possibly-missing-attribute - :950 -
Old: Attribute `pop` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown]`
New: Attribute `pop` may be missing on object of type `dict[Unknown | str, Unknown] | Unknown | bool`
[warning] possibly-missing-attribute - :951 -
Old: Attribute `pop` may be missing on object of type `Unknown | bool | dict[Unknown | str, Unknown]`
New: Attribute `pop` may be missing on object of type `dict[Unknown | str, Unknown] | Unknown | bool`

openlibrary/core/observations.py

[warning] possibly-missing-attribute - :581:13 - Attribute `append` may be missing on object of type `Unknown | list[Unknown] | defaultdict[Unknown, Unknown]`
[error] invalid-argument-type - :585:21 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `list[Unknown | dict[Unknown | str, Unknown | int | str]]` on object of type `list[Unknown]`
[error] invalid-argument-type - :585:21 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `list[Unknown | int]` on object of type `list[Unknown]`
[error] invalid-argument-type - :585:21 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `str` on object of type `list[Unknown]`

openlibrary/plugins/books/dynlinks.py

[warning] possibly-missing-attribute - :355:17 - Attribute `insert` may be missing on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | ... omitted 3 union elements`
[error] invalid-argument-type - :399:33 - Argument to function `trim` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | ... omitted 3 union elements`
[error] invalid-argument-type - :400:37 - Argument to function `trim` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str]] | ... omitted 3 union elements`

openlibrary/plugins/openlibrary/lists.py

[error] invalid-assignment - :439:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :439:13 - Invalid subscript assignment with key of type `Literal["next"]` and value of type `Unknown` on object of type `list[Unknown]`
[error] invalid-assignment - :443:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :443:13 - Invalid subscript assignment with key of type `Literal["prev"]` and value of type `Unknown` on object of type `list[Unknown]`

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

tests/samplers_tests/test_nsgaii.py

[error] invalid-argument-type - :857:40 - Argument to bound method `to_internal_repr` is incorrect: Expected `None | int | float | str`, found `ndarray[Unknown, dtype[Any]]`
[error] invalid-argument-type - :858:40 - Argument to bound method `to_internal_repr` is incorrect: Expected `None | int | float | str`, found `ndarray[Unknown, dtype[Any]]`

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

paasta_tools/contrib/service_shard_update.py

[warning] possibly-missing-attribute - :283:25 - Attribute `append` may be missing on object of type `Unknown | str`

paasta_tools/paastaapi/api_client.py

[error] invalid-assignment - :713:21 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :717:21 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :725:21 - Cannot assign to a subscript on an object of type `None`

paasta_tools/setup_kubernetes_cr.py

[error] invalid-assignment - :306:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :306:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :310:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :310:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :313:9 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :313:9 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :316:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :316:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :317:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :317:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["annotations"]` on object of type `str`
[error] invalid-assignment - :318:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :318:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :319:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :319:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`
[error] invalid-assignment - :320:5 - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - :320:5 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["labels"]` on object of type `str`

paasta_tools/tron/client.py

[error] invalid-assignment - :49:17 - Cannot assign to a subscript on an object of type `str`

paasta_tools/tron_tools.py

[error] invalid-argument-type - :1105:17 - Argument to function `build_spark_command` is incorrect: Expected `str`, found `Unknown | list[TronSecretVolume] | bool | str | None`

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

pandas/tests/io/json/test_json_table_schema.py

[error] invalid-assignment - :132:9 - Cannot assign to a subscript on an object of type `str`

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

tests/frame/test_groupby.py

[error] type-assertion-failure - :229:15 - Type `Series[Any]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`
[error] type-assertion-failure - :625:15 - Type `Series[Any]` does not match asserted type `Series[str | bytes | int | ... omitted 12 union elements]`

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

src/pip/_vendor/requests/cookies.py

[warning] possibly-missing-attribute - :486:36 - Attribute `startswith` may be missing on object of type `Unknown | int | None | str | dict[Unknown | str, Unknown | None]`

src/pip/_vendor/rich/pretty.py

[warning] unused-ignore-comment - :1006:31 - Unused blanket `type: ignore` directive

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

src/integrations/prefect-dbt/prefect_dbt/core/settings.py

[error] invalid-assignment - :94:28 - Object of type `dict[str, Any] | int | dict[Any, Any] | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :99:28 - Object of type `int | dict[Any, Any] | float | ... omitted 3 union elements` is not assignable to `dict[str, Any]`

src/prefect/cli/deploy/_core.py

[error] invalid-assignment - :86:21 - Object of type `dict[str, Any] | int | dict[Any, Any] | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :87:21 - Object of type `int | dict[Any, Any] | float | ... omitted 3 union elements` is not assignable to `dict[str, Any]`

src/prefect/deployments/steps/core.py

[error] invalid-argument-type - :137:38 - Argument is incorrect: Argument type `dict[str, Any] | int | dict[Any, Any] | ... omitted 4 union elements` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`

src/prefect/utilities/templating.py

[error] invalid-assignment - :320 -
Old: Invalid subscript assignment with key of type `object` and value of type `Unknown | dict[str, Any]` on object of type `dict[str, Any]`
New: Invalid subscript assignment with key of type `object` and value of type `dict[str, Any] | int | Unknown | ... omitted 4 union elements` on object of type `dict[str, Any]`
[error] invalid-return-type - :323 -
Old: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown | dict[str, Any]]`
New: Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[Unknown | dict[str, Any] | int | ... omitted 4 union elements]`
[error] invalid-return-type - :437 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown | int | float | ... omitted 4 union elements]`
[error] invalid-return-type - :442 -
Old: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown]`
New: Return type does not match returned value: expected `T@resolve_variables`, found `list[Unknown | int | float | ... omitted 4 union elements]`

src/prefect/workers/base.py

[error] invalid-argument-type - :234:20 - Argument expression after ** must be a mapping type: Found `int | Unknown | float | ... omitted 4 union elements`
[error] invalid-argument-type - :232 -
Old: Argument is incorrect: Argument type `str | dict[str, Any]` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
New: Argument is incorrect: Argument type `dict[str, Any] | int | str | ... omitted 3 union elements` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`

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

pyppeteer/input.py

[warning] unused-ignore-comment - :144:43 - Unused blanket `type: ignore` directive

pyppeteer/network_manager.py

[error] invalid-assignment - :727:13 - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - :727:13 - Cannot assign to a subscript on an object of type `str`

rich (https://github.com/Textualize/rich)

rich/pretty.py

[warning] unused-ignore-comment - :1006:31 - Unused blanket `type: ignore` directive

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

rotkehlchen/accounting/structures/processed_event.py

[error] no-matching-overload - :151:42 - No overload of bound method `sub` matches arguments

rotkehlchen/chain/decoding/tools.py

[warning] unused-ignore-comment - :96:44 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :99:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `Sequence[A@BaseDecoderTools]`, found `Unknown | tuple[BTCAddress, ...] | tuple[ChecksumAddress, ...] | tuple[SubstrateAddress, ...] | tuple[SolanaAddress, ...]`
[warning] unused-ignore-comment - :100:62 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :98:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress | None`, found `A@BaseDecoderTools | None`
[error] invalid-argument-type - :97:13 - Argument to function `decode_transfer_direction` is incorrect: Expected `BTCAddress | ChecksumAddress | SubstrateAddress | SolanaAddress`, found `A@BaseDecoderTools`

rotkehlchen/tests/external_apis/test_etherscan.py

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

rotkehlchen/tests/unit/test_serialization.py

[error] invalid-argument-type - :111:46 - Argument to function `deserialize_evm_address` is incorrect: Expected `str`, found `Unknown | int | str | None`
[error] invalid-argument-type - :113:9 - Argument is incorrect: Expected `int`, found `Unknown | int | str | None`
[error] invalid-argument-type - :114:9 - Argument is incorrect: Expected `int`, found `Unknown | int | str | None`
[error] invalid-argument-type - :115:9 - Argument is incorrect: Expected `int`, found `Unknown | int | str | None`
[error] invalid-argument-type - :116:9 - Argument is incorrect: Expected `int`, found `Unknown | int | str | None`
[error] invalid-argument-type - :118:9 - Argument is incorrect: Expected `int`, found `Unknown | int | str | None`

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

src/schemathesis/transport/requests.py

[warning] possibly-missing-attribute - :87:13 - Attribute `pop` may be missing on object of type `Unknown | str | dict[str, Any] | CaseInsensitiveDict[Unknown] | dict[Unknown, Unknown]`

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

sklearn/manifold/_t_sne.py

[error] invalid-assignment - :1066:13 - Cannot assign to a subscript on an object of type `float`
[error] invalid-assignment - :1066:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :1066:13 - Invalid subscript assignment with key of type `Literal["angle"]` and value of type `Unknown | float` on object of type `list[Unknown | int]`
[error] invalid-assignment - :1068:13 - Cannot assign to a subscript on an object of type `float`
[error] invalid-assignment - :1068:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :1068:13 - Invalid subscript assignment with key of type `Literal["verbose"]` and value of type `Unknown | Literal[0]` on object of type `list[Unknown | int]`
[error] invalid-assignment - :1071:13 - Cannot assign to a subscript on an object of type `float`
[error] invalid-assignment - :1071:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :1071:13 - Invalid subscript assignment with key of type `Literal["num_threads"]` and value of type `Unknown` on object of type `list[Unknown | int]`

sklearn/metrics/tests/test_classification.py

[error] not-subscriptable - :179:23 - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - :179:23 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :180:23 - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - :180:23 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :181:23 - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - :181:23 - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - :182:23 - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - :182:23 - Cannot subscript object of type `int` with no `__getitem__` method

sklearn/model_selection/tests/test_search.py

[warning] possibly-missing-attribute - :2613:14 - Attribute `C` may be missing on object of type `Unknown | LinearSVC | int | float`
[warning] possibly-missing-attribute - :2623:12 - Attribute `C` may be missing on object of type `Unknown | LinearSVC | int | float`

sklearn/utils/_testing.py

[error] invalid-assignment - :936:13 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :936:13 - Cannot assign to a subscript on an object of type `str`

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

doc/source/conf.py

[error] invalid-assignment - :254:5 - Cannot assign to a subscript on an object of type `int`
[error] invalid-assignment - :254:5 - Invalid subscript assignment with key of type `Literal["version_match"]` and value of type `Literal["development"]` on object of type `list[Unknown | dict[Unknown | str, Unknown | str]]`
[error] invalid-assignment - :254:5 - Invalid subscript assignment with key of type `Literal["version_match"]` and value of type `Literal["development"]` on object of type `list[Unknown | str]`
[error] invalid-assignment - :254:5 - Invalid subscript assignment with key of type `Literal["version_match"]` and value of type `Literal["development"]` on object of type `list[Unknown]`

scipy/optimize/_shgo.py

[warning] possibly-missing-attribute - :593:13 - Attribute `lower` may be missing on object of type `Unknown | str | ndarray[tuple[Any, ...], dtype[Any]] | dict[Unknown, Unknown] | None`
[warning] possibly-missing-attribute - :642:9 - Attribute `pop` may be missing on object of type `Unknown | str | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 3 union elements`
[warning] possibly-missing-attribute - :668:45 - Attribute `lower` may be missing on object of type `Unknown | str | ndarray[tuple[Any, ...], dtype[Any]] | dict[Unknown, Unknown] | None`

scipy/optimize/tests/test_optimize.py

[error] invalid-argument-type - :1704:40 - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | list[Unknown | int | float] | ((x) -> Unknown)`

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

tests/test_http2_client_protocol.py

[error] invalid-assignment - :109:13 - Cannot assign to a subscript on an object of type `str`

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

setuptools/_vendor/backports/tarfile/__init__.py

[warning] possibly-missing-attribute - :999:44 - Attribute `endswith` may be missing on object of type `Unknown | str | None | int | bytes`
[error] invalid-argument-type - :999:66 - Argument to bound method `endswith` is incorrect: Expected `Buffer | tuple[Buffer, ...]`, found `Literal["/"]`
[error] unsupported-operator - :1000:13 - Operator `+=` is not supported between objects of type `None` and `Literal["/"]`
[error] unsupported-operator - :1000:13 - Operator `+=` is not supported between objects of type `bytes` and `Literal["/"]`
[error] unsupported-operator - :1000:13 - Operator `+=` is not supported between objects of type `int` and `Literal["/"]`

setuptools/tests/test_editable_install.py

[error] unsupported-operator - :956 -
Old: Operator `+=` is not supported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str]]` and `str`
New: Operator `+=` is not supported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown | str | dict[Unknown | str, Unknown | str]]]` and `str`
[error] unsupported-operator - :956:5 - Operator `+=` is not supported between objects of type `dict[Unknown | str, Unknown | dict[Unknown | str, Unknown]]` and `str`
[error] unsupported-operator - :956:5 - Operator `+=` is not supported between objects of type `dict[Unknown | str, Unknown]` and `str`

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

static_frame/core/bus.py

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

static_frame/core/series.py

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

static_frame/core/yarn.py

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

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

sympy/physics/mechanics/system.py

[error] not-iterable - :903:52 - Object of type `Unknown | None` may not be iterable

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

tornado/ioloop.py

[warning] possibly-missing-attribute - :540:12 - Attribute `cancelled` may be missing on object of type `(Unknown & ~None) | bool`
[warning] possibly-missing-attribute - :540:53 - Attribute `done` may be missing on object of type `(Unknown & ~None) | bool`
[warning] possibly-missing-attribute - :547:16 - Attribute `result` may be missing on object of type `(Unknown & ~None) | bool`

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

twine/utils.py

[warning] redundant-cast - :230:53 - Value is already of type `str`

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

references/detection/coco_utils.py

[warning] possibly-missing-attribute - :137:9 - Attribute `append` may be missing on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown]`
[warning] possibly-missing-attribute - :166:13 - Attribute `append` may be missing on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown]`

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

src/werkzeug/serving.py

[error] invalid-argument-type - :225:52 - Argument to bound method `__init__` is incorrect: Expected `IO[bytes]`, found `BufferedIOBase`

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

xarray/tests/test_dataarray.py

[warning] unused-ignore-comment - :3991:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3992:50 - Unused blanket `type: ignore` directive

xarray/tests/test_dataset.py

[warning] unused-ignore-comment - :5638:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :5639:50 - Unused blanket `type: ignore` directive

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

zerver/data_import/mattermost.py

[error] invalid-argument-type - :394:17 - Argument is incorrect: Expected `int`, found `Unknown | int | float`

zerver/data_import/rocketchat.py

[error] invalid-argument-type - :442:13 - Argument is incorrect: Expected `int`, found `Unknown | int | float`

zerver/data_import/slack.py

[error] invalid-assignment - :1497:9 - Cannot assign to a subscript on an object of type `bool`