Ecosystem report

Old: main (merge base) eef403f6 New: 22145/merge edad98ca
Lint Rule Removed Added Changed
Total 71 24 78
invalid-argument-type 36 2 14
unresolved-attribute 3 6 19
invalid-assignment 6 0 21
invalid-return-type 4 0 13
possibly-missing-attribute 7 0 8
unsupported-operator 7 0 0
call-top-callable 0 5 0
missing-argument 0 5 0
not-iterable 3 0 1
unused-ignore-comment 1 3 0
call-non-callable 1 1 0
too-many-positional-arguments 2 0 0
type-assertion-failure 0 2 0
invalid-parameter-default 0 0 1
invalid-type-form 0 0 1
no-matching-overload 1 0 0
Project Removed Added Changed
Total 71 24 78
discord.py 0 0 16
prefect 0 1 15
static-frame 6 1 5
xarray 5 2 3
ignite 1 0 8
pytest 9 0 0
jax 6 0 1
beartype 1 0 5
optuna 0 6 0
bokeh 2 0 3
setuptools 2 1 2
antidote 0 0 4
core 4 0 0
dulwich 4 0 0
kopf 0 4 0
pandas 3 0 1
starlette 1 3 0
sympy 2 0 2
werkzeug 2 1 1
archinstall 3 0 0

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

altair/utils/plugin_registry.py

[error] invalid-parameter-default - :110 -
Old: Default value of type `def callable(obj: object, /) -> TypeIs[() -> object]` is not assignable to annotated parameter type `(object, /) -> TypeIs[object]`
New: Default value of type `def callable(obj: object, /) -> TypeIs[Top[(...) -> object]]` is not assignable to annotated parameter type `(object, /) -> TypeIs[object]`

antidote (https://github.com/Finistere/antidote)

src/antidote/core/_injection.py

[error] unresolved-attribute - :298 -
Old: Object of type `((...) -> object) & ~staticmethod[(), object] & ~Top[classmethod[Unknown, (), object]]` has no attribute `__qualname__`
New: Object of type `((...) -> object) & ~staticmethod[Top[(...)], object] & ~Top[classmethod[Unknown, Top[(...)], object]]` has no attribute `__qualname__`
[error] unresolved-attribute - :298 -
Old: Object of type `((...) -> object) & ~staticmethod[(), object] & ~Top[classmethod[Unknown, (), object]]` has no attribute `__name__`
New: Object of type `((...) -> object) & ~staticmethod[Top[(...)], object] & ~Top[classmethod[Unknown, Top[(...)], object]]` has no attribute `__name__`
[error] unresolved-attribute - :302 -
Old: Object of type `((...) -> object) & ~staticmethod[(), object] & ~Top[classmethod[Unknown, (), object]] & ~MethodType` has no attribute `__qualname__`
New: Object of type `((...) -> object) & ~staticmethod[Top[(...)], object] & ~Top[classmethod[Unknown, Top[(...)], object]] & ~MethodType` has no attribute `__qualname__`
[error] unresolved-attribute - :302 -
Old: Object of type `((...) -> object) & ~staticmethod[(), object] & ~Top[classmethod[Unknown, (), object]] & ~MethodType` has no attribute `__name__`
New: Object of type `((...) -> object) & ~staticmethod[Top[(...)], object] & ~Top[classmethod[Unknown, Top[(...)], object]] & ~MethodType` has no attribute `__name__`

archinstall (https://github.com/archlinux/archinstall)

archinstall/lib/output.py

[error] invalid-argument-type - :36:20 - Argument to function `hasattr` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy & ~(() -> object)) | (((...) -> Unknown) & ~AlwaysFalsy & ~(() -> object))`
[error] invalid-argument-type - :36:61 - Argument to function `getattr` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy & ~(() -> object)) | (((...) -> Unknown) & ~AlwaysFalsy & ~(() -> object))`
[error] invalid-argument-type - :37:23 - Argument to function `getattr` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy & ~(() -> object)) | (((...) -> Unknown) & ~AlwaysFalsy & ~(() -> object))`

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

beartype/_check/metadata/metadecor.py

[error] unresolved-attribute - :555 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> Unknown` has no attribute `__name__`

beartype/_util/func/utilfuncscope.py

[error] unresolved-attribute - :261 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :320 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__qualname__`
New: Object of type `(...) -> Unknown` has no attribute `__qualname__`
[error] unresolved-attribute - :334 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__qualname__`
New: Object of type `(...) -> Unknown` has no attribute `__qualname__`

beartype/_util/func/utilfunctest.py

[error] unresolved-attribute - :914:16 - Object of type `((...) -> Unknown) & ~(() -> object)` has no attribute `__qualname__`

beartype/typing/_typingcache.py

[error] unresolved-attribute - :87 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> Unknown` has no attribute `__name__`

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

src/bokeh/core/property/bases.py

[error] invalid-return-type - :187 -
Old: Return type does not match returned value: expected `T@Property`, found `(() -> T@Property) | (T@Property & (() -> object))`
New: Return type does not match returned value: expected `T@Property`, found `(() -> T@Property) | (T@Property & Top[(...) -> object])`

src/bokeh/io/notebook.py

[error] invalid-argument-type - :568:30 - Argument to function `_origin_url` is incorrect: Expected `str`, found `(str & ~(() -> object)) | (((int | None, /) -> str) & ~(() -> object))`
[error] invalid-argument-type - :580:27 - Argument to function `_server_url` is incorrect: Expected `str`, found `(str & ~(() -> object)) | (((int | None, /) -> str) & ~(() -> object))`

src/bokeh/server/tornado.py

[error] invalid-argument-type - :286 -
Old: Argument to bound method `__init__` is incorrect: Expected `(Document, /) -> None`, found `(Mapping[str, Application | ((Document, /) -> None)] & (() -> object)) | (Application & (() -> object)) | (((Document, /) -> None) & (() -> object))`
New: Argument to bound method `__init__` is incorrect: Expected `(Document, /) -> None`, found `(Mapping[str, Application | ((Document, /) -> None)] & Top[(...) -> object]) | (Application & Top[(...) -> object]) | ((Document, /) -> None)`
[error] invalid-argument-type - :295 -
Old: Argument to bound method `__init__` is incorrect: Expected `(Document, /) -> None`, found `(Unknown & (() -> object)) | (Application & (() -> object))`
New: Argument to bound method `__init__` is incorrect: Expected `(Document, /) -> None`, found `(Unknown & Top[(...) -> object]) | (Application & Top[(...) -> object])`

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

homeassistant/components/reolink/select.py

[error] invalid-assignment - :464:13 - Object of type `(list[str] & ~(() -> object)) | (((Unknown, int, /) -> list[str]) & ~(() -> object))` is not assignable to attribute `_attr_options` of type `list[str]`

homeassistant/components/tomorrowio/sensor.py

[error] unsupported-operator - :349:18 - Operator `*` is not supported between objects of type `float` and `(((int | float, /) -> int | float) & ~(() -> object)) | (int & ~(() -> object)) | (float & ~(() -> object))`

homeassistant/data_entry_flow.py

[error] invalid-argument-type - :1063:21 - Argument to bound method `async_show_progress` is incorrect: Expected `Mapping[str, str] | None`, found `None | @Todo | (dict[str, str] & ~(() -> object)) | (((Any, /) -> dict[str, str]) & ~(() -> object))`

homeassistant/helpers/schema_config_entry_flow.py

[error] invalid-assignment - :258:40 - Object of type `(((dict[str, Any], /) -> Coroutine[Any, Any, str | None]) & ~(() -> object)) | (str & ~(() -> object)) | None` is not assignable to `str | None`

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

discord/app_commands/commands.py

[error] invalid-assignment - :2477 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__discord_app_commands_checks__` on type `(((...) -> Coroutine[Any, Any, Unknown]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], Member, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], User, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], Message, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>)`
New: Object of type `list[Unknown]` is not assignable to attribute `__discord_app_commands_checks__` on type `(((...) -> Coroutine[Any, Any, Unknown]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], Member, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], User, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>) | (((Interaction[Any], Message, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu & ~<Protocol with members '__discord_app_commands_checks__'>)`
[error] unresolved-attribute - :2479 -
Old: Object of type `(((...) -> Coroutine[Any, Any, Unknown]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu) | (((Interaction[Any], Member, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu) | (((Interaction[Any], User, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu) | (((Interaction[Any], Message, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~ContextMenu)` has no attribute `__discord_app_commands_checks__`
New: Object of type `(((...) -> Coroutine[Any, Any, Unknown]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu) | (((Interaction[Any], Member, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu) | (((Interaction[Any], User, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu) | (((Interaction[Any], Message, /) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~ContextMenu)` has no attribute `__discord_app_commands_checks__`

discord/app_commands/errors.py

[error] unresolved-attribute - :453 -
Old: Object of type `(() -> Coroutine[object, Never, object]) | ((...) -> Coroutine[Any, Any, Unknown])` has no attribute `__qualname__`
New: Object of type `Top[(...) -> Coroutine[object, Never, object]]` has no attribute `__qualname__`

discord/ext/commands/core.py

[error] invalid-assignment - :1942 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~<Protocol with members '__commands_checks__'>`
New: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>`
[error] unresolved-attribute - :1944 -
Old: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]` has no attribute `__commands_checks__`
New: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] invalid-assignment - :2365 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~<Protocol with members '__commands_checks__'>`
New: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>`
[error] unresolved-attribute - :2367 -
Old: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]` has no attribute `__commands_checks__`
New: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] invalid-assignment - :2368 -
Old: Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_guild_only__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_guild_only__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2440 -
Old: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]] & ~<Protocol with members '__commands_checks__'>`
New: Object of type `list[Unknown]` is not assignable to attribute `__commands_checks__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>`
[error] unresolved-attribute - :2442 -
Old: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]` has no attribute `__commands_checks__`
New: Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] invalid-assignment - :2443 -
Old: Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_is_nsfw__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_is_nsfw__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2499 -
Old: Object of type `CooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `CooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2547 -
Old: Object of type `DynamicCooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `DynamicCooldownMapping[Context[Any]]` is not assignable to attribute `__commands_cooldown__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2582 -
Old: Object of type `MaxConcurrency` is not assignable to attribute `__commands_max_concurrency__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `MaxConcurrency` is not assignable to attribute `__commands_max_concurrency__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2634 -
Old: Object of type `((CogT@before_invoke, ContextT@before_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@before_invoke, /) -> Coroutine[Any, Any, Any])` is not assignable to attribute `__before_invoke__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `((CogT@before_invoke, ContextT@before_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@before_invoke, /) -> Coroutine[Any, Any, Any])` is not assignable to attribute `__before_invoke__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - :2657 -
Old: Object of type `((CogT@after_invoke, ContextT@after_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@after_invoke, /) -> Coroutine[Any, Any, Any])` is not assignable to attribute `__after_invoke__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, (), Unknown]]`
New: Object of type `((CogT@after_invoke, ContextT@after_invoke, /) -> Coroutine[Any, Any, Any]) | ((ContextT@after_invoke, /) -> Coroutine[Any, Any, Any])` is not assignable to attribute `__after_invoke__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`

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

dulwich/pack.py

[warning] possibly-missing-attribute - :3512:13 - Attribute `write` may be missing on object of type `(((bytes, /) -> None) & ~(() -> object)) | (((bytes | bytearray | memoryview[int], /) -> int) & ~(() -> object)) | (IO[bytes] & ~(() -> object))`

dulwich/worktree.py

[warning] possibly-missing-attribute - :598:33 - Attribute `encode` may be missing on object of type `(@Todo & ~None & ~bytes) | (str & ~(() -> object)) | (((Any, Commit, /) -> bytes) & ~(() -> object) & ~bytes)`
[error] unsupported-operator - :643:29 - Operator `+` is not supported between objects of type `Literal[b"commit: "]` and `bytes | (@Todo & ~None & ~str) | (((Any, Commit, /) -> bytes) & ~(() -> object) & ~str)`
[error] unsupported-operator - :661:29 - Operator `+` is not supported between objects of type `Literal[b"commit: "]` and `bytes | (@Todo & ~None & ~str) | (((Any, Commit, /) -> bytes) & ~(() -> object) & ~str)`

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

freqtrade/strategy/informative_decorator.py

[warning] possibly-missing-attribute - :150:21 - Attribute `format` may be missing on object of type `(str & ~AlwaysFalsy & ~(() -> object)) | (((Any, /) -> str) & ~AlwaysFalsy & ~(() -> object))`

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

src/hydra_zen/funcs.py

[error] invalid-assignment - :55 -
Old: Object of type `() -> object` is not assignable to `(...) -> T@partial_with_wrapper`
New: Object of type `Top[(...) -> object]` is not assignable to `(...) -> T@partial_with_wrapper`

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-argument-type - :2253 -
Old: Argument to function `get_target_path` is incorrect: Expected `HasTarget`, found `(() -> object) & type`
New: Argument to function `get_target_path` is incorrect: Expected `HasTarget`, found `type`

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

ibis/backends/tests/conftest.py

[error] invalid-type-form - :21 -
Old: Variable of type `def callable(obj: object, /) -> TypeIs[() -> object]` is not allowed in a type expression
New: Variable of type `def callable(obj: object, /) -> TypeIs[Top[(...) -> object]]` is not allowed in a type expression

ibis/selectors.py

[warning] possibly-missing-attribute - :458:28 - Attribute `format` may be missing on object of type `(str & ~(() -> object)) | (((str, str | None, /) -> str) & ~(() -> object))`

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

ignite/handlers/base_logger.py

[error] not-iterable - :52:29 - Object of type `(list[str] & ~(() -> object)) | (((str, Unknown, /) -> bool) & ~(() -> object))` may not be iterable

ignite/handlers/clearml_logger.py

[warning] possibly-missing-attribute - :502 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`
[warning] possibly-missing-attribute - :691 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`

ignite/handlers/neptune_logger.py

[warning] possibly-missing-attribute - :505 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`
[warning] possibly-missing-attribute - :609 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`

ignite/handlers/tensorboard_logger.py

[warning] possibly-missing-attribute - :477 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`
[warning] possibly-missing-attribute - :641 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`

ignite/handlers/visdom_logger.py

[warning] possibly-missing-attribute - :491 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`
[warning] possibly-missing-attribute - :542 -
Old: Attribute `__name__` may be missing on object of type `Unknown | (((Unknown, /) -> int | float | Unknown) & (() -> object))`
New: Attribute `__name__` may be missing on object of type `Unknown | ((Unknown, /) -> int | float | Unknown)`

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

jax/experimental/pallas/ops/tpu/megablox/gmm.py

[error] not-iterable - :378:16 - Object of type `((int, int, int, /) -> tuple[int, int, int] | None) & ~(() -> object)` is not iterable
[error] not-iterable - :626:16 - Object of type `((int, int, int, /) -> tuple[int, int, int] | None) & ~(() -> object)` is not iterable

jax/_src/tree_util.py

[error] invalid-argument-type - :302:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :305:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`
[error] invalid-argument-type - :308:31 - Argument to bound method `register_node` is incorrect: Expected `(Hashable, Iterable[object], /) -> T@register_pytree_node`, found `(_AuxData@register_pytree_node, _Children@register_pytree_node, /) -> T@register_pytree_node`

jax/example_libraries/optimizers.py

[error] invalid-argument-type - :556:17 - Argument to function `ndim` is incorrect: Expected `SupportsNdim | int | float | complex`, found `(int & ~(() -> object)) | (float & ~(() -> object)) | (((int, /) -> int | float) & ~(() -> object))`
[error] invalid-return-type - :555 -
Old: Return type does not match returned value: expected `(int, /) -> int | float`, found `(int & (() -> object)) | (float & (() -> object)) | (((int, /) -> int | float) & (() -> object))`
New: Return type does not match returned value: expected `(int, /) -> int | float`, found `(int & Top[(...) -> object]) | (float & Top[(...) -> object]) | ((int, /) -> int | float)`

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

src/jinja2/runtime.py

[error] invalid-assignment - :690:38 - Object of type `(Unknown & ~(() -> object)) | bool | (((str | None, /) -> bool) & ~(() -> object))` is not assignable to `bool | None`
[error] invalid-argument-type - :770:40 - Argument to bound method `_invoke` is incorrect: Expected `bool`, found `@Todo | bool | None`

kopf (https://github.com/nolar/kopf)

kopf/_core/intents/registries.py

[error] missing-argument - :471:16 - No arguments provided for required parameters 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
[error] missing-argument - :509:42 - No arguments provided for required parameters 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
[error] missing-argument - :539:36 - No arguments provided for required parameters 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
[error] missing-argument - :545:36 - No arguments provided for required parameters 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17

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

manticore/platforms/wasm.py

[error] invalid-argument-type - :262 -
Old: Argument is incorrect: Expected `FunctionType`, found `(ProtoFuncInst & (() -> object) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (TableInst & (() -> object) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (MemInst & (() -> object) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (GlobalInst & (() -> object) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (((...) -> Unknown) & (() -> object) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy)`
New: Argument is incorrect: Expected `FunctionType`, found `(ProtoFuncInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (TableInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (MemInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (GlobalInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (((...) -> Unknown) & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy)`

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

mesonbuild/compilers/compilers.py

[error] unsupported-operator - :1336:9 - Operator `+=` is not supported between objects of type `CompilerArgs` and `(CompilerArgs & ~(() -> object)) | (list[str] & ~(() -> object)) | (((CompileCheckMode, /) -> list[str]) & ~(() -> object)) | (@Todo & ~None) | list[Unknown]`

mesonbuild/compilers/d.py

[error] invalid-argument-type - :565:29 - Argument to bound method `extend` is incorrect: Expected `Iterable[str]`, found `(list[str] & ~AlwaysFalsy & ~(() -> object)) | (((CompileCheckMode, /) -> list[str]) & Top[list[Unknown]] & ~AlwaysFalsy & ~(() -> object)) | (@Todo & Top[list[Unknown]])`

mesonbuild/compilers/vala.py

[error] unsupported-operator - :195:9 - Operator `+=` is not supported between objects of type `CompilerArgs` and `(CompilerArgs & ~(() -> object)) | (list[str] & ~(() -> object)) | (((CompileCheckMode, /) -> list[str]) & ~(() -> object)) | (@Todo & ~None) | list[Unknown]`

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

mypy_primer/git_utils.py

[error] invalid-argument-type - :66:56 - Argument to function `get_revision_for_revision_or_date` is incorrect: Expected `str`, found `@Todo | (str & ~(() -> object)) | (((Path, /) -> Awaitable[str]) & ~(() -> object))`

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

tests/test_deprecated.py

[error] unresolved-attribute - :56:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :72:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :192:12 - Object of type `(...) -> Unknown` has no attribute `__name__`

tests/test_experimental.py

[error] unresolved-attribute - :55:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :68:12 - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - :81:12 - Object of type `(...) -> Unknown` has no attribute `__name__`

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

pandas/core/generic.py

[error] invalid-argument-type - :1063:55 - Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `(Mapping[Any, Hashable] & ~(() -> object)) | (((Any, /) -> Hashable) & ~(() -> object))`

pandas/core/groupby/numba_.py

[error] unresolved-attribute - :61 -
Old: Object of type `((...) -> Unknown) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> Unknown` has no attribute `__name__`

pandas/io/parsers/base_parser.py

[error] invalid-return-type - :997:12 - Return type does not match returned value: expected `SequenceT@evaluate_callable_usecols | set[int]`, found `(((Hashable, /) -> object) & ~(() -> object)) | (SequenceT@evaluate_callable_usecols & ~(() -> object))`

pandas/util/_decorators.py

[error] call-non-callable - :199:41 - Object of type `object` is not callable

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

tests/frame/test_groupby.py

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

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

src/pip/_vendor/rich/_log_render.py

[error] invalid-argument-type - :62:59 - Argument to bound method `strftime` is incorrect: Expected `str`, found `(str & ~(() -> object)) | (((datetime, /) -> Text) & ~(() -> object)) | (Unknown & ~(() -> object))`

src/pip/_vendor/resolvelib/structs.py

[error] invalid-argument-type - :203 -
Old: Argument to bound method `__init__` is incorrect: Expected `() -> Iterable[Unknown]`, found `(Iterable[CT@build_iter_view] & (() -> object)) | (() -> Iterable[CT@build_iter_view])`
New: Argument to bound method `__init__` is incorrect: Expected `() -> Iterable[Unknown]`, found `(Iterable[CT@build_iter_view] & Top[(...) -> object]) | (() -> Iterable[CT@build_iter_view])`

src/pip/_vendor/rich/text.py

[error] invalid-argument-type - :624:51 - Argument is incorrect: Expected `str | Style`, found `(@Todo & ~None) | (((str, /) -> str | Style | None) & ~AlwaysFalsy & ~(() -> object)) | (str & ~AlwaysFalsy & ~(() -> object)) | (Style & ~AlwaysFalsy & ~(() -> object))`

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

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

[error] invalid-assignment - :94 -
Old: Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_block_document_references | dict[str, Any] | str | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :99 -
Old: Object of type `T@resolve_variables | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_variables | str | int | ... omitted 4 union elements` is not assignable to `dict[str, Any]`

src/prefect/cli/deploy/_core.py

[error] invalid-assignment - :86 -
Old: Object of type `T@resolve_block_document_references | dict[str, Any]` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_block_document_references | dict[str, Any] | str | ... omitted 4 union elements` is not assignable to `dict[str, Any]`
[error] invalid-assignment - :87 -
Old: Object of type `T@resolve_variables` is not assignable to `dict[str, Any]`
New: Object of type `T@resolve_variables | str | int | ... omitted 4 union elements` is not assignable to `dict[str, Any]`

src/prefect/deployments/steps/core.py

[error] invalid-argument-type - :137 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
New: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any] | str | ... omitted 4 union elements`

src/prefect/task_engine.py

[error] invalid-assignment - :438 -
Old: Object of type `Unknown | None | (((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool) & (() -> object))` is not assignable to `((Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]], TaskRun, State[R@SyncTaskRunEngine], /) -> bool) | None`
New: Object of type `Unknown | None | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool)` is not assignable to `((Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]], TaskRun, State[R@SyncTaskRunEngine], /) -> bool) | None`
[error] invalid-assignment - :1026 -
Old: Object of type `Unknown | None | (((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool) & (() -> object))` is not assignable to `((Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]], TaskRun, State[R@AsyncTaskRunEngine], /) -> bool) | None`
New: Object of type `Unknown | None | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool)` is not assignable to `((Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]], TaskRun, State[R@AsyncTaskRunEngine], /) -> bool) | None`

src/prefect/utilities/_engine.py

[error] missing-argument - :69:29 - No argument provided for required parameter `parameters` of bound method `__call__`
[error] invalid-argument-type - :64 -
Old: Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & (() -> object)) | (() -> str) | (TaskRunNameCallbackWithParameters & (() -> object)) | (str & (() -> object))`
New: Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & Top[(...) -> object]) | (() -> str) | TaskRunNameCallbackWithParameters | (str & Top[(...) -> object])`
[error] unresolved-attribute - :93 -
Old: Object of type `() -> object` has no attribute `__name__`
New: Object of type `Top[(...) -> object]` has no attribute `__name__`

src/prefect/utilities/templating.py

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

src/prefect/workers/base.py

[error] invalid-argument-type - :228 -
Old: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any]`
New: Argument is incorrect: Expected `T@resolve_variables`, found `T@resolve_block_document_references | dict[str, Any] | str | ... omitted 4 union elements`
[error] invalid-argument-type - :230 -
Old: Argument expression after ** must be a mapping type: Found `T@resolve_variables`
New: Argument expression after ** must be a mapping type: Found `T@resolve_variables | str | int | ... omitted 4 union elements`

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

src/_pytest/fixtures.py

[error] invalid-argument-type - :557:43 - Argument to bound method `_check_scope` is incorrect: Expected `Scope`, found `Scope | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & ~(() -> object) & ~str)`
[warning] possibly-missing-attribute - :1025:16 - Attribute `value` may be missing on object of type `Scope | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & ~(() -> object) & ~str)`
[error] invalid-argument-type - :1381:9 - Argument is incorrect: Expected `tuple[object, ...] | ((Any, /) -> object) | None`, found `None | (Sequence[object] & (() -> object)) | (((Any, /) -> object) & (() -> object)) | Unknown`
[error] invalid-argument-type - :1381:70 - Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `(Sequence[object] & ~(() -> object)) | (((Any, /) -> object) & ~(() -> object))`
[error] invalid-return-type - :1724:24 - Return type does not match returned value: expected `Scope`, found `Scope | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & ~(() -> object) & ~str)`
[error] invalid-argument-type - :1003:17 - Argument to bound method `from_user` is incorrect: Expected `Literal["session", "package", "module", "class", "function"]`, found `Literal["session", "package", "module", "class", "function"] | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & str & ~(() -> object))`

src/_pytest/python.py

[error] invalid-argument-type - :1435:39 - Argument to bound method `_validate_ids` is incorrect: Expected `Iterable[object]`, found `(Iterable[object] & ~(() -> object)) | (((Any, /) -> object) & ~(() -> object))`
[error] invalid-argument-type - :1439:13 - Argument is incorrect: Expected `((Any, /) -> object) | None`, found `None | (Iterable[object] & (() -> object)) | (((Any, /) -> object) & (() -> object))`
[error] invalid-argument-type - :1534:20 - Argument to function `min` is incorrect: Argument type `Scope | (((str, Config, /) -> str) & ~(() -> object) & ~str) | Unknown` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`

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

rich/_log_render.py

[error] invalid-argument-type - :62:59 - Argument to bound method `strftime` is incorrect: Expected `str`, found `(str & ~(() -> object)) | (((datetime, /) -> Text) & ~(() -> object)) | (Unknown & ~(() -> object))`

rich/text.py

[error] invalid-argument-type - :624:51 - Argument is incorrect: Expected `str | Style`, found `(@Todo & ~None) | (((str, /) -> str | Style | None) & ~AlwaysFalsy & ~(() -> object)) | (str & ~AlwaysFalsy & ~(() -> object)) | (Style & ~AlwaysFalsy & ~(() -> object))`

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

rotkehlchen/tests/unit/test_lido_csm_metrics.py

[error] call-top-callable - :19:20 - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known

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

src/schemathesis/hooks.py

[error] unresolved-attribute - :302 -
Old: Object of type `(str & (() -> object)) | (((...) -> Unknown) & (() -> object))` has no attribute `__name__`
New: Object of type `(str & Top[(...) -> object]) | ((...) -> Unknown)` has no attribute `__name__`

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

scrapy/core/spidermw.py

[error] invalid-argument-type - :138:50 - Argument to bound method `_check_mw_method_spider_arg` is incorrect: Expected `(...) -> Unknown`, found `object`

tests/test_utils_console.py

[error] unresolved-attribute - :27 -
Old: Object of type `((...) -> None) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> None` has no attribute `__name__`
[error] unresolved-attribute - :34 -
Old: Object of type `((...) -> None) & (() -> object)` has no attribute `__name__`
New: Object of type `(...) -> None` has no attribute `__name__`

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

setuptools/config/_apply_pyprojecttoml.py

[error] invalid-argument-type - :84:31 - Argument to function `_set_config` is incorrect: Expected `str`, found `(((Distribution, Any, str | PathLike[str] | None, /) -> None) & ~(() -> object)) | (str & ~(() -> object))`
[error] invalid-argument-type - :124:31 - Argument to function `_set_config` is incorrect: Expected `str`, found `(Unknown & ~(() -> object)) | (partial[None] & ~(() -> object))`

setuptools/_vendor/jaraco/collections/__init__.py

[warning] unused-ignore-comment - :42:29 - Unused blanket `type: ignore` directive

setuptools/_vendor/typing_extensions.py

[error] invalid-assignment - :2855 -
Old: Object of type `Unknown | str` is not assignable to attribute `__deprecated__` on type `_T@__call__ & (() -> object) & ~type`
New: Object of type `Unknown | str` is not assignable to attribute `__deprecated__` on type `_T@__call__ & Top[(...) -> object] & ~type`

setuptools/config/expand.py

[error] invalid-argument-type - :334 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(@Todo & <Protocol with members '__iter__'> & ~str) | (((...) -> Unknown) & <Protocol with members '__iter__'> & ~(() -> object) & ~str) | (Iterable[str | int] & ~(() -> object) & ~str)`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Buffer]`, found `(Unknown & <Protocol with members '__iter__'> & ~str) | (Iterable[str | int] & ~Top[(...) -> object] & ~str)`

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

lib/spack/spack/llnl/util/filesystem.py

[warning] possibly-missing-attribute - :330:21 - Attribute `replace` may be missing on object of type `(str & ~(() -> object)) | (((Match[Unknown], /) -> str) & ~(() -> object))`

lib/spack/spack/vendor/jinja2/runtime.py

[error] invalid-assignment - :734:38 - Object of type `(Unknown & ~(() -> object)) | bool | (((str | None, /) -> bool) & ~(() -> object))` is not assignable to `bool | None`
[error] invalid-argument-type - :814:40 - Argument to bound method `_invoke` is incorrect: Expected `bool`, found `@Todo | bool | None`

starlette (https://github.com/encode/starlette)

starlette/_exception_handler.py

[error] invalid-argument-type - :59:42 - Argument is incorrect: Expected `WebSocket`, found `Request | WebSocket`

starlette/middleware/errors.py

[error] invalid-argument-type - :176:51 - Argument is incorrect: Expected `WebSocket`, found `Request`
[error] call-non-callable - :181:23 - Object of type `None` is not callable

starlette/routing.py

[error] invalid-assignment - :67:51 - Object of type `(((Request, /) -> Awaitable[Response] | Response) & (() -> Awaitable[object])) | partial[Unknown]` is not assignable to `(Request, /) -> Awaitable[Response]`

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

static_frame/core/frame.py

[warning] unused-ignore-comment - :8264:45 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :4589:42 - Argument to bound method `extend` is incorrect: Expected `Iterable[((...) -> IndexBase) | @Todo | None]`, found `(((...) -> IndexBase) & ~(() -> object)) | (@Todo & ~None & ~(() -> object)) | (Iterable[((...) -> IndexBase) | @Todo | None] & ~(() -> object))`
[error] invalid-argument-type - :8299 -
Old: Argument to function `pivot_core` is incorrect: Expected `((...) -> ndarray[Any, Any]) | None`, found `None | ((...) -> Any) | (Mapping[Hashable, (...) -> Any] & (() -> object))`
New: Argument to function `pivot_core` is incorrect: Expected `((...) -> ndarray[Any, Any]) | None`, found `None | ((...) -> Any) | (Mapping[Hashable, (...) -> Any] & Top[(...) -> object])`
[error] invalid-argument-type - :8300 -
Old: Argument to function `pivot_core` is incorrect: Expected `Sequence[tuple[Hashable, (...) -> ndarray[Any, Any]]]`, found `tuple[tuple[Hashable, (...) -> Any], ...] | tuple[tuple[Literal[""], (((...) -> Any) & (() -> object)) | (Mapping[Hashable, (...) -> Any] & (() -> object))]]`
New: Argument to function `pivot_core` is incorrect: Expected `Sequence[tuple[Hashable, (...) -> ndarray[Any, Any]]]`, found `tuple[tuple[Hashable, (...) -> Any], ...] | tuple[tuple[Literal[""], ((...) -> Any) | (Mapping[Hashable, (...) -> Any] & Top[(...) -> object])]]`

static_frame/core/index.py

[error] unsupported-operator - :995:32 - Operator `in` is not supported between objects of type `Unknown` and `(((...) -> Any) & ~(() -> object)) | (Iterable[Hashable] & ~(() -> object)) | (type[IndexAutoFactory] & ~(() -> object))`

static_frame/core/index_hierarchy.py

[error] invalid-argument-type - :313:40 - Argument to class `tuple` is incorrect: Expected `Iterable[object]`, found `(((...) -> IndexBase) & ~(() -> object)) | (@Todo & ~None & ~(() -> object)) | (Iterable[((...) -> IndexBase) | @Todo | None] & ~(() -> object))`
[warning] unused-ignore-comment - :1821:69 - Unused blanket `type: ignore` directive

static_frame/core/node_iter.py

[error] unresolved-attribute - :130:20 - Object of type `((...) -> Any) & ~(() -> object)` has no attribute `__getitem__`
[error] unresolved-attribute - :167:20 - Object of type `((...) -> Any) & ~(() -> object)` has no attribute `__getitem__`

static_frame/core/series.py

[error] invalid-return-type - :772 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 6 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Series[Any, Any], TVDtype@Series]`, found `InterGetItemILocReduces[Series[Any, Any] | TypeBlocks | Batch | ... omitted 6 union elements, generic[object]]`
[error] invalid-return-type - :4072 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 7 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | TypeBlocks | Batch | ... omitted 7 union elements, generic[object]]`

static_frame/core/yarn.py

[error] invalid-return-type - :418 -
Old: Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Top[Index[Any]] | TypeBlocks | Top[Bus[Any]] | ... omitted 6 union elements, generic[object]]`
New: Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Top[Yarn[Any]] | TypeBlocks | Batch | ... omitted 6 union elements, generic[object]]`

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

strawberry/cli/utils/__init__.py

[error] call-top-callable - :23:29 - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known

strawberry/types/field.py

[error] call-top-callable - :143:38 - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known

strawberry/types/fields/resolver.py

[error] invalid-return-type - :392 -
Old: Return type does not match returned value: expected `(...) -> T@StrawberryResolver`, found `(() -> object) | ((...) -> Unknown) | ((...) -> Unknown)`
New: Return type does not match returned value: expected `(...) -> T@StrawberryResolver`, found `Top[(...) -> object]`

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

sympy/matrices/sparse.py

[error] not-iterable - :174 -
Old: Object of type `(Unknown & ~(() -> object) & ~Top[dict[Unknown, Unknown]] & ~Dict) | None` may not be iterable
New: Object of type `(Unknown & ~Top[(...) -> object] & ~Top[dict[Unknown, Unknown]] & ~Dict) | None` may not be iterable
[error] invalid-argument-type - :184 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~(() -> object) & ~Top[dict[Unknown, Unknown]] & ~Dict) | None`
New: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~Top[(...) -> object] & ~Top[dict[Unknown, Unknown]] & ~Dict) | None`

sympy/printing/preview.py

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

sympy/utilities/tests/test_pickling.py

[error] invalid-argument-type - :74:46 - Argument to function `dumps` is incorrect: Expected `int | None`, found `(Unknown & ~(() -> object) & ~ModuleType) | (int & ~(() -> object)) | (((x: _T@copy) -> _T@copy) & ~(() -> object) & ~ModuleType)`

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

tornado/escape.py

[warning] possibly-missing-attribute - :336:30 - Attribute `strip` may be missing on object of type `(str & ~AlwaysFalsy & ~(() -> object)) | (((str, /) -> str) & ~AlwaysFalsy & ~(() -> object))`

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

test/datasets_utils.py

[error] invalid-argument-type - :835:52 - Argument to function `create_image_file` is incorrect: Expected `Sequence[int] | int`, found `@Todo | (Sequence[int] & ~(() -> object)) | (int & ~(() -> object)) | (((int, /) -> Sequence[int] | int) & ~(() -> object))`

torchvision/transforms/v2/_utils.py

[error] invalid-return-type - :149:16 - Return type does not match returned value: expected `(Any, /) -> Any`, found `(str & (() -> object)) | (((Any, /) -> Any) & (() -> object))`

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

src/websockets/legacy/server.py

[error] invalid-argument-type - :634:37 - Argument to bound method `update` is incorrect: Expected `Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem`, found `(Mapping[str, str] & ~(() -> object)) | (Iterable[tuple[str, str]] & ~(() -> object)) | (SupportsKeysAndGetItem & ~(() -> object)) | (((str, Headers, /) -> Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem) & ~(() -> object)) | (@Todo & ~None)`

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

src/werkzeug/utils.py

[warning] unused-ignore-comment - :506:45 - Unused blanket `type: ignore` directive
[error] unsupported-operator - :501:12 - Operator `>` is not supported between objects of type `(int & ~(() -> object)) | (((str | None, /) -> int | None) & ~(() -> object)) | (@Todo & ~None)` and `Literal[0]`
[error] invalid-assignment - :505:9 - Object of type `(int & ~(() -> object)) | (((str | None, /) -> int | None) & ~(() -> object)) | (@Todo & ~None)` is not assignable to attribute `max_age` of type `int | None`

src/werkzeug/wsgi.py

[error] invalid-assignment - :244 -
Old: Object of type `list[Unknown | (() -> None) | (Iterable[() -> None] & (() -> object))]` is not assignable to `None | (() -> None) | Iterable[() -> None]`
New: Object of type `list[Unknown | (() -> None) | (Iterable[() -> None] & Top[(...) -> object])]` is not assignable to `None | (() -> None) | Iterable[() -> None]`

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

xarray/core/common.py

[error] invalid-return-type - :518:16 - Return type does not match returned value: expected `dict[Hashable, T@_calc_assign_results]`, found `dict[Any, @Todo | (T@_calc_assign_results & ~(() -> object)) | (((C@_calc_assign_results, /) -> T@_calc_assign_results) & ~(() -> object))]`

xarray/core/dataarray.py

[error] invalid-argument-type - :3251:48 - Argument to bound method `drop_vars` is incorrect: Expected `Iterable[Hashable] | ((Dataset, /) -> Iterable[Hashable])`, found `@Todo | (Iterable[Hashable] & ~(() -> object)) | (((Self@drop_vars, /) -> Unknown | Iterable[Hashable]) & ~(() -> object))`
[error] too-many-positional-arguments - :5277:35 - Too many positional arguments: expected 0, got 1
[error] call-top-callable - :5277:25 - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
[error] invalid-return-type - :5744 -
Old: Return type does not match returned value: expected `T_Xarray@map_blocks`, found `T_Xarray@map_blocks | DataArray | Dataset`
New: Return type does not match returned value: expected `T_Xarray@map_blocks`, found `DataArray | Dataset`

xarray/core/dataset.py

[error] invalid-argument-type - :1527:35 - Argument to function `getattr` is incorrect: Expected `str`, found `(str & ~(() -> object)) | (((Variable, Variable, /) -> bool) & ~(() -> object))`
[error] invalid-argument-type - :1530 -
Old: Argument to function `dict_equiv` is incorrect: Expected `(Variable, Variable, /) -> bool`, found `(str & (() -> object)) | (((Variable, Variable, /) -> bool) & (() -> object)) | (def compat(x: Variable, y: Variable) -> bool)`
New: Argument to function `dict_equiv` is incorrect: Expected `(Variable, Variable, /) -> bool`, found `(str & Top[(...) -> object]) | ((Variable, Variable, /) -> bool)`
[error] too-many-positional-arguments - :8110:35 - Too many positional arguments: expected 0, got 1
[error] call-top-callable - :8110:25 - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
[error] invalid-return-type - :8873 -
Old: Return type does not match returned value: expected `T_Xarray@map_blocks`, found `T_Xarray@map_blocks | DataArray | Dataset`
New: Return type does not match returned value: expected `T_Xarray@map_blocks`, found `DataArray | Dataset`

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

zerver/lib/rest.py

[error] invalid-return-type - :110 -
Old: Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[() -> object, Top[set[Unknown]]]`
New: Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[Top[(...) -> object], Top[set[Unknown]]]`
[error] invalid-return-type - :112 -
Old: Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[(() -> object) & ~tuple[object, ...], set[Unknown]]`
New: Return type does not match returned value: expected `tuple[(...) -> HttpResponse, set[str]] | HttpResponse`, found `tuple[Top[(...) -> object] & ~tuple[object, ...], set[Unknown]]`