Summary

Comparing branches/commits:
Old: main (merge base) 9ab276b3
New: 20111/merge a37c2888
Lint Rule Removed Added Changed
Total 9 71 510
invalid-argument-type 2 11 273
unsupported-operator 0 5 63
invalid-assignment 0 10 55
possibly-unbound-attribute 0 31 33
invalid-return-type 0 5 54
not-iterable 0 1 16
possibly-unbound-implicit-call 0 0 11
non-subscriptable 0 6 2
type-assertion-failure 5 0 0
unresolved-attribute 0 1 1
unused-ignore-comment 2 0 0
call-non-callable 0 0 1
invalid-exception-caught 0 0 1
no-matching-overload 0 1 0

aioredis (https://github.com/aio-libs/aioredis)

aioredis/client.py

[warning] unused-ignore-comment - :4103:65 - Unused blanket `type: ignore` directive

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

src/aiortc/codecs/g711.py

[error] invalid-return-type - :65:20 -
Old: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[@Todo(list literal element type)], None]`

src/aiortc/codecs/g722.py

[error] invalid-return-type - :73:20 -
Old: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[@Todo(list literal element type)], None]`

src/aiortc/codecs/opus.py

[error] invalid-return-type - :73:20 -
Old: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[bytes], int]`, found `tuple[list[@Todo(list literal element type)], None]`

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

alerta/webhooks/prometheus.py

[warning] possibly-unbound-attribute - :70:41 -
Old: Attribute `upper` on type `Unknown | None | Literal["unknown"]` is possibly unbound
New: Attribute `upper` on type `@Todo(dict literal value type) | None | Literal["unknown"]` is possibly unbound

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

apprise/apprise_attachment.py

[warning] possibly-unbound-attribute - :217:25 -
Old: Attribute `location` on type `AttachBase | Unknown | list[Unknown]` is possibly unbound
New: Attribute `location` on type `AttachBase | Unknown | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :219:20 -
Old: Attribute `location` on type `AttachBase | Unknown | list[Unknown]` is possibly unbound
New: Attribute `location` on type `AttachBase | Unknown | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :223:56 -
Old: Attribute `location` on type `AttachBase | Unknown | list[Unknown]` is possibly unbound
New: Attribute `location` on type `AttachBase | Unknown | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :224:25 -
Old: Attribute `url` on type `AttachBase | Unknown | list[Unknown]` is possibly unbound
New: Attribute `url` on type `AttachBase | Unknown | list[@Todo(list literal element type)]` is possibly unbound

apprise/persistent_store.py

[error] invalid-return-type - :1708:20 -
Old: Return type does not match returned value: expected `set[str]`, found `dict_keys[Unknown, Unknown]`
New: Return type does not match returned value: expected `set[str]`, found `dict_keys[@Todo(dict literal key type), @Todo(dict literal value type)]`

apprise/plugins/apprise_api.py

[warning] possibly-unbound-implicit-call - :344:13 -
Old: Method `__setitem__` of type `dict[Unknown, Unknown] | str` is possibly unbound
New: Method `__setitem__` of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)] | str` is possibly unbound

apprise/plugins/email/base.py

[error] invalid-assignment - :1047:17 - Object of type `list[@Todo(list comprehension element type)]` is not assignable to `set[Unknown] | None`

apprise/utils/parse.py

[error] unsupported-operator - :800:9 -
Old: Operator `+=` is unsupported between objects of type `str` and `(str & ~AlwaysFalsy) | (@Todo(Type::Intersection.call()) & ~AlwaysFalsy) | None | Unknown`
New: Operator `+=` is unsupported between objects of type `str` and `(str & ~AlwaysFalsy) | (@Todo(Type::Intersection.call()) & ~AlwaysFalsy) | None | @Todo(dict literal value type)`

tests/test_api.py

[error] invalid-argument-type - :214:18 -
Old: Argument to bound method `add` is incorrect: Expected `str | dict[Unknown, Unknown] | NotifyBase | AppriseConfig | ConfigBase | list[str | dict[Unknown, Unknown] | NotifyBase | AppriseConfig | ConfigBase]`, found `set[Unknown]`
New: Argument to bound method `add` is incorrect: Expected `str | dict[Unknown, Unknown] | NotifyBase | AppriseConfig | ConfigBase | list[str | dict[Unknown, Unknown] | NotifyBase | AppriseConfig | ConfigBase]`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :768:44 -
Old: Argument to bound method `add` is incorrect: Expected `str | list[str] | None`, found `set[Unknown]`
New: Argument to bound method `add` is incorrect: Expected `str | list[str] | None`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :777:43 -
Old: Argument to bound method `add` is incorrect: Expected `str | list[str] | None`, found `set[Unknown]`
New: Argument to bound method `add` is incorrect: Expected `str | list[str] | None`, found `set[@Todo(set literal element type)]`
[error] invalid-assignment - :1040:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`
[error] invalid-assignment - :1054:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`
[error] invalid-assignment - :1064:5 -
Old: Object of type `set[Unknown]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`
New: Object of type `set[@Todo(set literal element type)]` is not assignable to attribute `_url_identifier` on type `NotifyBase | None`

tests/test_apprise_config.py

[warning] possibly-unbound-implicit-call - :265:5 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound
[warning] possibly-unbound-implicit-call - :576:5 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

tests/test_plugin_twitter.py

[warning] possibly-unbound-attribute - :464:5 -
Old: Attribute `append` on type `Unknown | list[Unknown] | None` is possibly unbound
New: Attribute `append` on type `Unknown | list[@Todo(list literal element type)] | None` is possibly unbound

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

src/attr/_make.py

[warning] possibly-unbound-attribute - :469:35 - Attribute `init` on type `Attribute | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :469:59 - Attribute `kw_only` on type `Attribute | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :481:16 - Attribute `alias` on type `Attribute | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :483:70 - Attribute `name` on type `Attribute | Unknown` is possibly unbound
[warning] possibly-unbound-attribute - :487:19 - Attribute `name` on type `Attribute | Unknown` is possibly unbound
[error] invalid-return-type - :261:12 -
Old: Return type does not match returned value: expected `dict[str, Any]`, found `dict[Unknown, Unknown] | Mapping[str, object]`
New: Return type does not match returned value: expected `dict[str, Any]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)] | Mapping[str, object]`
[error] invalid-assignment - :1581:5 -
Old: Object of type `tuple[@Todo(generator type), ...]` is not assignable to `list[Attribute | Unknown]`
New: Object of type `tuple[Unknown, ...]` is not assignable to `list[Attribute | Unknown]`

src/attr/exceptions.py

[error] invalid-assignment - :20:5 -
Old: Object of type `list[Unknown]` is not assignable to `tuple[str]`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to `tuple[str]`

tests/test_converters.py

[error] invalid-argument-type - :350:21 -
Old: Argument to function `to_bool` is incorrect: Expected `str | int`, found `list[Unknown]`
New: Argument to function `to_bool` is incorrect: Expected `str | int`, found `list[@Todo(list literal element type)]`

tests/test_next_gen.py

[error] invalid-argument-type - :444:25 -
Old: Argument is incorrect: Expected `int`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `int`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

src/bokeh/embed/util.py

[error] invalid-argument-type - :199:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `dict[Model, Unknown]`, found `(list[Model] & ~list[Unknown]) | dict[Model, Unknown] | dict[Unknown, Unknown] | @Todo(dict comprehension type)`
New: Argument to bound method `__init__` is incorrect: Expected `dict[Model, Unknown]`, found `(list[Model] & ~list[Unknown]) | dict[Model, Unknown] | dict[Unknown, Unknown]`

src/bokeh/layouts.py

[error] invalid-argument-type - :380:9 -
Old: Argument is incorrect: Expected `Literal["normal", "grey"] | None`, found `Unknown | UndefinedType`
New: Argument is incorrect: Expected `Literal["normal", "grey"] | None`, found `@Todo(list comprehension element type) | UndefinedType`
[error] invalid-argument-type - :381:9 -
Old: Argument is incorrect: Expected `bool`, found `Unknown | UndefinedType`
New: Argument is incorrect: Expected `bool`, found `@Todo(list comprehension element type) | UndefinedType`

src/bokeh/resources.py

[error] invalid-return-type - :111:12 -
Old: Return type does not match returned value: expected `tuple[str, ...]`, found `set[Unknown]`
New: Return type does not match returned value: expected `tuple[str, ...]`, found `set[@Todo(generator expression yield type)]`

src/bokeh/sphinxext/_internal/bokeh_example_metadata.py

[error] invalid-assignment - :110:5 - Object of type `GeneratorType[@Todo(generator expression yield type), @Todo(generator expression send type), @Todo(generator expression return type)]` is not assignable to `str | None`
[error] not-iterable - :112:85 - Object of type `str | None` may not be iterable

cki-lib (https://gitlab.com/cki-project/cki-lib)

tests/test_misc.py

[error] invalid-argument-type - :324:41 -
Old: Argument to function `booltostr` is incorrect: Expected `bool`, found `list[Unknown]`
New: Argument to function `booltostr` is incorrect: Expected `bool`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :327:41 -
Old: Argument to function `booltostr` is incorrect: Expected `bool`, found `list[Unknown]`
New: Argument to function `booltostr` is incorrect: Expected `bool`, found `list[@Todo(list literal element type)]`

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

cloudinit/sources/DataSourceOracle.py

[error] invalid-argument-type - :215:17 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[dict[str, Any]] | None`, found `tuple[dict[Unknown, Unknown], dict[Unknown, Unknown], dict[Unknown, Unknown], dict[Unknown, Unknown]]`
New: Argument to bound method `__init__` is incorrect: Expected `list[dict[str, Any]] | None`, found `tuple[dict[@Todo(dict literal key type), @Todo(dict literal value type)], dict[@Todo(dict literal key type), @Todo(dict literal value type)], dict[@Todo(dict literal key type), @Todo(dict literal value type)], dict[@Todo(dict literal key type), @Todo(dict literal value type)]]`

cloudinit/util.py

[error] not-iterable - :2006:26 -
Old: Object of type `list[Unknown] | None` may not be iterable
New: Object of type `list[@Todo(list literal element type)] | None` may not be iterable

tests/unittests/config/test_modules.py

[error] invalid-argument-type - :96:13 -
Old: Argument is incorrect: Expected `str`, found `list[Unknown]`
New: Argument is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :163:13 -
Old: Argument is incorrect: Expected `str`, found `list[Unknown]`
New: Argument is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :197:13 -
Old: Argument is incorrect: Expected `str`, found `list[Unknown]`
New: Argument is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`

tests/unittests/sources/test_gce.py

[error] unsupported-operator - :104:16 -
Old: Operator `in` is not supported for types `Unknown` and `None`, in comparing `Unknown | None` with `Unknown | None | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `Unknown` and `None`, in comparing `Unknown | None` with `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[warning] possibly-unbound-attribute - :105:28 -
Old: Attribute `get` on type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Attribute `get` on type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

tests/unittests/sources/test_init.py

[error] invalid-assignment - :759:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` of type `str | None`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `network_json` of type `str | None`
[error] invalid-assignment - :778:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` of type `str | None`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `network_json` of type `str | None`

tests/unittests/test_helpers.py

[error] invalid-argument-type - :21:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `Paths`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Paths`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :32:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `Paths`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Paths`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

colour/geometry/tests/test_primitives.py

[error] invalid-argument-type - :782:32 -
Old: Argument to function `primitive_cube` is incorrect: Expected `Literal["-x", "+x", "-y", "+y", "-z", "+z", "xy", "xz", "yz", "yx", "zx", "zy"] | None`, found `list[Unknown]`
New: Argument to function `primitive_cube` is incorrect: Expected `Literal["-x", "+x", "-y", "+y", "-z", "+z", "xy", "xz", "yz", "yx", "zx", "zy"] | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :783:32 -
Old: Argument to function `primitive_cube` is incorrect: Expected `Literal["-x", "+x", "-y", "+y", "-z", "+z", "xy", "xz", "yz", "yx", "zx", "zy"] | None`, found `list[Unknown]`
New: Argument to function `primitive_cube` is incorrect: Expected `Literal["-x", "+x", "-y", "+y", "-z", "+z", "xy", "xz", "yz", "yx", "zx", "zy"] | None`, found `list[@Todo(list literal element type)]`

comtypes (https://github.com/enthought/comtypes)

comtypes/test/test_w_getopt.py

[error] invalid-argument-type - :17:37 -
Old: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[Unknown]`
New: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :24:59 -
Old: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[Unknown]`
New: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :29:38 -
Old: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[Unknown]`
New: Argument to function `w_getopt` is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`

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

cwltool/main.py

[warning] possibly-unbound-attribute - :483:33 -
Old: Attribute `get` on type `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[Unknown, Unknown]` is possibly unbound
New: Attribute `get` on type `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound
[error] unsupported-operator - :532:8 -
Old: Operator `in` is not supported for types `str` and `None`, in comparing `Literal["cwl:tool"]` with `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `str` and `None`, in comparing `Literal["cwl:tool"]` with `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] unsupported-operator - :534:8 -
Old: Operator `in` is not supported for types `Unknown` and `None`, in comparing `Unknown | Literal["__id"]` with `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `Unknown` and `None`, in comparing `Unknown | Literal["__id"]` with `Unknown | MutableMapping[str, @Todo(Inference of subscript on special form) | None] | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

benchmarks/bm/iast_fixtures/str_methods_py3.py

[error] invalid-argument-type - :140:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

benchmarks/set_http_meta/scenario.py

[warning] possibly-unbound-implicit-call - :74:13 -
Old: Method `__setitem__` of type `Unknown | str | int | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | str | int | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound
[warning] possibly-unbound-implicit-call - :80:13 -
Old: Method `__setitem__` of type `Unknown | str | int | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | str | int | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

ddtrace/_trace/product.py

[error] invalid-argument-type - :62:25 -
Old: Argument to bound method `set_tags` is incorrect: Expected `dict[str, str]`, found `(Unknown & ~AlwaysFalsy) | (EnvVariable[dict[Unknown, Unknown]] & ~AlwaysFalsy)`
New: Argument to bound method `set_tags` is incorrect: Expected `dict[str, str]`, found `(Unknown & ~AlwaysFalsy) | (EnvVariable[dict[@Todo(dict literal key type), @Todo(dict literal value type)]] & ~AlwaysFalsy)`

ddtrace/contrib/internal/botocore/patch.py

[error] invalid-argument-type - :251:9 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :276:60 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :285:17 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :294:64 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

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

[error] invalid-argument-type - :43:17 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :47:70 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :62:13 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :66:70 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :76:60 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :86:13 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :99:69 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :106:69 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :398:64 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :448:69 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :489:74 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

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

[error] invalid-argument-type - :41:13 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :91:72 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :101:21 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :157:72 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :166:80 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :168:81 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :173:76 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :179:21 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

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

[error] invalid-argument-type - :75:59 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :107:72 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :112:17 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :160:68 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :167:80 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :169:81 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :171:72 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :179:21 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

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

[error] invalid-argument-type - :38:58 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :77:74 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :87:17 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/botocore/utils.py

[error] invalid-argument-type - :81:63 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :95:62 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/kombu/patch.py

[error] invalid-argument-type - :134:50 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :167:39 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/molten/wrappers.py

[error] invalid-argument-type - :74:50 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/redis_utils.py

[error] invalid-argument-type - :129:49 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :146:49 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/rq/patch.py

[error] invalid-argument-type - :86:51 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/trace_utils.py

[error] invalid-argument-type - :501:9 -
Old: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/contrib/internal/trace_utils_base.py

[error] invalid-argument-type - :132:37 -
Old: Argument to function `dispatch_with_results` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dispatch_with_results` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

ddtrace/debugging/_redaction.py

[error] unsupported-operator - :16:5 -
Old: Operator `|` is unsupported between objects of type `frozenset[Unknown]` and `Unknown | EnvVariable[set[Unknown]]`
New: Operator `|` is unsupported between objects of type `frozenset[@Todo(set literal element type)]` and `Unknown | EnvVariable[set[Unknown]]`

ddtrace/internal/core/crashtracking.py

[warning] possibly-unbound-attribute - :59:17 -
Old: Attribute `items` on type `Unknown | EnvVariable[dict[Unknown, Unknown]]` is possibly unbound
New: Attribute `items` on type `Unknown | EnvVariable[dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` is possibly unbound

ddtrace/llmobs/_integrations/langchain.py

[error] invalid-argument-type - :695:33 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | int | float | list[int | float]`
New: Argument to function `len` is incorrect: Expected `Sized`, found `@Todo(list literal element type) | int | float | list[int | float]`

ddtrace/settings/errortracking.py

[error] invalid-assignment - :44:5 -
Old: Object of type `Unknown | EnvVariable[list[Unknown]]` is not assignable to attribute `_configured_modules` of type `list[str]`
New: Object of type `Unknown | EnvVariable[list[@Todo(list literal element type)]]` is not assignable to attribute `_configured_modules` of type `list[str]`

ddtrace/vendor/ply/yacc.py

[error] invalid-assignment - :676:25 -
Old: Object of type `Unknown` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
New: Object of type `@Todo(list literal element type)` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - :677:25 -
Old: Object of type `Unknown` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
New: Object of type `@Todo(list literal element type)` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - :982:25 -
Old: Object of type `Unknown` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
New: Object of type `@Todo(list literal element type)` is not assignable to attribute `lineno` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
[error] invalid-assignment - :983:25 -
Old: Object of type `Unknown` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`
New: Object of type `@Todo(list literal element type)` is not assignable to attribute `lexpos` on type `None | (Unknown & ~AlwaysFalsy) | YaccSymbol`

scripts/diff.py

[error] invalid-return-type - :165:12 -
Old: Return type does not match returned value: expected `list[tuple[int, int]]`, found `tuple[list[Unknown], list[Unknown], list[Unknown], list[Unknown]]`
New: Return type does not match returned value: expected `list[tuple[int, int]]`, found `tuple[list[@Todo(list literal element type)], list[@Todo(list literal element type)], list[@Todo(list literal element type)], list[@Todo(list literal element type)]]`

scripts/freshvenvs.py

[error] invalid-return-type - :230:24 -
Old: Return type does not match returned value: expected `tuple[str, list[str]]`, found `tuple[None, list[Unknown]]`
New: Return type does not match returned value: expected `tuple[str, list[str]]`, found `tuple[None, list[@Todo(list literal element type)]]`

tests/appsec/appsec/test_appsec_trace_utils.py

[error] invalid-argument-type - :310:63 -
Old: Argument to function `track_user_login_failure_event` is incorrect: Expected `bool | None`, found `dict[Unknown, Unknown]`
New: Argument to function `track_user_login_failure_event` is incorrect: Expected `bool | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

tests/contrib/httplib/test_httplib.py

[error] unresolved-attribute - :85:28 -
Old: Type `def request(self, method: str, url: str, body: @Todo(Support for `typing.TypeAlias`) | str | None = None, headers: Mapping[str, @Todo(Support for `typing.TypeAlias`)] = dict[Unknown, Unknown], *, encode_chunked: bool = Literal[False]) -> None` has no attribute `__wrapped__`
New: Type `def request(self, method: str, url: str, body: @Todo(Support for `typing.TypeAlias`) | str | None = None, headers: Mapping[str, @Todo(Support for `typing.TypeAlias`)] = dict[@Todo(dict literal key type), @Todo(dict literal value type)], *, encode_chunked: bool = Literal[False]) -> None` has no attribute `__wrapped__`

tests/contrib/integration_registry/registry_update_helpers/integration.py

[error] invalid-return-type - :130:20 -
Old: Return type does not match returned value: expected `bool`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :132:20 -
Old: Return type does not match returned value: expected `bool`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :134:20 -
Old: Return type does not match returned value: expected `bool`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

tests/internal/remoteconfig/test_remoteconfig_client.py

[error] invalid-argument-type - :58:93 -
Old: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[Unknown, Unknown]`
New: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :106:93 -
Old: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[Unknown, Unknown]`
New: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :129:101 -
Old: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[Unknown, Unknown]`
New: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :173:93 -
Old: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[Unknown, Unknown]`
New: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :198:93 -
Old: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[Unknown, Unknown]`
New: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :229:93 -
Old: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[Unknown, Unknown]`
New: Argument to bound method `_load_new_configurations` is incorrect: Expected `AgentPayload`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :381:97 -
Old: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[Unknown, Unknown]`
New: Argument to function `_apply_callback` is incorrect: Expected `ConfigMetadata`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

tests/internal/remoteconfig/test_remoteconfig_publisher.py

[error] invalid-argument-type - :17:50 -
Old: Argument to bound method `append` is incorrect: Expected `ConfigMetadata`, found `dict[Unknown, Unknown]`
New: Argument to bound method `append` is incorrect: Expected `ConfigMetadata`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

tests/opentracer/core/test_tracer.py

[error] unsupported-operator - :67:20 -
Old: Operator `in` is not supported for types `list[Unknown]` and `str`
New: Operator `in` is not supported for types `list[@Todo(list literal element type)]` and `str`

tests/profiling_v2/exporter/test_ddup.py

[error] non-subscriptable - :52:12 -
Old: Cannot subscript object of type `EnvVariable[dict[Unknown, Unknown]]` with no `__getitem__` method
New: Cannot subscript object of type `EnvVariable[dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` with no `__getitem__` method
[error] non-subscriptable - :53:12 -
Old: Cannot subscript object of type `EnvVariable[dict[Unknown, Unknown]]` with no `__getitem__` method
New: Cannot subscript object of type `EnvVariable[dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` with no `__getitem__` method
[warning] possibly-unbound-attribute - :63:17 -
Old: Attribute `items` on type `Unknown | EnvVariable[dict[Unknown, Unknown]]` is possibly unbound
New: Attribute `items` on type `Unknown | EnvVariable[dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` is possibly unbound

tests/tracer/test_processors.py

[error] invalid-assignment - :499:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :515:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :533:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :551:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :587:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :610:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
[error] invalid-assignment - :651:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `rules` on type `DatadogSampler | RateSampler`

tests/utils.py

[error] invalid-argument-type - :1554:9 -
Old: Argument is incorrect: Expected `ConfigMetadata`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `ConfigMetadata`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

discord/appinfo.py

[error] unsupported-operator - :458:16 -
Old: Operator `not in` is not supported for types `str` and `None`, in comparing `Literal["bot"]` with `list[str] | None | Any | list[Unknown]`
New: Operator `not in` is not supported for types `str` and `None`, in comparing `Literal["bot"]` with `list[str] | None | Any | list[@Todo(list literal element type)]`
[error] unsupported-operator - :478:16 -
Old: Operator `not in` is not supported for types `str` and `None`, in comparing `Literal["bot"]` with `list[str] | None | Any | list[Unknown]`
New: Operator `not in` is not supported for types `str` and `None`, in comparing `Literal["bot"]` with `list[str] | None | Any | list[@Todo(list literal element type)]`

discord/ext/commands/cog.py

[error] invalid-assignment - :543:17 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__cog_listener_names__` on type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `__cog_listener_names__` on type `(FuncT@listener & ~staticmethod) | ((...) -> Unknown)`

django-stubs (https://github.com/typeddjango/django-stubs)

tests/assert_type/db/models/test_constraints.py

[error] invalid-argument-type - :12:5 -
Old: Argument to bound method `__init__` is incorrect: Expected `None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `None`, found `list[@Todo(list literal element type)]`

tests/assert_type/db/models/test_enums.py

[error] type-assertion-failure - :274:1 - Argument does not have asserted type `list[@Todo(Support for `typing.TypeAlias`)]`
[error] type-assertion-failure - :279:1 - Argument does not have asserted type `list[@Todo(Support for `typing.TypeAlias`)]`
[error] type-assertion-failure - :284:1 - Argument does not have asserted type `list[@Todo(Support for `typing.TypeAlias`)]`
[error] type-assertion-failure - :289:1 - Argument does not have asserted type `list[@Todo(Support for `typing.TypeAlias`)]`
[error] type-assertion-failure - :290:1 - Argument does not have asserted type `list[Any]`

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

freqtrade/freqai/data_kitchen.py

[error] invalid-return-type - :299:16 -
Old: Return type does not match returned value: expected `tuple[DataFrame, DataFrame]`, found `tuple[Unknown, Unknown | list[Unknown]]`
New: Return type does not match returned value: expected `tuple[DataFrame, DataFrame]`, found `tuple[Unknown, Unknown | list[@Todo(list literal element type)]]`
[error] invalid-assignment - :827:17 -
Old: Method `__setitem__` of type `(bound method dict[str, dict[str, DataFrame]].__setitem__(key: str, value: dict[str, DataFrame], /) -> None) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Unknown` and a value of type `DataFrame` on object of type `(dict[str, dict[str, DataFrame]] & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Method `__setitem__` of type `(bound method dict[str, dict[str, DataFrame]].__setitem__(key: str, value: dict[str, DataFrame], /) -> None) | (bound method dict[@Todo(dict literal key type), @Todo(dict literal value type)].__setitem__(key: @Todo(dict literal key type), value: @Todo(dict literal value type), /) -> None)` cannot be called with a key of type `Unknown` and a value of type `DataFrame` on object of type `(dict[str, dict[str, DataFrame]] & ~AlwaysFalsy) | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-assignment - :830:21 -
Old: Method `__setitem__` of type `(bound method dict[str, DataFrame].__setitem__(key: str, value: DataFrame, /) -> None) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[Unknown, Unknown]` on object of type `(dict[str, DataFrame] & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Method `__setitem__` of type `(bound method dict[str, DataFrame].__setitem__(key: str, value: DataFrame, /) -> None) | (bound method dict[@Todo(dict literal key type), @Todo(dict literal value type)].__setitem__(key: @Todo(dict literal key type), value: @Todo(dict literal value type), /) -> None)` cannot be called with a key of type `Unknown` and a value of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` on object of type `(dict[str, DataFrame] & ~AlwaysFalsy) | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-return-type - :1324:20 - Return type does not match returned value: expected `_T@_sanitize_collection`, found `dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)]`

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

examples/notebooks/Cifar10_Ax_hyperparam_tuning.ipynb:cell 22

[error] invalid-argument-type - :7:58 -
Old: Argument to bound method `plot_values` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `plot_values` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[@Todo(list literal element type)]`

tests/ignite/handlers/test_checkpoint.py

[error] invalid-argument-type - :52:20 -
Old: Argument to bound method `__init__` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :568:17 -
Old: Argument to bound method `__call__` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `__call__` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1077:37 -
Old: Argument to function `load_objects` is incorrect: Expected `str | Mapping[Unknown, Unknown] | Path`, found `list[Unknown]`
New: Argument to function `load_objects` is incorrect: Expected `str | Mapping[Unknown, Unknown] | Path`, found `list[@Todo(list literal element type)]`

tests/ignite/handlers/test_fbresearch_logger.py

[error] invalid-assignment - :79:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `output` on type `Unknown | State`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `output` on type `Unknown | State`
[error] invalid-assignment - :83:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `output` on type `Unknown | State`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `output` on type `Unknown | State`

tests/ignite/handlers/test_visdom_logger.py

[error] invalid-argument-type - :141:36 -
Old: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :181:36 -
Old: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :242:36 -
Old: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :366:36 -
Old: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `list[@Todo(list literal element type)]`

tests/ignite/metrics/test_running_average.py

[error] invalid-argument-type - :17:24 -
Old: Argument to bound method `__init__` is incorrect: Expected `Metric | None`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Metric | None`, found `list[@Todo(list literal element type)]`

isort (https://github.com/pycqa/isort)

isort/output.py

[error] invalid-argument-type - :523:25 -
Old: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[Unknown]`
New: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[@Todo(list literal element type)]`
[error] invalid-argument-type - :533:25 -
Old: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[Unknown]`
New: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[@Todo(list literal element type)]`
[error] invalid-argument-type - :541:29 -
Old: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[Unknown]`
New: Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Unknown | None | list[@Todo(list literal element type)]`

manticore (https://github.com/trailofbits/manticore)

tests/wasm/json2mc.py

[error] invalid-argument-type - :103:13 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `None` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :159:65 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `None` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :161:13 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `None` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `None` on object of type `list[@Todo(list literal element type)]`

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

mesonbuild/backend/ninjabackend.py

[error] invalid-return-type - :1998:16 -
Old: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[Unknown], None | Unknown]`
New: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[@Todo(list literal element type)], None | Unknown]`
[error] unsupported-operator - :3793:39 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`
[error] unsupported-operator - :3798:39 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`

mesonbuild/backend/xcodebackend.py

[error] unsupported-operator - :1375:15 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`
[error] unsupported-operator - :1390:15 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`

mesonbuild/cmake/interpreter.py

[error] unsupported-operator - :1273:13 -
Old: Operator `+=` is unsupported between objects of type `list[Unknown]` and `ImmutableListProtocol[str] | None`
New: Operator `+=` is unsupported between objects of type `list[@Todo(list literal element type)]` and `ImmutableListProtocol[str] | None`

mesonbuild/compilers/asm.py

[error] unsupported-operator - :139:16 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`

mesonbuild/interpreter/interpreter.py

[error] invalid-return-type - :2350:16 -
Old: Return type does not match returned value: expected `Headers`, found `list[Unknown]`
New: Return type does not match returned value: expected `Headers`, found `list[@Todo(list literal element type)]`
[error] invalid-return-type - :2554:16 -
Old: Return type does not match returned value: expected `Data`, found `list[Unknown]`
New: Return type does not match returned value: expected `Data`, found `list[@Todo(list literal element type)]`

mesonbuild/interpreter/type_checking.py

[error] invalid-assignment - :306:1 -
Old: Object of type `KwargInfo[dict[Unknown, Unknown]]` is not assignable to `KwargInfo[str | list[str] | dict[str, @Todo(Support for `typing.TypeAlias`)]]`
New: Object of type `KwargInfo[dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` is not assignable to `KwargInfo[str | list[str] | dict[str, @Todo(Support for `typing.TypeAlias`)]]`

mesonbuild/minit.py

[error] unsupported-operator - :190:15 -
Old: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `ImmutableListProtocol[str] | None` and `list[@Todo(list literal element type)]`
[error] unsupported-operator - :201:15 -
Old: Operator `+` is unsupported between objects of type `list[str] | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `list[str] | None` and `list[@Todo(list literal element type)]`

mesonbuild/modules/hotdoc.py

[error] invalid-return-type - :277:20 -
Old: Return type does not match returned value: expected `File | CustomTarget | CustomTargetIndex`, found `list[Unknown]`
New: Return type does not match returned value: expected `File | CustomTarget | CustomTargetIndex`, found `list[@Todo(list literal element type)]`

mesonbuild/modules/python3.py

[error] invalid-assignment - :55:33 -
Old: Invalid assignment to key "name_suffix" with declared type `str | None` on TypedDict `SharedModule`: value of type `Literal["so", "pyd"] | list[Unknown]`
New: Invalid assignment to key "name_suffix" with declared type `str | None` on TypedDict `SharedModule`: value of type `Literal["so", "pyd"] | list[@Todo(list literal element type)]`

mesonbuild/scripts/symbolextractor.py

[error] invalid-return-type - :221:16 -
Old: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[@Todo(list literal element type)], None]`
[error] invalid-return-type - :247:20 -
Old: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[@Todo(list literal element type)], None]`

run_tests.py

[error] unsupported-operator - :270:15 -
Old: Operator `+` is unsupported between objects of type `Unknown | None | list[Unknown] | list[str]` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `Unknown | None | list[@Todo(list literal element type)] | list[str]` and `list[@Todo(list literal element type)]`

test cases/common/22 object extraction/check-obj.py

[error] unsupported-operator - :19:35 -
Old: Operator `not in` is not supported for types `str` and `None`, in comparing `str` with `None | @Todo(set comprehension type)`
New: Operator `not in` is not supported for types `str` and `None`, in comparing `str` with `None | set[@Todo(set comprehension element type)]`

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

test/mitmproxy/addons/test_tlsconfig.py

[error] invalid-assignment - :295:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `alpn_protocols` on type `QuicTlsSettings | None`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `alpn_protocols` on type `QuicTlsSettings | None`
[error] invalid-assignment - :379:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `alpn_protocols` on type `QuicTlsSettings | None`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `alpn_protocols` on type `QuicTlsSettings | None`

test/mitmproxy/test_command.py

[error] invalid-return-type - :607:16 -
Old: Return type does not match returned value: expected `Data`, found `list[Unknown]`
New: Return type does not match returned value: expected `Data`, found `list[@Todo(list literal element type)]`

test/mitmproxy/test_http.py

[error] invalid-assignment - :602:9 -
Old: Method `__setitem__` of type `bound method MultiDictView[str, tuple[str, MultiDict[str, str | None]]].__setitem__(key: str, value: tuple[str, MultiDict[str, str | None]]) -> None` cannot be called with a key of type `Literal["foo"]` and a value of type `tuple[Literal["bar"], dict[Unknown, Unknown]]` on object of type `MultiDictView[str, tuple[str, MultiDict[str, str | None]]]`
New: Method `__setitem__` of type `bound method MultiDictView[str, tuple[str, MultiDict[str, str | None]]].__setitem__(key: str, value: tuple[str, MultiDict[str, str | None]]) -> None` cannot be called with a key of type `Literal["foo"]` and a value of type `tuple[Literal["bar"], dict[@Todo(dict literal key type), @Todo(dict literal value type)]]` on object of type `MultiDictView[str, tuple[str, MultiDict[str, str | None]]]`

test/mitmproxy/test_types.py

[error] invalid-return-type - :216:16 -
Old: Return type does not match returned value: expected `Data`, found `list[Unknown]`
New: Return type does not match returned value: expected `Data`, found `list[@Todo(list literal element type)]`

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

mkdocs/tests/base.py

[warning] possibly-unbound-attribute - :77:38 -
Old: Attribute `items` on type `Unknown | None | (Unknown & ~list[Unknown] & ~tuple[Unknown, ...] & ~AlwaysFalsy) | dict[Unknown, Unknown]` is possibly unbound
New: Attribute `items` on type `Unknown | None | dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)] | (Unknown & ~list[Unknown] & ~tuple[Unknown, ...] & ~AlwaysFalsy)` is possibly unbound

mkdocs/tests/build_tests.py

[error] invalid-assignment - :466:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `meta` on type `Page | None`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `meta` on type `Page | None`

mkdocs/tests/plugin_tests.py

[error] invalid-argument-type - :211:67 -
Old: Argument to bound method `on_page_content` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_page_content` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :211:78 -
Old: Argument to bound method `on_page_content` is incorrect: Expected `Files`, found `list[Unknown]`
New: Argument to bound method `on_page_content` is incorrect: Expected `Files`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :229:67 -
Old: Argument to bound method `on_page_content` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_page_content` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :229:78 -
Old: Argument to bound method `on_page_content` is incorrect: Expected `Files`, found `list[Unknown]`
New: Argument to bound method `on_page_content` is incorrect: Expected `Files`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :238:44 -
Old: Argument to bound method `on_nav` is incorrect: Expected `Navigation`, found `list[Unknown]`
New: Argument to bound method `on_nav` is incorrect: Expected `Navigation`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :238:58 -
Old: Argument to bound method `on_nav` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_nav` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :238:69 -
Old: Argument to bound method `on_nav` is incorrect: Expected `Files`, found `list[Unknown]`
New: Argument to bound method `on_nav` is incorrect: Expected `Files`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :245:68 -
Old: Argument to bound method `on_page_read_source` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_page_read_source` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :252:50 -
Old: Argument to bound method `on_pre_build` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_pre_build` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :257:69 -
Old: Argument to bound method `on_page_markdown` is incorrect: Expected `MkDocsConfig`, found `dict[Unknown, Unknown]`
New: Argument to bound method `on_page_markdown` is incorrect: Expected `MkDocsConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :257:80 -
Old: Argument to bound method `on_page_markdown` is incorrect: Expected `Files`, found `list[Unknown]`
New: Argument to bound method `on_page_markdown` is incorrect: Expected `Files`, found `list[@Todo(list literal element type)]`

mkosi (https://github.com/systemd/mkosi)

mkosi/config.py

[warning] possibly-unbound-attribute - :1916:27 - Attribute `section` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1918:83 - Attribute `section` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1922:24 - Attribute `name` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1924:84 - Attribute `name` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1927:20 - Attribute `dest` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1927:30 - Attribute `parse` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :1927:56 - Attribute `dest` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :4926:31 - Attribute `section` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4928:87 - Attribute `section` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4932:28 - Attribute `name` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4934:88 - Attribute `name` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4939:29 - Attribute `dest` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4939:39 - Attribute `parse` on type `Unknown | None` is possibly unbound
[warning] possibly-unbound-attribute - :4939:66 - Attribute `dest` on type `Unknown | None` is possibly unbound
[error] invalid-return-type - :282:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`
[error] invalid-return-type - :488:16 -
Old: Return type does not match returned value: expected `Architecture`, found `Unknown | None`
New: Return type does not match returned value: expected `Architecture`, found `@Todo(dict literal value type) | None`
[error] invalid-return-type - :531:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`
[error] invalid-return-type - :553:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/arch.py

[error] invalid-return-type - :109:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/azure.py

[error] invalid-return-type - :108:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/centos.py

[error] invalid-return-type - :94:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/debian.py

[error] invalid-return-type - :221:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/fedora.py

[error] invalid-return-type - :229:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/kali.py

[error] invalid-return-type - :58:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/mageia.py

[error] invalid-return-type - :65:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/openmandriva.py

[error] invalid-return-type - :61:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

mkosi/distributions/opensuse.py

[error] invalid-return-type - :249:16 -
Old: Return type does not match returned value: expected `str`, found `Unknown | None`
New: Return type does not match returned value: expected `str`, found `@Todo(dict literal value type) | None`

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

openlibrary/coverstore/utils.py

[error] invalid-return-type - :92:12 -
Old: Return type does not match returned value: expected `tuple[str, dict[str, str]]`, found `tuple[Literal[b""], @Todo(dict comprehension type)]`
New: Return type does not match returned value: expected `tuple[str, dict[str, str]]`, found `tuple[Literal[b""], dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)]]`

openlibrary/plugins/upstream/tests/test_utils.py

[error] invalid-argument-type - :316:45 -
Old: Argument to function `get_location_and_publisher` is incorrect: Expected `str`, found `list[Unknown]`
New: Argument to function `get_location_and_publisher` is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`

openlibrary/tests/core/test_cache.py

[error] invalid-argument-type - :11:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :12:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :13:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :14:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :15:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :16:30 -
Old: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[Unknown]`
New: Argument to bound method `encode_args` is incorrect: Expected `tuple[Unknown, ...]`, found `list[@Todo(list literal element type)]`

openlibrary/utils/schema.py

[error] call-non-callable - :44:12 -
Old: Object of type `dict[Unknown, Unknown]` is not callable
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not callable

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

ops/lib/__init__.py

[error] invalid-argument-type - :218:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :240:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

optuna/study/_multi_objective.py

[error] invalid-argument-type - :26:16 - Argument to function `len` is incorrect: Expected `Sized`, found `@Todo(list comprehension type) | list[int | float] | None`
[error] invalid-argument-type - :32:50 - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `@Todo(list comprehension type) | list[int | float] | None`

tests/importance_tests/fanova_tests/test_tree.py

[error] unsupported-operator - :117:10 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `floating[Any]`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `floating[Any]`

tests/test_cli.py

[error] invalid-argument-type - :1218:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["number"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["number"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1219:25 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["params"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["params"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1220:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["params"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["params"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1274:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["number"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["number"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1275:25 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["params_x"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["params_x"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1276:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["params_y"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["params_y"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1314:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["number"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["number"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1315:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["params"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["params"]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1352:20 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["number"]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["number"]` on object of type `list[@Todo(list literal element type)]`

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

paasta_tools/adhoc_tools.py

[error] invalid-argument-type - :111:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `LongRunningServiceConfigDict`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `LongRunningServiceConfigDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/cleanup_expired_autoscaling_overrides.py

[error] invalid-assignment - :136:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `data` on type `Unknown | None`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `data` on type `Unknown | None`

paasta_tools/cli/cmds/local_run.py

[error] invalid-assignment - :759:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `AWSSessionCreds`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `AWSSessionCreds`
[error] invalid-assignment - :813:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `AWSSessionCreds`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `AWSSessionCreds`
[error] invalid-argument-type - :1328:51 -
Old: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/cli/cmds/mesh_status.py

[error] invalid-return-type - :117:16 -
Old: Return type does not match returned value: expected `tuple[int, list[str]]`, found `tuple[Unknown | None, list[Unknown]]`
New: Return type does not match returned value: expected `tuple[int, list[str]]`, found `tuple[Unknown | None, list[@Todo(list literal element type)]]`

paasta_tools/cli/cmds/spark_run.py

[error] invalid-argument-type - :1227:51 -
Old: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/cli/utils.py

[error] invalid-return-type - :415:12 -
Old: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[str] | list[Unknown], None | str]`
New: Return type does not match returned value: expected `tuple[list[str], str]`, found `tuple[list[str] | list[@Todo(list literal element type)], None | str]`

paasta_tools/frameworks/native_service_config.py

[error] invalid-assignment - :176:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `TaskInfo`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `TaskInfo`

paasta_tools/instance/hpa_metrics_parser.py

[error] invalid-assignment - :26:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `HPAMetricsDict`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `HPAMetricsDict`
[error] invalid-assignment - :43:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `HPAMetricsDict`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `HPAMetricsDict`

paasta_tools/instance/kubernetes.py

[error] invalid-return-type - :829:12 -
Old: Return type does not match returned value: expected `KubernetesVersionDict`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `KubernetesVersionDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :1113:12 -
Old: Return type does not match returned value: expected `KubernetesVersionDict`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `KubernetesVersionDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/metrics/metastatus_lib.py

[error] invalid-return-type - :655:12 -
Old: Return type does not match returned value: expected `ResourceUtilizationDict`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `ResourceUtilizationDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :732:12 -
Old: Return type does not match returned value: expected `ResourceUtilizationDict`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `ResourceUtilizationDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/metrics/metrics_lib.py

[error] invalid-assignment - :97:9 -
Old: Method `__setitem__` of type `(bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[str, @Todo(unsupported type[X] special form)].__setitem__(key: str, value: @Todo(unsupported type[X] special form), /) -> None)` cannot be called with a key of type `str | None` and a value of type `type[BaseMetrics]` on object of type `dict[Unknown, Unknown] | dict[str, @Todo(unsupported type[X] special form)]`
New: Method `__setitem__` of type `(bound method dict[@Todo(dict literal key type), @Todo(dict literal value type)].__setitem__(key: @Todo(dict literal key type), value: @Todo(dict literal value type), /) -> None) | (bound method dict[str, @Todo(unsupported type[X] special form)].__setitem__(key: str, value: @Todo(unsupported type[X] special form), /) -> None)` cannot be called with a key of type `str | None` and a value of type `type[BaseMetrics]` on object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)] | dict[str, @Todo(unsupported type[X] special form)]`

paasta_tools/setup_prometheus_adapter_config.py

[error] invalid-return-type - :342:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :445:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :518:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :614:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :715:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :766:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterRule`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-return-type - :864:12 -
Old: Return type does not match returned value: expected `PrometheusAdapterConfig`, found `dict[Unknown, Unknown]`
New: Return type does not match returned value: expected `PrometheusAdapterConfig`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

paasta_tools/utils.py

[error] invalid-argument-type - :2112:35 -
Old: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `SystemPaastaConfigDict`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-assignment - :2120:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `SystemPaastaConfigDict`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `SystemPaastaConfigDict`
[error] invalid-assignment - :3588:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to `BranchDictV2`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `BranchDictV2`

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

src/integrations/prefect-aws/prefect_aws/utilities.py

[error] invalid-assignment - :67:13 -
Old: Method `__setitem__` of type `(bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None])` cannot be called with a key of type `str` and a value of type `list[Unknown] | dict[Unknown, Unknown]` on object of type `dict[Unknown, Unknown] | (list[Unknown] & ~list[Unknown])`
New: Method `__setitem__` of type `(bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None])` cannot be called with a key of type `str` and a value of type `list[@Todo(list literal element type)] | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` on object of type `dict[Unknown, Unknown] | (list[Unknown] & ~list[Unknown])`

src/integrations/prefect-github/tests/test_repository.py

[error] invalid-return-type - :104:16 -
Old: Return type does not match returned value: expected `tuple[str, str]`, found `tuple[set[Unknown], set[Unknown]]`
New: Return type does not match returned value: expected `tuple[str, str]`, found `tuple[set[@Todo(set literal element type)], set[@Todo(set literal element type)]]`

src/prefect/_internal/compatibility/deprecated.py

[error] invalid-argument-type - :266:38 -
Old: Argument to function `wraps` is incorrect: Expected `(...) -> Unknown`, found `(Unknown & ~AlwaysFalsy & ~dict[Unknown, Unknown]) | (dict[Unknown, Unknown] & ~dict[Unknown, Unknown])`
New: Argument to function `wraps` is incorrect: Expected `(...) -> Unknown`, found `(Unknown & ~AlwaysFalsy & ~dict[Unknown, Unknown]) | (dict[@Todo(dict literal key type), @Todo(dict literal value type)] & ~dict[Unknown, Unknown])`

src/prefect/cli/deploy.py

[error] invalid-argument-type - :672:63 -
Old: Argument to function `_generate_actions_for_remote_flow_storage` is incorrect: Expected `list[dict[str, Any]]`, found `(dict[str, Any] & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `_generate_actions_for_remote_flow_storage` is incorrect: Expected `list[dict[str, Any]]`, found `(dict[str, Any] & ~AlwaysFalsy) | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :688:13 -
Old: Argument to function `_generate_default_pull_action` is incorrect: Expected `list[dict[str, Any]]`, found `(dict[str, Any] & ~AlwaysFalsy) | dict[Unknown, Unknown] | dict[str, list[dict[str, Any]]]`
New: Argument to function `_generate_default_pull_action` is incorrect: Expected `list[dict[str, Any]]`, found `(dict[str, Any] & ~AlwaysFalsy) | dict[@Todo(dict literal key type), @Todo(dict literal value type)] | dict[str, list[dict[str, Any]]]`
[error] invalid-argument-type - :836:56 -
Old: Argument is incorrect: Expected `WorkerFilterStatus | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `WorkerFilterStatus | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-assignment - :1181:9 -
Old: Method `__setitem__` of type `Overload[(key: SupportsIndex, value: dict[str, Any], /) -> None, (key: slice[Any, Any, Any], value: Iterable[dict[str, Any]], /) -> None]` cannot be called with a key of type `Literal["push"]` and a value of type `list[Unknown]` on object of type `list[dict[str, Any]]`
New: Method `__setitem__` of type `Overload[(key: SupportsIndex, value: dict[str, Any], /) -> None, (key: slice[Any, Any, Any], value: Iterable[dict[str, Any]], /) -> None]` cannot be called with a key of type `Literal["push"]` and a value of type `list[@Todo(list literal element type)]` on object of type `list[dict[str, Any]]`
[error] invalid-assignment - :1189:9 -
Old: Method `__setitem__` of type `Overload[(key: SupportsIndex, value: dict[str, Any], /) -> None, (key: slice[Any, Any, Any], value: Iterable[dict[str, Any]], /) -> None]` cannot be called with a key of type `Literal["pull"]` and a value of type `list[Unknown]` on object of type `list[dict[str, Any]]`
New: Method `__setitem__` of type `Overload[(key: SupportsIndex, value: dict[str, Any], /) -> None, (key: slice[Any, Any, Any], value: Iterable[dict[str, Any]], /) -> None]` cannot be called with a key of type `Literal["pull"]` and a value of type `list[@Todo(list literal element type)]` on object of type `list[dict[str, Any]]`
[error] invalid-return-type - :1625:12 -
Old: Return type does not match returned value: expected `dict[str, Any]`, found `tuple[dict[str, Any], dict[Unknown, Unknown]]`
New: Return type does not match returned value: expected `dict[str, Any]`, found `tuple[dict[str, Any], dict[@Todo(dict literal key type), @Todo(dict literal value type)]]`

src/prefect/cli/flow_run.py

[error] invalid-argument-type - :183:36 -
Old: Argument is incorrect: Expected `FlowFilterName | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FlowFilterName | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :184:43 -
Old: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[Unknown, Unknown] & ~AlwaysFalsy`
New: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)] & ~AlwaysFalsy`
[error] invalid-argument-type - :191:40 -
Old: Argument is incorrect: Expected `FlowFilterId | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FlowFilterId | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :323:28 -
Old: Argument is incorrect: Expected `LogFilterFlowRunId | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `LogFilterFlowRunId | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/client/orchestration/_deployments/client.py

[error] invalid-assignment - :602:13 - Method `__setitem__` of type `bound method dict[str, list[@Todo(list comprehension element type)]].__setitem__(key: str, value: list[@Todo(list comprehension element type)], /) -> None` cannot be called with a key of type `Literal["scheduled_before"]` and a value of type `str` on object of type `dict[str, list[@Todo(list comprehension element type)]]`
[error] invalid-assignment - :604:13 - Method `__setitem__` of type `bound method dict[str, list[@Todo(list comprehension element type)]].__setitem__(key: str, value: list[@Todo(list comprehension element type)], /) -> None` cannot be called with a key of type `Literal["limit"]` and a value of type `int & ~AlwaysFalsy` on object of type `dict[str, list[@Todo(list comprehension element type)]]`
[error] invalid-assignment - :1277:13 - Method `__setitem__` of type `bound method dict[str, list[@Todo(list comprehension element type)]].__setitem__(key: str, value: list[@Todo(list comprehension element type)], /) -> None` cannot be called with a key of type `Literal["scheduled_before"]` and a value of type `str` on object of type `dict[str, list[@Todo(list comprehension element type)]]`
[error] invalid-assignment - :1279:13 - Method `__setitem__` of type `bound method dict[str, list[@Todo(list comprehension element type)]].__setitem__(key: str, value: list[@Todo(list comprehension element type)], /) -> None` cannot be called with a key of type `Literal["limit"]` and a value of type `int & ~AlwaysFalsy` on object of type `dict[str, list[@Todo(list comprehension element type)]]`

src/prefect/deployments/steps/core.py

[error] invalid-assignment - :191:17 -
Old: Method `__setitem__` of type `(bound method dict[str, Any].__setitem__(key: str, value: Any, /) -> None) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Unknown | None` and a value of type `dict[str, Any] & dict[Unknown, Unknown]` on object of type `(dict[str, Any] & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Method `__setitem__` of type `(bound method dict[str, Any].__setitem__(key: str, value: Any, /) -> None) | (bound method dict[@Todo(dict literal key type), @Todo(dict literal value type)].__setitem__(key: @Todo(dict literal key type), value: @Todo(dict literal value type), /) -> None)` cannot be called with a key of type `Unknown | None` and a value of type `dict[str, Any] & dict[Unknown, Unknown]` on object of type `(dict[str, Any] & ~AlwaysFalsy) | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/flow_engine.py

[error] invalid-argument-type - :491:21 -
Old: Argument is incorrect: Expected `FlowRunFilterParentTaskRunId | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FlowRunFilterParentTaskRunId | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :1064:21 -
Old: Argument is incorrect: Expected `FlowRunFilterParentTaskRunId | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FlowRunFilterParentTaskRunId | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/server/api/block_types.py

[error] invalid-argument-type - :174:17 -
Old: Argument is incorrect: Expected `BlockDocumentFilterBlockTypeId | None`, found `dict[str, list[Unknown]]`
New: Argument is incorrect: Expected `BlockDocumentFilterBlockTypeId | None`, found `dict[str, list[@Todo(list literal element type)]]`

src/prefect/server/api/concurrency_limits.py

[warning] possibly-unbound-attribute - :208:44 - Attribute `active_slots` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[error] invalid-assignment - :210:25 - Object of type `list[Unknown]` is not assignable to attribute `active_slots` on type `@Todo(dict comprehension value type) | None`
[warning] possibly-unbound-attribute - :222:44 - Attribute `active_slots` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[error] invalid-assignment - :224:25 - Object of type `list[Unknown]` is not assignable to attribute `active_slots` on type `@Todo(dict comprehension value type) | None`
[error] invalid-return-type - :286:12 - Return type does not match returned value: expected `None`, found `list[@Todo(list comprehension element type)]`

src/prefect/server/api/flow_runs.py

[error] invalid-argument-type - :861:25 -
Old: Argument is incorrect: Expected `LogFilterFlowRunId | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `LogFilterFlowRunId | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/server/api/server.py

[error] invalid-assignment - :764:5 -
Old: Method `__setitem__` of type `(bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None) | (bound method dict[tuple[Settings, bool], Unknown].__setitem__(key: tuple[Settings, bool], value: Unknown, /) -> None)` cannot be called with a key of type `tuple[str | @Todo(instance attribute on class with dynamic base), bool, bool]` and a value of type `Unknown` on object of type `dict[Unknown, Unknown] | dict[tuple[Settings, bool], Unknown]`
New: Method `__setitem__` of type `(bound method dict[@Todo(dict literal key type), @Todo(dict literal value type)].__setitem__(key: @Todo(dict literal key type), value: @Todo(dict literal value type), /) -> None) | (bound method dict[tuple[Settings, bool], Unknown].__setitem__(key: tuple[Settings, bool], value: Unknown, /) -> None)` cannot be called with a key of type `tuple[str | @Todo(instance attribute on class with dynamic base), bool, bool]` and a value of type `Unknown` on object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)] | dict[tuple[Settings, bool], Unknown]`

src/prefect/server/events/schemas/automations.py

[error] invalid-argument-type - :135:13 -
Old: Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `Resource`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/server/models/block_documents.py

[error] invalid-argument-type - :145:13 -
Old: Argument is incorrect: Expected `BlockDocumentFilterId | None`, found `dict[str, list[Unknown]]`
New: Argument is incorrect: Expected `BlockDocumentFilterId | None`, found `dict[str, list[@Todo(list literal element type)]]`
[error] invalid-argument-type - :256:13 -
Old: Argument is incorrect: Expected `BlockDocumentFilterName | None`, found `dict[str, list[Unknown]]`
New: Argument is incorrect: Expected `BlockDocumentFilterName | None`, found `dict[str, list[@Todo(list literal element type)]]`
[error] invalid-argument-type - :261:13 -
Old: Argument is incorrect: Expected `BlockTypeFilterSlug | None`, found `dict[str, list[Unknown]]`
New: Argument is incorrect: Expected `BlockTypeFilterSlug | None`, found `dict[str, list[@Todo(list literal element type)]]`
[error] invalid-argument-type - :427:47 -
Old: Argument is incorrect: Expected `BlockSchemaFilterId | None`, found `dict[str, @Todo(list comprehension type)]`
New: Argument is incorrect: Expected `BlockSchemaFilterId | None`, found `dict[str, list[@Todo(list comprehension element type)]]`

src/prefect/server/models/events.py

[error] invalid-argument-type - :54:9 -
Old: Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `Resource`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :356:9 -
Old: Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `Resource`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :391:9 -
Old: Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `Resource`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :413:9 -
Old: Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `Resource`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/server/models/work_queues.py

[error] invalid-argument-type - :398:17 -
Old: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[str, dict[str, list[Unknown]]]`
New: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[str, dict[str, list[@Todo(list literal element type)]]]`
[error] invalid-argument-type - :416:13 -
Old: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[str, dict[str, list[Unknown]]]`
New: Argument is incorrect: Expected `FlowRunFilterState | None`, found `dict[str, dict[str, list[@Todo(list literal element type)]]]`
[error] invalid-argument-type - :485:54 -
Old: Argument is incorrect: Expected `FlowRunFilterStateName | None`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `FlowRunFilterStateName | None`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

src/prefect/server/schemas/schedules.py

[error] invalid-assignment - :593:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `_rrule` on type `rruleset & ~rrule`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `_rrule` on type `rruleset & ~rrule`
[error] invalid-assignment - :604:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `_exrule` on type `rruleset & ~rrule`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `_exrule` on type `rruleset & ~rrule`
[error] invalid-assignment - :610:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `_rdate` on type `rruleset & ~rrule`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `_rdate` on type `rruleset & ~rrule`
[error] invalid-assignment - :616:13 -
Old: Object of type `list[Unknown]` is not assignable to attribute `_exdate` on type `rruleset & ~rrule`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `_exdate` on type `rruleset & ~rrule`

src/prefect/utilities/templating.py

[error] invalid-return-type - :323:16 - Return type does not match returned value: expected `T@resolve_block_document_references | dict[str, Any]`, found `list[@Todo(list comprehension element type)]`
[error] invalid-return-type - :437:16 - Return type does not match returned value: expected `T@resolve_variables`, found `dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)]`
[error] invalid-return-type - :442:16 - Return type does not match returned value: expected `T@resolve_variables`, found `list[@Todo(list comprehension element type)]`

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

pwndbg/aglib/typeinfo.py

[error] invalid-assignment - :74:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `unsigned` on type `Unknown | ModuleType`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `unsigned` on type `Unknown | ModuleType`
[error] invalid-assignment - :85:5 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `signed` on type `Unknown | ModuleType`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `signed` on type `Unknown | ModuleType`

pwndbg/commands/killthreads.py

[error] not-iterable - :59:26 -
Old: Object of type `list[int] | None | @Todo(list comprehension type)` may not be iterable
New: Object of type `list[int] | None | list[@Todo(list comprehension element type)]` may not be iterable
[error] not-iterable - :72:62 -
Old: Object of type `list[int] | None | @Todo(list comprehension type)` may not be iterable
New: Object of type `list[int] | None | list[@Todo(list comprehension element type)]` may not be iterable

pwndbg/commands/plist.py

[error] invalid-argument-type - :395:33 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `list[int] | None | list[Unknown]`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `list[int] | None | list[@Todo(list literal element type)]`

pwndbg/dbg/gdb/__init__.py

[error] unsupported-operator - :1587:21 -
Old: Operator `-` is unsupported between objects of type `None | Unknown` and `None | Unknown`
New: Operator `-` is unsupported between objects of type `None | @Todo(list literal element type)` and `None | @Todo(list literal element type)`

pwndbg/dbg/lldb/__init__.py

[error] invalid-assignment - :1518:21 -
Old: Object of type `Unknown | None` is not assignable to `Type`
New: Object of type `@Todo(dict literal value type) | None` is not assignable to `Type`

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

src/_pytest/pytester.py

[error] invalid-assignment - :1140:13 -
Old: Object of type `int` is not assignable to attribute `ret` on type `Unknown | <class 'reprec'>`
New: Object of type `int` is not assignable to attribute `ret` on type `@Todo(list literal element type) | <class 'reprec'>`
[warning] possibly-unbound-attribute - :1145:25 -
Old: Attribute `getcalls` on type `Unknown | <class 'reprec'>` is possibly unbound
New: Attribute `getcalls` on type `@Todo(list literal element type) | <class 'reprec'>` is possibly unbound
[error] invalid-return-type - :1148:20 -
Old: Return type does not match returned value: expected `HookRecorder`, found `Unknown | <class 'reprec'>`
New: Return type does not match returned value: expected `HookRecorder`, found `@Todo(list literal element type) | <class 'reprec'>`

pywin32 (https://github.com/mhammond/pywin32)

com/win32com/demos/dump_clipboard.py

[error] invalid-argument-type - :31:33 -
Old: Argument to bound method `QueryGetData` is incorrect: Expected `PyFORMATETC`, found `tuple[Unknown, Unknown, Unknown, Unknown, @Todo(list comprehension type)]`
New: Argument to bound method `QueryGetData` is incorrect: Expected `PyFORMATETC`, found `tuple[Unknown, Unknown, Unknown, Unknown, @Todo(list comprehension element type)]`
[error] invalid-argument-type - :36:37 -
Old: Argument to bound method `GetData` is incorrect: Expected `PyFORMATETC`, found `tuple[Unknown, Unknown, Unknown, Unknown, @Todo(list comprehension type)]`
New: Argument to bound method `GetData` is incorrect: Expected `PyFORMATETC`, found `tuple[Unknown, Unknown, Unknown, Unknown, @Todo(list comprehension element type)]`

com/win32com/test/testShell.py

[error] invalid-argument-type - :85:45 -
Old: Argument to function `PIDLAsString` is incorrect: Expected `PyIDL`, found `list[Unknown]`
New: Argument to function `PIDLAsString` is incorrect: Expected `PyIDL`, found `list[@Todo(list literal element type)]`

com/win32com/test/util.py

[error] invalid-assignment - :196:5 -
Old: Object of type `list[Unknown]` is not assignable to attribute `emitted` on type `Handler | Unknown`
New: Object of type `list[@Todo(list literal element type)]` is not assignable to attribute `emitted` on type `Handler | Unknown`

com/win32comext/shell/demos/servers/shell_view.py

[error] invalid-argument-type - :87:38 -
Old: Argument to bound method `BindToObject` is incorrect: Expected `PyIDL`, found `list[Unknown]`
New: Argument to bound method `BindToObject` is incorrect: Expected `PyIDL`, found `list[@Todo(list literal element type)]`

com/win32comext/shell/test/testSHFileOperation.py

[error] invalid-argument-type - :35:13 -
Old: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, @Todo(list comprehension type), None, int]`
New: Argument to function `SHFileOperation` is incorrect: Expected `SHFILEOPSTRUCT`, found `tuple[Literal[0], int, @Todo(list comprehension element type), None, int]`

win32/Demos/desktopmanager.py

[error] invalid-argument-type - :49:9 -
Old: Argument to function `CreateDialogIndirect` is incorrect: Expected `PyDialogTemplate`, found `list[Unknown]`
New: Argument to function `CreateDialogIndirect` is incorrect: Expected `PyDialogTemplate`, found `list[@Todo(list literal element type)]`

win32/Demos/security/account_rights.py

[error] invalid-argument-type - :36:59 -
Old: Argument to function `LsaAddAccountRights` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), ...]`, found `list[Unknown]`
New: Argument to function `LsaAddAccountRights` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :43:65 -
Old: Argument to function `LsaRemoveAccountRights` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), ...]`, found `list[Unknown]`
New: Argument to function `LsaRemoveAccountRights` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), ...]`, found `list[@Todo(list literal element type)]`

win32/Demos/security/explicit_entries.py

[error] invalid-argument-type - :128:26 -
Old: Argument to bound method `SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[Unknown]`
New: Argument to bound method `SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :165:26 -
Old: Argument to bound method `SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[Unknown]`
New: Argument to bound method `SetEntriesInAcl` is incorrect: Expected `tuple[dict[str, int | dict[str, int | PySID]], ...]`, found `list[@Todo(list literal element type)]`

win32/Demos/security/setkernelobjectsecurity.py

[error] invalid-argument-type - :77:12 -
Old: Argument to function `AdjustTokenPrivileges` is incorrect: Expected `PyTOKEN_PRIVILEGES`, found `tuple[@Todo(generator type), ...]`
New: Argument to function `AdjustTokenPrivileges` is incorrect: Expected `PyTOKEN_PRIVILEGES`, found `tuple[Unknown, ...]`

win32/Demos/win32cred_demo.py

[error] invalid-argument-type - :73:13 -
Old: Argument to function `LoadUserProfile` is incorrect: Expected `PyPROFILEINFO`, found `dict[Unknown, Unknown]`
New: Argument to function `LoadUserProfile` is incorrect: Expected `PyPROFILEINFO`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

win32/Demos/win32gui_demo.py

[error] invalid-argument-type - :41:9 -
Old: Argument to function `SetWorldTransform` is incorrect: Expected `PyXFORM`, found `dict[Unknown, Unknown]`
New: Argument to function `SetWorldTransform` is incorrect: Expected `PyXFORM`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :101:35 -
Old: Argument to function `GradientFill` is incorrect: Expected `tuple[PyTRIVERTEX, ...]`, found `tuple[dict[Unknown, Unknown], dict[Unknown, Unknown], dict[Unknown, Unknown]]`
New: Argument to function `GradientFill` is incorrect: Expected `tuple[PyTRIVERTEX, ...]`, found `tuple[dict[@Todo(dict literal key type), @Todo(dict literal value type)], dict[@Todo(dict literal key type), @Todo(dict literal value type)], dict[@Todo(dict literal key type), @Todo(dict literal value type)]]`

win32/Demos/win32netdemo.py

[error] invalid-argument-type - :167:64 -
Old: Argument to function `NetLocalGroupAddMembers` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), @Todo(Support for `typing.TypeAlias`)]`, found `list[Unknown]`
New: Argument to function `NetLocalGroupAddMembers` is incorrect: Expected `tuple[@Todo(Support for `typing.TypeAlias`), @Todo(Support for `typing.TypeAlias`)]`, found `list[@Todo(list literal element type)]`

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

tests/test_console.py

[error] invalid-argument-type - :225:28 -
Old: Argument to bound method `print_json` is incorrect: Expected `str | None`, found `list[Unknown]`
New: Argument to bound method `print_json` is incorrect: Expected `str | None`, found `list[@Todo(list literal element type)]`

tests/test_highlighter.py

[error] invalid-argument-type - :19:21 -
Old: Argument to bound method `__call__` is incorrect: Expected `str | Text`, found `list[Unknown]`
New: Argument to bound method `__call__` is incorrect: Expected `str | Text`, found `list[@Todo(list literal element type)]`

tests/test_tools.py

[error] invalid-argument-type - :8:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :9:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :10:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :11:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :17:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :18:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :19:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :20:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :26:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :27:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :28:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, @Todo(list literal element type)]]`
[error] invalid-argument-type - :29:17 -
Old: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, Unknown]]`
New: Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, bool, @Todo(list literal element type)]]`

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

rotkehlchen/tests/db/test_db_upgrades.py

[error] invalid-argument-type - :3330:9 -
Old: Argument to function `sanity_check_impl` is incorrect: Expected `dict[str, str]`, found `Unknown | None | dict[Unknown, Unknown]`
New: Argument to function `sanity_check_impl` is incorrect: Expected `dict[str, str]`, found `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :3331:9 -
Old: Argument to function `sanity_check_impl` is incorrect: Expected `dict[str, str]`, found `Unknown | None | dict[Unknown, Unknown]`
New: Argument to function `sanity_check_impl` is incorrect: Expected `dict[str, str]`, found `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

rotkehlchen/tests/unit/test_blockchain_balances.py

[error] invalid-argument-type - :85:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :101:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

rotkehlchen/tests/unit/test_deserialization.py

[error] invalid-argument-type - :25:35 -
Old: Argument to function `deserialize_timestamp` is incorrect: Expected `int | float | str | FVal`, found `int | FVal | float | Literal["3.14", "5.23267356186572e+8"] | list[Unknown]`
New: Argument to function `deserialize_timestamp` is incorrect: Expected `int | float | str | FVal`, found `int | FVal | float | Literal["3.14", "5.23267356186572e+8"] | list[@Todo(list literal element type)]`

rotkehlchen/tests/unit/test_structures.py

[error] invalid-argument-type - :191:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :195:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :214:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :218:9 -
Old: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[Unknown, Unknown]`
New: Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

rotkehlchen/tests/utils/premium.py

[error] invalid-argument-type - :70:17 -
Old: Argument to bound method `__init__` is incorrect: Expected `str`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `str`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

src/schemathesis/pytest/lazy.py

[error] invalid-argument-type - :182:61 -
Old: Argument to function `get_fixtures` is incorrect: Expected `dict[str, Any]`, found `Unknown | dict[str, Any] | None | dict[Unknown, Unknown]`
New: Argument to function `get_fixtures` is incorrect: Expected `dict[str, Any]`, found `Unknown | dict[str, Any] | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

sklearn/_loss/tests/test_loss.py

[error] unsupported-operator - :318:13 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `float`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `float`
[error] unsupported-operator - :326:13 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `float`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `float`
[error] unsupported-operator - :334:13 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `float`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `float`
[error] unsupported-operator - :342:13 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `float`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `float`

sklearn/discriminant_analysis.py

[warning] possibly-unbound-attribute - :1032:17 -
Old: Attribute `append` on type `None | list[Unknown]` is possibly unbound
New: Attribute `append` on type `None | list[@Todo(list literal element type)]` is possibly unbound

sklearn/externals/_arff.py

[error] invalid-argument-type - :786:21 -
Old: Invalid argument to key "data" with declared type `Iterator[list[Unknown]] | tuple[list[Unknown], ...]` on TypedDict `ArffContainerType`: value of type `list[Unknown]`
New: Invalid argument to key "data" with declared type `Iterator[list[Unknown]] | tuple[list[Unknown], ...]` on TypedDict `ArffContainerType`: value of type `list[@Todo(list literal element type)]`

sklearn/feature_selection/_univariate_selection.py

[warning] possibly-unbound-attribute - :109:35 -
Old: Attribute `size` on type `int | float | @Todo(list comprehension type)` is possibly unbound
New: Attribute `size` on type `int | float | Unknown` is possibly unbound

sklearn/metrics/_plot/tests/test_confusion_matrix_display.py

[error] not-iterable - :87:58 -
Old: Object of type `list[Unknown] | None | list[int]` may not be iterable
New: Object of type `list[@Todo(list literal element type)] | None | list[int]` may not be iterable

sklearn/preprocessing/tests/test_data.py

[error] invalid-argument-type - :1606:21 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0]]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0]]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1608:25 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `tuple[slice[None, None, None], slice[Literal[1], None, None]]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `tuple[slice[None, None, None], slice[Literal[1], None, None]]` on object of type `list[@Todo(list literal element type)]`

sklearn/tests/test_docstring_parameters.py

[error] invalid-argument-type - :279:17 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `tuple[None, EllipsisType]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `tuple[None, EllipsisType]` on object of type `list[@Todo(list literal element type)]`

sklearn/utils/_testing.py

[error] unsupported-operator - :516:45 -
Old: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | list[Unknown] | (Unknown & ~None)`
New: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | list[@Todo(list literal element type)] | (Unknown & ~None)`
[error] unsupported-operator - :570:40 -
Old: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | list[Unknown] | (Unknown & ~None)`
New: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | list[@Todo(list literal element type)] | (Unknown & ~None)`

sklearn/utils/extmath.py

[error] no-matching-overload - :905:10 - No overload of function `indices` matches arguments

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

benchmarks/benchmarks/stats.py

[error] invalid-argument-type - :186:15 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `tuple[Unknown, Unknown]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `tuple[Unknown, Unknown]` on object of type `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :187:16 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `tuple[Unknown, slice[Literal[0], Literal[2], None]]` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `tuple[Unknown, slice[Literal[0], Literal[2], None]]` on object of type `list[@Todo(list literal element type)]`

scipy/_lib/_array_api.py

[warning] possibly-unbound-implicit-call - :776:9 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown] | (Unknown & ~None)` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)] | (Unknown & ~None)` is possibly unbound

scipy/_lib/_array_api_docs_tables.py

[error] invalid-assignment - :215:9 -
Old: Object of type `Unknown | dict[Unknown, Unknown]` is not assignable to `list[str] | None`
New: Object of type `Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to `list[str] | None`
[error] invalid-return-type - :263:16 -
Old: Return type does not match returned value: expected `dict[str, tuple[dict[str, str], bool]]`, found `list[Unknown]`
New: Return type does not match returned value: expected `dict[str, tuple[dict[str, str], bool]]`, found `list[@Todo(list literal element type)]`

scipy/_lib/deprecation.py

[error] unsupported-operator - :237:33 -
Old: Operator `-` is unsupported between objects of type `set[Unknown]` and `Unknown | None | set[Unknown]`
New: Operator `-` is unsupported between objects of type `set[@Todo(list literal element type)]` and `Unknown | None | set[Unknown]`
[error] unsupported-operator - :254:29 -
Old: Operator `-` is unsupported between objects of type `set[Unknown]` and `Unknown | None | set[Unknown]`
New: Operator `-` is unsupported between objects of type `set[@Todo(list literal element type)]` and `Unknown | None | set[Unknown]`

scipy/differentiate/_differentiate.py

[error] unsupported-operator - :1125:32 -
Old: Operator `/` is unsupported between objects of type `Unknown | None | (Unknown & ~None)` and `Literal[100]`
New: Operator `/` is unsupported between objects of type `@Todo(dict literal value type) | None | (@Todo(dict literal value type) & ~None)` and `Literal[100]`

scipy/fft/_pocketfft/tests/test_real_transforms.py

[warning] possibly-unbound-attribute - :65:9 - Attribute `close` on type `Any | dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)]` is possibly unbound

scipy/integrate/_ivp/ivp.py

[error] not-iterable - :734:46 -
Old: Object of type `@Todo(list comprehension type) | None` may not be iterable
New: Object of type `list[@Todo(list comprehension element type)] | None` may not be iterable

scipy/integrate/_quad_vec.py

[error] invalid-argument-type - :383:48 -
Old: Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | Unknown`
New: Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | @Todo(dict literal value type)`
[error] invalid-argument-type - :419:52 -
Old: Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | Unknown`
New: Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | @Todo(dict literal value type)`

scipy/odr/_odrpack.py

[error] unsupported-operator - :1006:21 -
Old: Operator `*` is unsupported between objects of type `Unknown | None` and `Literal[10000]`
New: Operator `*` is unsupported between objects of type `@Todo(list literal element type) | None` and `Literal[10000]`
[error] unsupported-operator - :1006:38 -
Old: Operator `*` is unsupported between objects of type `Unknown | None` and `Literal[1000]`
New: Operator `*` is unsupported between objects of type `@Todo(list literal element type) | None` and `Literal[1000]`
[error] unsupported-operator - :1007:21 -
Old: Operator `*` is unsupported between objects of type `Unknown | None` and `Literal[100]`
New: Operator `*` is unsupported between objects of type `@Todo(list literal element type) | None` and `Literal[100]`
[error] unsupported-operator - :1007:36 -
Old: Operator `*` is unsupported between objects of type `Unknown | None` and `Literal[10]`
New: Operator `*` is unsupported between objects of type `@Todo(list literal element type) | None` and `Literal[10]`
[error] unsupported-operator - :1083:48 -
Old: Operator `*` is unsupported between objects of type `Unknown | None` and `Literal[10]`
New: Operator `*` is unsupported between objects of type `@Todo(list literal element type) | None` and `Literal[10]`

scipy/optimize/_shgo.py

[warning] possibly-unbound-implicit-call - :511:17 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

scipy/sparse/_coo.py

[warning] possibly-unbound-implicit-call - :1530:9 -
Old: Method `__setitem__` of type `list[Unknown] | tuple[Unknown, ...] | @Todo(slice into variable-length tuple)` is possibly unbound
New: Method `__setitem__` of type `list[Unknown] | tuple[@Todo(list literal element type), ...] | @Todo(slice into variable-length tuple)` is possibly unbound
[warning] possibly-unbound-implicit-call - :1534:13 -
Old: Method `__setitem__` of type `list[Unknown] | tuple[Unknown, ...] | @Todo(slice into variable-length tuple)` is possibly unbound
New: Method `__setitem__` of type `list[Unknown] | tuple[@Todo(list literal element type), ...] | @Todo(slice into variable-length tuple)` is possibly unbound

scipy/stats/_qmc.py

[error] invalid-return-type - :683:12 -
Old: Return type does not match returned value: expected `list[int]`, found `list[Unknown] | ndarray[@Todo(Support for `typing.TypeAlias`), Unknown]`
New: Return type does not match returned value: expected `list[int]`, found `list[@Todo(list literal element type)] | ndarray[@Todo(Support for `typing.TypeAlias`), Unknown]`

scipy/stats/tests/test_morestats.py

[error] invalid-argument-type - :388:18 -
Old: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `Literal["gumbel_l"] | Unknown` on object of type `list[Unknown]`
New: Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list literal element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list literal element type)]]` cannot be called with key of type `Literal["gumbel_l"] | Unknown` on object of type `list[@Todo(list literal element type)]`

scipy/stats/tests/test_sampling.py

[error] invalid-argument-type - :862:46 -
Old: Argument to bound method `__init__` is incorrect: Expected `None | tuple[int | float, int | float]`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `None | tuple[int | float, int | float]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :870:46 -
Old: Argument to bound method `__init__` is incorrect: Expected `None | tuple[int | float, int | float]`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `None | tuple[int | float, int | float]`, found `list[@Todo(list literal element type)]`

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

tests/test_downloadermiddleware_httpproxy.py

[error] invalid-assignment - :29:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `environ` of type `_Environ[str]`
New: Object of type `dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is not assignable to attribute `environ` of type `_Environ[str]`

tests/test_feedexport.py

[error] invalid-argument-type - :238:77 -
Old: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bool`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

tests/test_utils_datatypes.py

[error] invalid-argument-type - :281:29 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Any]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Any]`, found `set[@Todo(set literal element type)]`

tests/test_utils_misc/__init__.py

[error] invalid-argument-type - :39:25 -
Old: Argument to function `load_object` is incorrect: Expected `str | ((...) -> Any)`, found `dict[Unknown, Unknown]`
New: Argument to function `load_object` is incorrect: Expected `str | ((...) -> Any)`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

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

sockeye/data_io.py

[error] invalid-argument-type - :506:28 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :508:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :513:21 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :517:21 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :519:17 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :522:13 - Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> @Todo(list comprehension element type), (s: slice[Any, Any, Any], /) -> list[@Todo(list comprehension element type)]]` cannot be called with key of type `int | None` on object of type `list[@Todo(list comprehension element type)]`

sockeye/inference.py

[error] invalid-argument-type - :350:50 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~list[Unknown]) | None | @Todo(list comprehension type)`
New: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~list[Unknown]) | None | list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :352:34 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~list[Unknown]) | None | @Todo(list comprehension type)`
New: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~list[Unknown]) | None | list[@Todo(list comprehension element type)]`

sockeye/output_handler.py

[error] invalid-argument-type - :254:80 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `list[Any] | None`
New: Argument to function `__new__` is incorrect: Expected `Iterable[@Todo(list literal element type)]`, found `list[Any] | None`

sockeye/test_utils.py

[error] not-iterable - :105:101 -
Old: Object of type `None | @Todo(list comprehension type)` may not be iterable
New: Object of type `None | list[@Todo(list comprehension element type)]` may not be iterable
[error] invalid-argument-type - :224:34 -
Old: Argument to function `generate_json_input_file_with_tgt_prefix` is incorrect: Expected `list[str]`, found `None | Unknown | list[Unknown]`
New: Argument to function `generate_json_input_file_with_tgt_prefix` is incorrect: Expected `list[str]`, found `None | @Todo(dict literal value type) | list[@Todo(list literal element type)]`

test/unit/test_data_io.py

[error] invalid-return-type - :313:12 -
Old: Return type does not match returned value: expected `tuple[list[Unknown], list[Unknown], list[Unknown]]`, found `tuple[@Todo(list comprehension type), @Todo(list comprehension type), @Todo(list comprehension type) | None]`
New: Return type does not match returned value: expected `tuple[list[Unknown], list[Unknown], list[Unknown]]`, found `tuple[list[@Todo(list comprehension element type)], list[@Todo(list comprehension element type)], list[@Todo(list comprehension element type)] | None]`

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

sphinx/domains/cpp/_parser.py

[error] invalid-argument-type - :2106:38 - Argument to bound method `extend` is incorrect: Expected `Iterable[@Todo(list comprehension element type)]`, found `Unknown | list[ASTTemplateParams | ASTTemplateIntroduction] | None`

sphinx/domains/cpp/_symbol.py

[error] invalid-return-type - :1183:20 -
Old: Return type does not match returned value: expected `tuple[list[Symbol] | None, str]`, found `tuple[list[Unknown], None]`
New: Return type does not match returned value: expected `tuple[list[Symbol] | None, str]`, found `tuple[list[@Todo(list literal element type)], None]`

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

static_frame/core/frame.py

[warning] possibly-unbound-attribute - :2022:25 -
Old: Attribute `append` on type `None | list[Unknown] | @Todo(list comprehension type)` is possibly unbound
New: Attribute `append` on type `None | list[@Todo(list literal element type)]` is possibly unbound

static_frame/core/store_xlsx.py

[warning] unused-ignore-comment - :532:88 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_protocol_dfi.py

[error] invalid-argument-type - :382:46 - Argument to bound method `select_columns_by_name` is incorrect: Expected `Sequence[str]`, found `GeneratorType[@Todo(generator expression yield type), @Todo(generator expression send type), @Todo(generator expression return type)]`

static_frame/test/unit/test_type_clinic.py

[error] invalid-argument-type - :2383:35 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :2395:30 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :2395:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :2475:30 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[@Todo(set literal element type)]`
[error] invalid-argument-type - :2475:42 -
Old: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `Sequence[Unknown]`, found `set[@Todo(set literal element type)]`

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

stone/backends/python_rsrc/stone_validators.py

[error] invalid-exception-caught - :714:16 -
Old: Cannot catch object of type `list[Unknown]` in an exception handler (must be a `BaseException` subclass or a tuple of `BaseException` subclasses)
New: Cannot catch object of type `list[@Todo(list literal element type)]` in an exception handler (must be a `BaseException` subclass or a tuple of `BaseException` subclasses)

test/test_backend.py

[warning] possibly-unbound-attribute - :373:29 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :374:29 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :376:17 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :380:17 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :469:30 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :471:22 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :495:30 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound
[warning] possibly-unbound-attribute - :497:17 - Attribute `fields` on type `@Todo(dict comprehension value type) | None` is possibly unbound

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

sympy/ntheory/tests/test_residue.py

[error] unsupported-operator - :307:54 - Operator `**` is unsupported between objects of type `set[@Todo(set comprehension element type)] | Symbol` and `set[@Todo(set comprehension element type)] | Symbol`
[error] unsupported-operator - :308:54 - Operator `**` is unsupported between objects of type `set[@Todo(set comprehension element type)] | Symbol` and `int | Symbol`
[error] unsupported-operator - :309:58 - Operator `**` is unsupported between objects of type `set[@Todo(set comprehension element type)] | Symbol` and `Literal[2]`

sympy/polys/numberfields/galois_resolvents.py

[error] invalid-argument-type - :445:20 - Argument to function `symbols` is incorrect: Expected `str`, found `list[@Todo(list comprehension element type)]`

sympy/assumptions/cnf.py

[warning] possibly-unbound-attribute - :404:30 -
Old: Attribute `keys` on type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Attribute `keys` on type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

sympy/calculus/finite_diff.py

[error] invalid-argument-type - :400:12 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | Literal[1]`
New: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | Literal[1] | list[@Todo(list comprehension element type)]`
[error] not-iterable - :404:14 -
Old: Object of type `Unknown | Literal[1]` may not be iterable
New: Object of type `Unknown | Literal[1] | list[@Todo(list comprehension element type)]` may not be iterable

sympy/combinatorics/tests/test_permutations.py

[error] invalid-argument-type - :136:16 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | list[Unknown]`
New: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | list[@Todo(list literal element type)]`
[error] unsupported-operator - :439:31 -
Old: Operator `*` is unsupported between objects of type `Cycle` and `dict[Unknown, Unknown]`
New: Operator `*` is unsupported between objects of type `Cycle` and `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

sympy/core/mul.py

[error] unsupported-operator - :1909:25 -
Old: Operator `-=` is unsupported between objects of type `Infinity & ~AlwaysFalsy` and `(Unknown & ~AlwaysFalsy) | Literal[1]`
New: Operator `-=` is unsupported between objects of type `Infinity & ~AlwaysFalsy` and `(@Todo(list literal element type) & ~AlwaysFalsy) | Literal[1]`

sympy/core/power.py

[error] invalid-argument-type - :1505:48 -
Old: Argument to function `symbols` is incorrect: Expected `int`, found `list[Unknown]`
New: Argument to function `symbols` is incorrect: Expected `int`, found `list[@Todo(list literal element type)]`

sympy/core/tests/test_expr.py

[error] invalid-argument-type - :1697:43 -
Old: Argument to bound method `has_xfree` is incorrect: Expected `set[Basic]`, found `list[Unknown]`
New: Argument to bound method `has_xfree` is incorrect: Expected `set[Basic]`, found `list[@Todo(list literal element type)]`

sympy/core/tests/test_function.py

[error] invalid-argument-type - :1053:18 - Argument to function `symbols` is incorrect: Expected `str`, found `list[@Todo(list comprehension element type)]`

sympy/core/tests/test_symbol.py

[error] invalid-argument-type - :247:20 -
Old: Argument to function `symbols` is incorrect: Expected `str`, found `list[Unknown]`
New: Argument to function `symbols` is incorrect: Expected `str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :248:20 -
Old: Argument to function `symbols` is incorrect: Expected `str`, found `set[Unknown]`
New: Argument to function `symbols` is incorrect: Expected `str`, found `set[@Todo(set literal element type)]`

sympy/external/tests/test_autowrap.py

[warning] possibly-unbound-attribute - :272:5 -
Old: Attribute `append` on type `Unknown | None | list[Unknown]` is possibly unbound
New: Attribute `append` on type `Unknown | None | list[@Todo(list literal element type)]` is possibly unbound

sympy/holonomic/holonomic.py

[error] not-iterable - :681:18 -
Old: Object of type `None | dict[Unknown, Unknown] | Unknown` may not be iterable
New: Object of type `None | dict[@Todo(dict literal key type), @Todo(dict literal value type)] | Unknown` may not be iterable
[error] unsupported-operator - :684:16 -
Old: Operator `in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `None | Unknown | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `@Todo(dict literal key type)` and `None`, in comparing `@Todo(dict literal key type)` with `None | Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] not-iterable - :688:18 -
Old: Object of type `None | Unknown | dict[Unknown, Unknown]` may not be iterable
New: Object of type `None | Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` may not be iterable
[error] unsupported-operator - :689:16 -
Old: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `None | dict[Unknown, Unknown] | Unknown`
New: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `None | dict[@Todo(dict literal key type), @Todo(dict literal value type)] | Unknown`
[error] not-iterable - :1054:18 -
Old: Object of type `None | dict[Unknown, Unknown] | Unknown` may not be iterable
New: Object of type `None | dict[@Todo(dict literal key type), @Todo(dict literal value type)] | Unknown` may not be iterable
[error] not-iterable - :1055:22 -
Old: Object of type `None | Unknown | dict[Unknown, Unknown]` may not be iterable
New: Object of type `None | Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` may not be iterable

sympy/integrals/laplace.py

[error] invalid-argument-type - :216:45 -
Old: Argument to function `symbols` is incorrect: Expected `int`, found `list[Unknown]`
New: Argument to function `symbols` is incorrect: Expected `int`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2337:44 -
Old: Argument to function `symbols` is incorrect: Expected `int`, found `list[Unknown]`
New: Argument to function `symbols` is incorrect: Expected `int`, found `list[@Todo(list literal element type)]`

sympy/integrals/prde.py

[error] unsupported-operator - :164:10 -
Old: Operator `**` is unsupported between objects of type `Poly` and `int | Unknown`
New: Operator `**` is unsupported between objects of type `Poly` and `int | @Todo(generator expression yield type)`

sympy/logic/algorithms/dpll2.py

[error] unsupported-operator - :44:8 -
Old: Operator `in` is not supported for types `set[Unknown]` and `None`, in comparing `set[Unknown]` with `Unknown | None | list[Unknown]`
New: Operator `in` is not supported for types `set[@Todo(set literal element type)]` and `None`, in comparing `set[@Todo(set literal element type)]` with `Unknown | None | list[@Todo(list literal element type)]`
[error] unsupported-operator - :54:24 -
Old: Operator `+` is unsupported between objects of type `Unknown | None | list[Unknown]` and `Unknown | list[Unknown]`
New: Operator `+` is unsupported between objects of type `Unknown | None | list[@Todo(list literal element type)]` and `Unknown | list[@Todo(list literal element type)]`

sympy/logic/algorithms/minisat22_wrapper.py

[error] unsupported-operator - :13:8 -
Old: Operator `in` is not supported for types `set[Unknown]` and `None`, in comparing `set[Unknown]` with `Unknown | None | list[Unknown]`
New: Operator `in` is not supported for types `set[@Todo(set literal element type)]` and `None`, in comparing `set[@Todo(set literal element type)]` with `Unknown | None | list[@Todo(list literal element type)]`

sympy/logic/algorithms/pycosat_wrapper.py

[error] unsupported-operator - :12:8 -
Old: Operator `in` is not supported for types `set[Unknown]` and `None`, in comparing `set[Unknown]` with `Unknown | None | list[Unknown]`
New: Operator `in` is not supported for types `set[@Todo(set literal element type)]` and `None`, in comparing `set[@Todo(set literal element type)]` with `Unknown | None | list[@Todo(list literal element type)]`

sympy/logic/tests/test_lra_theory.py

[error] not-iterable - :173:50 -
Old: Object of type `Unknown | None | list[Unknown]` may not be iterable
New: Object of type `Unknown | None | list[@Todo(list literal element type)]` may not be iterable
[error] not-iterable - :180:35 -
Old: Object of type `Unknown | None | list[Unknown]` may not be iterable
New: Object of type `Unknown | None | list[@Todo(list literal element type)]` may not be iterable

sympy/matrices/common.py

[error] invalid-argument-type - :3078:24 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~FunctionType) | None | @Todo(list comprehension type)`
New: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~FunctionType) | None | list[@Todo(list comprehension element type)] | Unknown`
[error] not-iterable - :3079:31 -
Old: Object of type `(Unknown & ~FunctionType) | None | @Todo(list comprehension type)` may not be iterable
New: Object of type `(Unknown & ~FunctionType) | None | list[@Todo(list comprehension element type)] | Unknown` may not be iterable
[error] not-iterable - :3082:52 -
Old: Object of type `(Unknown & ~FunctionType) | None | @Todo(list comprehension type)` may not be iterable
New: Object of type `(Unknown & ~FunctionType) | None | list[@Todo(list comprehension element type)] | Unknown` may not be iterable

sympy/matrices/solvers.py

[error] unresolved-attribute - :631:12 - Type `list[@Todo(list comprehension element type)]` has no attribute `reshape`

sympy/matrices/tests/test_commonmatrix.py

[error] unsupported-operator - :814:31 -
Old: Operator `*` is unsupported between objects of type `ArithmeticOnlyMatrix` and `dict[Unknown, Unknown]`
New: Operator `*` is unsupported between objects of type `ArithmeticOnlyMatrix` and `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] unsupported-operator - :1203:31 -
Old: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `list[Unknown]`
New: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `list[@Todo(list literal element type)]`
[error] unsupported-operator - :1204:31 -
Old: Operator `*` is unsupported between objects of type `list[Unknown]` and `Unknown | MutableDenseMatrix`
New: Operator `*` is unsupported between objects of type `list[@Todo(list literal element type)]` and `Unknown | MutableDenseMatrix`

sympy/matrices/tests/test_matrices.py

[error] invalid-argument-type - :1937:51 -
Old: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[Unknown]`
New: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :1939:51 -
Old: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[Unknown]`
New: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2038:17 -
Old: Argument to bound method `diff` is incorrect: Expected `Expr | int | tuple[Expr, int]`, found `list[Unknown]`
New: Argument to bound method `diff` is incorrect: Expected `Expr | int | tuple[Expr, int]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2364:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2365:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2366:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`

sympy/matrices/tests/test_matrixbase.py

[error] unsupported-operator - :771:31 -
Old: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `list[Unknown]`
New: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `list[@Todo(list literal element type)]`
[error] unsupported-operator - :772:31 -
Old: Operator `*` is unsupported between objects of type `list[Unknown]` and `Unknown | MutableDenseMatrix`
New: Operator `*` is unsupported between objects of type `list[@Todo(list literal element type)]` and `Unknown | MutableDenseMatrix`
[error] unsupported-operator - :957:31 -
Old: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `dict[Unknown, Unknown]`
New: Operator `*` is unsupported between objects of type `Unknown | MutableDenseMatrix` and `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :2667:51 -
Old: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[Unknown]`
New: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2669:51 -
Old: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[Unknown]`
New: Argument to bound method `dot` is incorrect: Expected `MatrixBase | Expr`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :2766:17 -
Old: Argument to bound method `diff` is incorrect: Expected `Expr | int | tuple[Expr, int]`, found `list[Unknown]`
New: Argument to bound method `diff` is incorrect: Expected `Expr | int | tuple[Expr, int]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :3068:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :3069:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :3070:37 -
Old: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[Unknown]`
New: Argument to bound method `from_axis_angle` is incorrect: Expected `tuple[Unknown, Unknown, Unknown]`, found `list[@Todo(list literal element type)]`

sympy/ntheory/qs.py

[error] not-iterable - :136:20 -
Old: Object of type `None | list[Unknown]` may not be iterable
New: Object of type `None | list[@Todo(list literal element type)]` may not be iterable

sympy/ntheory/tests/test_factor_.py

[error] unsupported-operator - :346:31 -
Old: Operator `**` is unsupported between objects of type `int | Unknown | dict[Unknown, Unknown]` and `Literal[3]`
New: Operator `**` is unsupported between objects of type `int | Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` and `Literal[3]`
[error] unsupported-operator - :347:31 -
Old: Operator `*` is unsupported between objects of type `Literal[2]` and `int | Unknown | dict[Unknown, Unknown]`
New: Operator `*` is unsupported between objects of type `Literal[2]` and `int | Unknown | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

sympy/parsing/tests/test_sympy_parser.py

[error] invalid-argument-type - :70:51 -
Old: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :70:55 -
Old: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :71:47 -
Old: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :71:51 -
Old: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :72:47 -
Old: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `dict[str, Any] | None`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :72:51 -
Old: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[Unknown]`
New: Argument to function `parse_expr` is incorrect: Expected `tuple[@Todo(Inference of subscript on special form), ...] | str`, found `list[@Todo(list literal element type)]`

sympy/physics/mechanics/models.py

[warning] possibly-unbound-attribute - :210:13 -
Old: Attribute `append` on type `list[Unknown] | None` is possibly unbound
New: Attribute `append` on type `list[@Todo(list literal element type)] | None` is possibly unbound
[warning] possibly-unbound-attribute - :225:9 -
Old: Attribute `append` on type `list[Unknown] | None` is possibly unbound
New: Attribute `append` on type `list[@Todo(list literal element type)] | None` is possibly unbound

sympy/polys/distributedmodules.py

[error] non-subscriptable - :643:22 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[error] non-subscriptable - :644:22 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[warning] possibly-unbound-attribute - :656:9 - Attribute `append` on type `list[@Todo(list literal element type)] | set[@Todo(set comprehension element type)]` is possibly unbound
[error] non-subscriptable - :665:48 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[error] non-subscriptable - :666:48 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[error] non-subscriptable - :673:64 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[error] non-subscriptable - :674:52 - Cannot subscript object of type `set[@Todo(set comprehension element type)]` with no `__getitem__` method
[warning] possibly-unbound-attribute - :524:17 -
Old: Attribute `append` on type `list[Unknown] | repeat[list[Unknown]]` is possibly unbound
New: Attribute `append` on type `list[Unknown] | repeat[list[@Todo(list literal element type)]]` is possibly unbound

sympy/polys/matrices/tests/test_domainmatrix.py

[error] unsupported-operator - :450:31 -
Old: Operator `+` is unsupported between objects of type `list[Unknown]` and `DomainMatrix`
New: Operator `+` is unsupported between objects of type `list[@Todo(list literal element type)]` and `DomainMatrix`
[error] unsupported-operator - :489:31 -
Old: Operator `-` is unsupported between objects of type `list[Unknown]` and `DomainMatrix`
New: Operator `-` is unsupported between objects of type `list[@Todo(list literal element type)]` and `DomainMatrix`
[warning] possibly-unbound-attribute - :1058:33 -
Old: Attribute `lu` on type `DomainMatrix | list[Unknown]` is possibly unbound
New: Attribute `lu` on type `DomainMatrix | list[@Todo(list literal element type)]` is possibly unbound

sympy/polys/polyfuncs.py

[error] unsupported-operator - :84:20 -
Old: Operator `+` is unsupported between objects of type `list[Unknown] | Unknown` and `tuple[@Todo(list comprehension type)]`
New: Operator `+` is unsupported between objects of type `list[@Todo(list literal element type)] | @Todo(list literal element type)` and `tuple[list[@Todo(list comprehension element type)]]`

sympy/polys/tests/test_densearith.py

[error] invalid-argument-type - :1076:23 -
Old: Argument to function `dup_expand` is incorrect: Expected `list[@Todo(unknown type subscript)]`, found `tuple[list[Unknown], list[Unknown], list[Unknown]]`
New: Argument to function `dup_expand` is incorrect: Expected `list[@Todo(unknown type subscript)]`, found `tuple[list[@Todo(list literal element type)], list[@Todo(list literal element type)], list[@Todo(list literal element type)]]`
[error] invalid-argument-type - :1082:23 -
Old: Argument to function `dmp_expand` is incorrect: Expected `list[@Todo(unknown type subscript)]`, found `tuple[list[Unknown], list[Unknown], list[Unknown]]`
New: Argument to function `dmp_expand` is incorrect: Expected `list[@Todo(unknown type subscript)]`, found `tuple[list[@Todo(list literal element type)], list[@Todo(list literal element type)], list[@Todo(list literal element type)]]`

sympy/polys/tests/test_densebasic.py

[error] invalid-argument-type - :670:53 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :672:50 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :673:50 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :676:42 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :679:42 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :681:42 -
Old: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown]`
New: Argument to function `dmp_apply_pairs` is incorrect: Expected `tuple[Any, ...]`, found `list[@Todo(list literal element type)]`

sympy/series/order.py

[warning] possibly-unbound-attribute - :209:45 -
Old: Attribute `items` on type `@Todo(dict comprehension type) | tuple[()]` is possibly unbound
New: Attribute `items` on type `dict[@Todo(dict comprehension key type), @Todo(dict comprehension value type)] | tuple[()]` is possibly unbound

sympy/simplify/cse_main.py

[error] unsupported-operator - :641:16 -
Old: Operator `in` is not supported for types `Unknown` and `None`, in comparing `(Unknown & Basic & ~RootOf & ~MatrixSymbol & ~MatrixElement) | (Unknown & Unevaluated & ~RootOf & ~MatrixSymbol & ~MatrixElement)` with `Unknown | None | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `Unknown` and `None`, in comparing `(Unknown & Basic & ~RootOf & ~MatrixSymbol & ~MatrixElement) | (Unknown & Unevaluated & ~RootOf & ~MatrixSymbol & ~MatrixElement)` with `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] unsupported-operator - :676:12 -
Old: Operator `in` is not supported for types `Unknown` and `None`, in comparing `(Unknown & Basic) | (Unknown & Unevaluated)` with `Unknown | None | dict[Unknown, Unknown]`
New: Operator `in` is not supported for types `Unknown` and `None`, in comparing `(Unknown & Basic) | (Unknown & Unevaluated)` with `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]`

sympy/simplify/hyperexpand.py

[error] unsupported-operator - :1887:15 -
Old: Operator `*` is unsupported between objects of type `list[Unknown]` and `int | NegativeInfinity`
New: Operator `*` is unsupported between objects of type `list[@Todo(list literal element type)]` and `int | NegativeInfinity`

sympy/simplify/ratsimp.py

[error] invalid-argument-type - :98:33 -
Old: Argument to function `monomial_div` is incorrect: Expected `tuple[int, ...]`, found `list[Unknown]`
New: Argument to function `monomial_div` is incorrect: Expected `tuple[int, ...]`, found `list[@Todo(list literal element type)]`

sympy/simplify/simplify.py

[error] unsupported-operator - :1937:27 - Operator `+` is unsupported between objects of type `tuple[@Todo(Subscript expressions on intersections) | int]` and `Unknown | list[@Todo(list comprehension element type)]`

sympy/solvers/decompogen.py

[error] unsupported-operator - :73:16 -
Old: Operator `+` is unsupported between objects of type `list[Unknown]` and `None | Unknown`
New: Operator `+` is unsupported between objects of type `list[@Todo(list literal element type)]` and `None | Unknown`

sympy/solvers/ode/ode.py

[warning] possibly-unbound-attribute - :1658:8 -
Old: Attribute `lhs` on type `Unknown | list[Unknown]` is possibly unbound
New: Attribute `lhs` on type `Unknown | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :1658:31 -
Old: Attribute `rhs` on type `Unknown | list[Unknown]` is possibly unbound
New: Attribute `rhs` on type `Unknown | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :1665:46 -
Old: Attribute `atoms` on type `Unknown | list[Unknown]` is possibly unbound
New: Attribute `atoms` on type `Unknown | list[@Todo(list literal element type)]` is possibly unbound

sympy/solvers/simplex.py

[error] unsupported-operator - :1068:77 -
Old: Operator `*` is unsupported between objects of type `None | @Todo(list comprehension type)` and `Unknown | MutableDenseMatrix`
New: Operator `*` is unsupported between objects of type `None | @Todo(list comprehension element type)` and `Unknown | MutableDenseMatrix`
[error] invalid-argument-type - :1068:84 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `None | @Todo(list comprehension type)`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `None | @Todo(list comprehension element type)`

sympy/solvers/tests/test_pde.py

[error] invalid-argument-type - :108:16 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - :129:22 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - :137:16 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - :163:16 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - :201:16 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`
[error] invalid-argument-type - :215:16 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Function'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Function'>`

sympy/stats/stochastic_process_types.py

[error] invalid-argument-type - :1097:50 -
Old: Argument to function `__new__` is incorrect: Expected `(Unknown, /) -> Unknown`, found `<class 'Integer'>`
New: Argument to function `__new__` is incorrect: Expected `(@Todo(list literal element type), /) -> Unknown`, found `<class 'Integer'>`

sympy/testing/runtests.py

[error] invalid-argument-type - :984:31 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None | list[@Todo(list comprehension element type)]`
[error] invalid-argument-type - :989:33 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None`
New: Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | list[@Todo(list comprehension element type)]`

sympy/testing/tests/diagnose_imports.py

[error] invalid-argument-type - :153:50 -
Old: Argument to function `__import__` is incorrect: Expected `Mapping[str, object] | None`, found `Unknown | list[Unknown]`
New: Argument to function `__import__` is incorrect: Expected `Mapping[str, object] | None`, found `Unknown | list[@Todo(list literal element type)]`

sympy/utilities/autowrap.py

[error] unsupported-operator - :688:54 -
Old: Operator `+` is unsupported between objects of type `list[Unknown] | Unknown | None` and `list[Unknown]`
New: Operator `+` is unsupported between objects of type `list[Unknown] | Unknown | None` and `list[@Todo(list literal element type)]`

sympy/utilities/codegen.py

[error] unsupported-operator - :1780:19 - Operator `-` is unsupported between objects of type `set[Basic]` and `set[<class 'Indexed'>]`

sympy/utilities/iterables.py

[error] unsupported-operator - :2034:12 -
Old: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | (Unknown & ~AlwaysFalsy) | list[Unknown]`
New: Operator `not in` is not supported for types `Unknown` and `None`, in comparing `Unknown` with `Unknown | None | (Unknown & ~AlwaysFalsy) | list[@Todo(list literal element type)]`
[warning] possibly-unbound-attribute - :2037:13 -
Old: Attribute `append` on type `Unknown | None | (Unknown & ~AlwaysFalsy) | list[Unknown]` is possibly unbound
New: Attribute `append` on type `Unknown | None | (Unknown & ~AlwaysFalsy) | list[@Todo(list literal element type)]` is possibly unbound

sympy/utilities/lambdify.py

[warning] possibly-unbound-implicit-call - :1238:13 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound
[warning] possibly-unbound-implicit-call - :1241:17 -
Old: Method `__setitem__` of type `Unknown | None | dict[Unknown, Unknown]` is possibly unbound
New: Method `__setitem__` of type `Unknown | None | dict[@Todo(dict literal key type), @Todo(dict literal value type)]` is possibly unbound

sympy/utilities/tests/test_codegen.py

[warning] possibly-unbound-attribute - :1558:5 -
Old: Attribute `append` on type `Unknown | None | list[Unknown]` is possibly unbound
New: Attribute `append` on type `Unknown | None | list[@Todo(list literal element type)]` is possibly unbound

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

src/trio/_core/_run.py

[error] invalid-argument-type - :2685:48 -
Old: Argument is incorrect: Expected `bool`, found `@Todo(Support for `typing.TypeAlias`) | list[Unknown]`
New: Argument is incorrect: Expected `bool`, found `@Todo(Support for `typing.TypeAlias`) | list[@Todo(list literal element type)]`

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

src/typeshed_stats/gather.py

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

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

setup.py

[warning] possibly-unbound-attribute - :288:20 -
Old: Attribute `copy` on type `Unknown | str | list[str] | list[Unknown]` is possibly unbound
New: Attribute `copy` on type `Unknown | str | list[str] | list[@Todo(list literal element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :289:20 -
Old: Attribute `copy` on type `Unknown | str | list[str] | list[Unknown]` is possibly unbound
New: Attribute `copy` on type `Unknown | str | list[str] | list[@Todo(list literal element type)]` is possibly unbound
[error] unsupported-operator - :413:32 -
Old: Operator `+` is unsupported between objects of type `list[Unknown]` and `Unknown | str | list[str] | list[Unknown]`
New: Operator `+` is unsupported between objects of type `list[@Todo(list literal element type)]` and `Unknown | str | list[str] | list[@Todo(list literal element type)]`
[error] unsupported-operator - :503:30 -
Old: Operator `+` is unsupported between objects of type `list[Unknown]` and `Unknown | str | list[str] | list[Unknown]`
New: Operator `+` is unsupported between objects of type `list[@Todo(list literal element type)]` and `Unknown | str | list[str] | list[@Todo(list literal element type)]`

test/test_transforms.py

[error] invalid-argument-type - :1258:34 -
Old: Argument to function `rotate` is incorrect: Expected `list[int | float] | None`, found `tuple[Unknown, ...]`
New: Argument to function `rotate` is incorrect: Expected `list[int | float] | None`, found `tuple[@Todo(list literal element type), ...]`
[error] invalid-argument-type - :1929:57 -
Old: Argument to function `perspective` is incorrect: Expected `list[int | float] | None`, found `tuple[Unknown, ...]`
New: Argument to function `perspective` is incorrect: Expected `list[int | float] | None`, found `tuple[@Todo(list literal element type), ...]`

test/test_transforms_v2.py

[error] invalid-argument-type - :3824:38 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :3838:46 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `int | float`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :3923:40 -
Old: Argument to bound method `__init__` is incorrect: Expected `int | float | Sequence[int | float]`, found `dict[Unknown, Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `int | float | Sequence[int | float]`, found `dict[@Todo(dict literal key type), @Todo(dict literal value type)]`
[error] invalid-argument-type - :4517:64 -
Old: Argument to bound method `__init__` is incorrect: Expected `tuple[int | float, int | float]`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `tuple[int | float, int | float]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :4520:64 -
Old: Argument to bound method `__init__` is incorrect: Expected `tuple[int | float, int | float]`, found `list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `tuple[int | float, int | float]`, found `list[@Todo(list literal element type)]`
[warning] possibly-unbound-attribute - :6981:30 -
Old: Attribute `keys` on type `dict[Unknown, Unknown] | tuple[Image | Unknown, Literal[1] | Unknown]` is possibly unbound
New: Attribute `keys` on type `dict[@Todo(dict literal key type), @Todo(dict literal value type)] | tuple[Image | Unknown, Literal[1] | Unknown]` is possibly unbound

websockets (https://github.com/aaugustin/websockets)

src/websockets/legacy/server.py

[error] invalid-argument-type - :607:34 -
Old: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `@Todo(Type::Intersection.call()) | Literal[HTTPStatus.SERVICE_UNAVAILABLE, b"Server is shutting down.\n"] | list[Unknown]`
New: Argument to bound method `__init__` is incorrect: Expected `bytes`, found `@Todo(Type::Intersection.call()) | Literal[HTTPStatus.SERVICE_UNAVAILABLE, b"Server is shutting down.\n"] | list[@Todo(list literal element type)]`

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

tests/test_routing.py

[warning] possibly-unbound-attribute - :601:5 -
Old: Attribute `add` on type `Unknown | None` is possibly unbound
New: Attribute `add` on type `Unknown | None | set[@Todo(set comprehension element type)]` is possibly unbound
[warning] possibly-unbound-attribute - :603:5 -
Old: Attribute `discard` on type `Unknown | None` is possibly unbound
New: Attribute `discard` on type `Unknown | None | set[@Todo(set comprehension element type)]` is possibly unbound

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

zerver/lib/message_cache.py

[error] invalid-assignment - :478:9 - Method `__setitem__` of type `bound method dict[str, int | str].__setitem__(key: str, value: int | str, /) -> None` cannot be called with a key of type `Literal["reactions"]` and a value of type `list[@Todo(list comprehension element type)]` on object of type `dict[str, int | str]`

zerver/lib/recipient_users.py

[warning] possibly-unbound-attribute - :67:16 -
Old: Attribute `recipient_id` on type `@Todo(dict comprehension type) | UserProfile` is possibly unbound
New: Attribute `recipient_id` on type `@Todo(dict comprehension value type) | UserProfile` is possibly unbound

zerver/tests/test_typed_endpoint.py

[error] invalid-argument-type - :441:75 -
Old: Argument is incorrect: Expected `tuple[str, ...]`, found `list[Unknown]`
New: Argument is incorrect: Expected `tuple[str, ...]`, found `list[@Todo(list literal element type)]`
[error] invalid-argument-type - :486:71 -
Old: Argument is incorrect: Expected `tuple[str, ...]`, found `list[Unknown]`
New: Argument is incorrect: Expected `tuple[str, ...]`, found `list[@Todo(list literal element type)]`

zerver/views/streams.py

[error] invalid-assignment - :1035:9 - Method `__setitem__` of type `bound method dict[str, defaultdict[Unknown, Unknown]].__setitem__(key: str, value: defaultdict[Unknown, Unknown], /) -> None` cannot be called with a key of type `Literal["unauthorized"]` and a value of type `list[@Todo(list comprehension element type)]` on object of type `dict[str, defaultdict[Unknown, Unknown]]`