Summary

Comparing branches/commits:
Old: main (merge base) f9688bd0
New: 20602/merge d2067a11
Lint Rule Removed Added Changed
Total 4 22 71
invalid-argument-type 0 12 32
unsupported-operator 0 10 7
possibly-missing-attribute 0 0 14
invalid-assignment 0 0 12
invalid-return-type 1 0 5
no-matching-overload 3 0 0
possibly-missing-implicit-call 0 0 1

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

alerta/auth/oidc.py

[error] invalid-argument-type - :177:33 -
Old: Argument to bound method `__init__` is incorrect: Expected `str`, found `(Any & ~AlwaysFalsy) | Unknown | None`
New: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | None`
[error] invalid-argument-type - :177:70 -
Old: Argument to bound method `__init__` is incorrect: Expected `str`, found `(Any & ~AlwaysFalsy) | Unknown | None`
New: Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | None`
[error] invalid-argument-type - :203:43 -
Old: Argument to function `create_token` is incorrect: Expected `str`, found `(Any & ~AlwaysFalsy) | Unknown | None`
New: Argument to function `create_token` is incorrect: Expected `str`, found `Unknown | None`
[error] invalid-argument-type - :205:26 -
Old: Argument to function `create_token` is incorrect: Expected `str`, found `(Any & ~AlwaysFalsy) | Unknown | None`
New: Argument to function `create_token` is incorrect: Expected `str`, found `Unknown | None`
[error] invalid-argument-type - :205:70 -
Old: Argument to function `create_token` is incorrect: Expected `str`, found `(Any & ~AlwaysFalsy) | Unknown | None`
New: Argument to function `create_token` is incorrect: Expected `str`, found `Unknown | None`

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

altair/vegalite/v6/api.py

[error] invalid-argument-type - :262:30 -
Old: Argument to function `_dataset_name` is incorrect: Expected `dict[str, Any] | list[Unknown] | InlineDataset`, found `UndefinedType | @Todo | (@Todo & ~InlineDataset)`
New: Argument to function `_dataset_name` is incorrect: Expected `dict[str, Any] | list[Unknown] | InlineDataset`, found `UndefinedType | @Todo`

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

homeassistant/components/telegram_bot/bot.py

[warning] possibly-missing-attribute - :411:50 -
Old: Attribute `split` on type `@Todo | (Any & ~Top[list[Unknown]]) | None` may be missing
New: Attribute `split` on type `@Todo | None` may be missing

homeassistant/helpers/entity_registry.py

[error] invalid-argument-type - :1063:13 -
Old: Argument is incorrect: Expected `ReadOnlyEntityOptionsType`, found `(Unknown & ~UndefinedType) | @Todo | None`
New: Argument is incorrect: Expected `ReadOnlyEntityOptionsType`, found `@Todo | None`

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

ddtrace/_trace/processor/__init__.py

[error] invalid-argument-type - :216:43 -
Old: Argument to bound method `_add_extra_service` is incorrect: Expected `str`, found `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (Any & ~float & ~AlwaysFalsy) | (int & ~AlwaysFalsy)`
New: Argument to bound method `_add_extra_service` is incorrect: Expected `str`, found `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (int & ~AlwaysFalsy)`

ddtrace/_trace/tracer.py

[error] invalid-assignment - :489:17 -
Old: Object of type `Unknown | str | None | (Any & ~float) | int` is not assignable to `str | None`
New: Object of type `Unknown | str | None | int` is not assignable to `str | None`

ddtrace/contrib/internal/asgi/middleware.py

[error] invalid-argument-type - :147:55 -
Old: Argument to bound method `set_tag_str` is incorrect: Expected `str`, found `Unknown | str | None | (Any & ~float) | int`
New: Argument to bound method `set_tag_str` is incorrect: Expected `str`, found `Unknown | str | None | int`

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 | None | str | ((v0_operation, cache_provider=None) -> Unknown) | ((v0_operation, cloud_provider=None, cloud_service=None) -> Unknown) | ((v0_operation, cloud_provider=None, cloud_service=None, direction=None) -> Unknown) | ((v0_operation, database_provider=None) -> Unknown) | ((v0_operation, provider=None, service=None, direction=None) -> Unknown) | ((v0_service_name) -> Unknown) | ((v0_operation, protocol=None, direction=None) -> Unknown) | ((v0_operation, provider=None, direction=None) -> Unknown) | ((...) -> Unknown) | ((ctx: ExecutionContext) -> None) | ((ctx, endpoint_service: str | None = None) -> None) | ((ctx: ExecutionContext, params: Any) -> None)]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown | None | str | ((v0_operation, cache_provider=None) -> Unknown) | ((v0_operation, cloud_provider=None, cloud_service=None) -> Unknown) | ((v0_operation, database_provider=None) -> Unknown) | ((v0_operation, provider=None, service=None, direction=None) -> Unknown) | ((v0_service_name) -> Unknown) | ((v0_operation, protocol=None, direction=None) -> Unknown) | ((v0_operation, provider=None, direction=None) -> Unknown) | ((...) -> Unknown) | ((ctx: ExecutionContext) -> None) | ((ctx, endpoint_service: str | None = None) -> None) | ((ctx: ExecutionContext, params: Any) -> None)]`

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

[error] invalid-return-type - :303:12 -
Old: Return type does not match returned value: expected `dict[str, list[str]]`, found `dict[Unknown | str, Unknown | (@Todo & Top[list[Unknown]]) | list[Unknown] | list[Unknown | str | (@Todo & ~Top[list[Unknown]]) | None]]`
New: Return type does not match returned value: expected `dict[str, list[str]]`, found `dict[Unknown | str, Unknown | list[Unknown] | list[Unknown | str | None]]`

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 | ExecutionContext | None | (Any & Top[dict[Unknown, Unknown]])]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown | ExecutionContext | None]`

ddtrace/contrib/internal/ray/span_manager.py

[error] invalid-argument-type - :162:13 -
Old: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | str | None | (Any & ~float) | int`
New: Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Unknown | str | None | int`

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 | None | (Any & ~AlwaysFalsy)]`
New: Argument to function `dispatch` is incorrect: Expected `tuple[Any, ...]`, found `list[Unknown | None]`

ddtrace/internal/processor/stats.py

[error] invalid-return-type - :81:12 -
Old: Return type does not match returned value: expected `tuple[str, str, str, str, int, bool, str, str]`, found `tuple[Unknown | str, (Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (Any & ~float & ~AlwaysFalsy) | (int & ~AlwaysFalsy) | Literal[""], (str & ~AlwaysFalsy) | Literal[""], (Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | Literal[""], int, bool, (str & ~AlwaysFalsy) | Literal[""], (str & ~AlwaysFalsy) | Literal[""]]`
New: Return type does not match returned value: expected `tuple[str, str, str, str, int, bool, str, str]`, found `tuple[Unknown | str, (Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (int & ~AlwaysFalsy) | Literal[""], (str & ~AlwaysFalsy) | Literal[""], (Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | Literal[""], int, bool, (str & ~AlwaysFalsy) | Literal[""], (str & ~AlwaysFalsy) | Literal[""]]`

ddtrace/llmobs/_integrations/pydantic_ai.py

[error] invalid-return-type - :59:16 -
Old: Return type does not match returned value: expected `tuple[str, str]`, found `tuple[Any | Literal[""], (Any & ~AlwaysTruthy) | None | Unknown]`
New: Return type does not match returned value: expected `tuple[str, str]`, found `tuple[Any | Literal[""], Unknown | None]`

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

discord/audit_logs.py

[error] invalid-argument-type - :550:56 -
Old: Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | (@Todo & ~None) | Literal[3, 4, 1, 5, -1]`
New: Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | Literal[3, 4, 1, 5, -1]`
[error] invalid-argument-type - :551:55 -
Old: Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | (@Todo & ~None) | Literal[3, 4, 1, 5, -1]`
New: Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | Literal[3, 4, 1, 5, -1]`

discord/ext/commands/cog.py

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

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

jax/_src/array.py

[error] invalid-assignment - :759:3 -
Old: Object of type `Unknown | (@Todo & Sharding) | None | (@Todo & AUTO) | (Sharding & ~Format)` is not assignable to `Sharding | Format`
New: Object of type `Unknown | None | (Sharding & ~Format)` is not assignable to `Sharding | Format`

jax/_src/interpreters/partial_eval.py

[warning] possibly-missing-attribute - :2512:15 -
Old: Attribute `frame` on type `Trace[Unknown] | Unknown | DynamicJaxprTrace` may be missing
New: Attribute `frame` on type `Trace[Unknown] | Unknown` may be missing

jax/experimental/jax2tf/tests/primitives_test.py

[warning] possibly-missing-attribute - :145:30 -
Old: Attribute `__name__` on type `Unknown | BinaryUfunc | ((x: @Todo, y: @Todo, /) -> Array)` may be missing
New: Attribute `__name__` on type `Unknown | ((x: @Todo, y: @Todo, /) -> Array)` may be missing

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

mesonbuild/interpreter/interpreter.py

[error] invalid-assignment - :3412:9 -
Old: Method `__setitem__` of type `(Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["export_dynamic"], value: bool | None, /) -> None, (key: Literal["gui_app"], value: bool | None, /) -> None, (key: Literal["implib"], value: str | bool | None, /) -> None, (key: Literal["pie"], value: bool | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["win_subsystem"], value: str | None, /) -> None, (key: Literal["android_exe_type"], value: Literal["application", "executable"] | None, /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["prelink"], value: bool, /) -> None, (key: Literal["pic"], value: bool | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["darwin_versions"], value: tuple[str, str] | None, /) -> None, (key: Literal["soversion"], value: str | None, /) -> None, (key: Literal["version"], value: str | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None]) | (Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | CustomTarget | CustomTargetIndex | GeneratedList | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["dependencies"]` and a value of type `list[Unknown]` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`
New: Method `__setitem__` of type `(Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["export_dynamic"], value: bool | None, /) -> None, (key: Literal["gui_app"], value: bool | None, /) -> None, (key: Literal["implib"], value: str | bool | None, /) -> None, (key: Literal["pie"], value: bool | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["win_subsystem"], value: str | None, /) -> None, (key: Literal["android_exe_type"], value: Literal["application", "executable"] | None, /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["prelink"], value: bool, /) -> None, (key: Literal["pic"], value: bool | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None]) | (Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | CustomTarget | CustomTargetIndex | GeneratedList | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["dependencies"]` and a value of type `list[Unknown]` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`
[error] invalid-assignment - :3431:13 -
Old: Method `__setitem__` of type `(Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["export_dynamic"], value: bool | None, /) -> None, (key: Literal["gui_app"], value: bool | None, /) -> None, (key: Literal["implib"], value: str | bool | None, /) -> None, (key: Literal["pie"], value: bool | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["win_subsystem"], value: str | None, /) -> None, (key: Literal["android_exe_type"], value: Literal["application", "executable"] | None, /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["prelink"], value: bool, /) -> None, (key: Literal["pic"], value: bool | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["darwin_versions"], value: tuple[str, str] | None, /) -> None, (key: Literal["soversion"], value: str | None, /) -> None, (key: Literal["version"], value: str | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None]) | (Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | CustomTarget | CustomTargetIndex | GeneratedList | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["d_import_dirs"]` and a value of type `Unknown` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`
New: Method `__setitem__` of type `(Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["export_dynamic"], value: bool | None, /) -> None, (key: Literal["gui_app"], value: bool | None, /) -> None, (key: Literal["implib"], value: str | bool | None, /) -> None, (key: Literal["pie"], value: bool | None, /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None, (key: Literal["win_subsystem"], value: str | None, /) -> None, (key: Literal["android_exe_type"], value: Literal["application", "executable"] | None, /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["prelink"], value: bool, /) -> None, (key: Literal["pic"], value: bool | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None]) | (Overload[(key: Literal["rust_abi"], value: Literal["c", "rust"] | None, /) -> None, (key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["d_debug"], value: list[str | int], /) -> None, (key: Literal["d_import_dirs"], value: list[str | IncludeDirs], /) -> None, (key: Literal["d_module_versions"], value: list[str | int], /) -> None, (key: Literal["d_unittest"], value: bool, /) -> None, (key: Literal["rust_dependency_map"], value: dict[str, str], /) -> None, (key: Literal["swift_interoperability_mode"], value: Literal["c", "cpp"], /) -> None, (key: Literal["swift_module_name"], value: str, /) -> None, (key: Literal["sources"], value: Any, /) -> None, (key: Literal["c_args"], value: list[str], /) -> None, (key: Literal["cpp_args"], value: list[str], /) -> None, (key: Literal["cuda_args"], value: list[str], /) -> None, (key: Literal["fortran_args"], value: list[str], /) -> None, (key: Literal["d_args"], value: list[str], /) -> None, (key: Literal["objc_args"], value: list[str], /) -> None, (key: Literal["objcpp_args"], value: list[str], /) -> None, (key: Literal["rust_args"], value: list[str], /) -> None, (key: Literal["vala_args"], value: list[str | File], /) -> None, (key: Literal["cs_args"], value: list[str], /) -> None, (key: Literal["swift_args"], value: list[str], /) -> None, (key: Literal["cython_args"], value: list[str], /) -> None, (key: Literal["nasm_args"], value: list[str], /) -> None, (key: Literal["masm_args"], value: list[str], /) -> None, (key: Literal["vs_module_defs"], value: str | File | CustomTarget | CustomTargetIndex | None, /) -> None]) | (Overload[(key: Literal["build_by_default"], value: bool, /) -> None, (key: Literal["build_rpath"], value: str, /) -> None, (key: Literal["extra_files"], value: list[@Todo], /) -> None, (key: Literal["gnu_symbol_visibility"], value: str, /) -> None, (key: Literal["install"], value: bool, /) -> None, (key: Literal["install_mode"], value: FileMode, /) -> None, (key: Literal["install_rpath"], value: str, /) -> None, (key: Literal["implicit_include_directories"], value: bool, /) -> None, (key: Literal["link_depends"], value: list[str | File | CustomTarget | CustomTargetIndex | BuildTarget], /) -> None, (key: Literal["link_language"], value: str | None, /) -> None, (key: Literal["name_prefix"], value: str | None, /) -> None, (key: Literal["name_suffix"], value: str | None, /) -> None, (key: Literal["native"], value: MachineChoice, /) -> None, (key: Literal["objects"], value: list[@Todo], /) -> None, (key: Literal["override_options"], value: dict[OptionKey, @Todo], /) -> None, (key: Literal["depend_files"], value: list[File], /) -> None, (key: Literal["resources"], value: list[str], /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | CustomTarget | CustomTargetIndex | GeneratedList | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["d_import_dirs"]` and a value of type `Unknown` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`

mesonbuild/interpreterbase/decorators.py

[error] invalid-argument-type - :526:45 -
Old: Argument to function `check_value_type` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...]) | tuple[(Unknown & ~tuple[object, ...]) | (ContainerTypeInfo & ~tuple[object, ...])]`
New: Argument to function `check_value_type` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...])`
[error] invalid-argument-type - :527:54 -
Old: Argument to function `types_description` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...]) | tuple[(Unknown & ~tuple[object, ...]) | (ContainerTypeInfo & ~tuple[object, ...])]`
New: Argument to function `types_description` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...])`
[error] invalid-argument-type - :546:45 -
Old: Argument to function `check_value_type` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...]) | tuple[(Unknown & ~tuple[object, ...]) | (ContainerTypeInfo & ~tuple[object, ...])]`
New: Argument to function `check_value_type` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...])`
[error] invalid-argument-type - :546:197 -
Old: Argument to function `types_description` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...]) | tuple[(Unknown & ~tuple[object, ...]) | (ContainerTypeInfo & ~tuple[object, ...])]`
New: Argument to function `types_description` is incorrect: Expected `tuple[type | ContainerTypeInfo, ...]`, found `(Unknown & tuple[object, ...]) | tuple[@Todo | ContainerTypeInfo, ...] | (ContainerTypeInfo & tuple[object, ...])`

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

bson/json_util.py

[error] invalid-assignment - :1015:9 -
Old: Method `__setitem__` of type `bound method dict[int, (Any, JSONOptions, /) -> Any].__setitem__(key: int, value: (Any, JSONOptions, /) -> Any, /) -> None` cannot be called with a key of type `object` and a value of type `((Any, JSONOptions, /) -> Any) | ((obj: Any, dummy0: Any) -> Any) | ((obj: bytes, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: datetime, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Any, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: int | float, json_options: JSONOptions) -> Any) | ((obj: int, json_options: JSONOptions) -> Any) | ((obj: UUID, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Binary, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Int64, json_options: JSONOptions) -> Any) | ((obj: Code, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: DBRef, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((dummy0: Any, dummy1: Any) -> dict[Unknown, Unknown]) | ((obj: ObjectId, dummy0: Any) -> dict[Unknown, Unknown]) | ((obj: Timestamp, dummy0: Any) -> dict[Unknown, Unknown])` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`
New: Method `__setitem__` of type `bound method dict[int, (Any, JSONOptions, /) -> Any].__setitem__(key: int, value: (Any, JSONOptions, /) -> Any, /) -> None` cannot be called with a key of type `object` and a value of type `((Any, JSONOptions, /) -> Any) | ((obj: Any, dummy0: Any) -> Any) | ((obj: Binary, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: datetime, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Any, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Int64, json_options: JSONOptions) -> Any) | ((obj: UUID, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: Code, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((obj: DBRef, json_options: JSONOptions) -> dict[Unknown, Unknown]) | ((dummy0: Any, dummy1: Any) -> dict[Unknown, Unknown]) | ((obj: ObjectId, dummy0: Any) -> dict[Unknown, Unknown]) | ((obj: Timestamp, dummy0: Any) -> dict[Unknown, Unknown])` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`

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

openlibrary/plugins/worksearch/code.py

[error] invalid-argument-type - :298:59 -
Old: Argument to bound method `q_to_solr_params` is incorrect: Expected `list[tuple[str, str]]`, found `list[Unknown | tuple[str, Unknown | int] | tuple[str, @Todo | str] | tuple[str, Unknown]]`
New: Argument to bound method `q_to_solr_params` is incorrect: Expected `list[tuple[str, str]]`, found `list[Unknown | tuple[str, Unknown | int] | tuple[str, @Todo | str]]`

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

paasta_tools/setup_kubernetes_job.py

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

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

pandas/core/arrays/boolean.py

[error] invalid-return-type - :245:12 -
Old: Return type does not match returned value: expected `tuple[ndarray[@Todo, Unknown], ndarray[@Todo, Unknown]]`, found `tuple[(Unknown & ndarray[object, object] & ~BooleanArray) | @Todo | ndarray[tuple[int], <class 'bool'>], Unknown | None]`
New: Return type does not match returned value: expected `tuple[ndarray[@Todo, Unknown], ndarray[@Todo, Unknown]]`, found `tuple[@Todo | ndarray[tuple[int], <class 'bool'>], Unknown | None]`

pandas/core/groupby/grouper.py

[warning] possibly-missing-attribute - :545:31 -
Old: Attribute `categories` on type `(Unknown & Series & ~Grouper & ~ndarray[object, object]) | (Index & ~ndarray[object, object]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[object, object]) | (Unknown & ~ndarray[object, object]) | (@Todo & BinGrouper & ~ndarray[object, object]) | (Unknown & <Protocol with members '__len__'> & ~ndarray[object, object])` may be missing
New: Attribute `categories` on type `(Unknown & ~ndarray[object, object]) | (Index & ~ndarray[object, object])` may be missing
[error] invalid-argument-type - :546:50 -
Old: Argument to function `recode_for_groupby` is incorrect: Expected `Categorical`, found `(Unknown & Series & ~Grouper & ~ndarray[object, object]) | (Index & ~ndarray[object, object]) | (Unknown & ExtensionArray & ~Grouper & ~ndarray[object, object]) | (Unknown & ~ndarray[object, object]) | (@Todo & BinGrouper & ~ndarray[object, object]) | (Unknown & <Protocol with members '__len__'> & ~ndarray[object, object])`
New: Argument to function `recode_for_groupby` is incorrect: Expected `Categorical`, found `(Unknown & ~ndarray[object, object]) | (Index & ~ndarray[object, object])`

pandas/core/indexes/datetimelike.py

[warning] possibly-missing-attribute - :199:42 -
Old: Attribute `asi8` on type `(Any & Index) | CategoricalIndex | Unknown` may be missing
New: Attribute `asi8` on type `Unknown | CategoricalIndex` may be missing

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

src/prefect/flows.py

[warning] possibly-missing-attribute - :288:34 -
Old: Attribute `__name__` on type `(((...) -> R@__init__) & (() -> object) & ~classmethod & ~staticmethod) | (@Todo & (() -> object) & ~classmethod & ~staticmethod) | (((...) -> R@__init__) & (() -> object) & ~staticmethod) | (((...) -> R@__init__) & (() -> object))` may be missing
New: Attribute `__name__` on type `(((...) -> R@__init__) & (() -> object)) | (@Todo & (() -> object) & ~classmethod & ~staticmethod)` may be missing
[warning] possibly-missing-attribute - :405:68 -
Old: Attribute `__name__` on type `(((...) -> R@__init__) & (() -> object) & ~classmethod & ~staticmethod) | (@Todo & (() -> object) & ~classmethod & ~staticmethod) | (((...) -> R@__init__) & (() -> object) & ~staticmethod) | (((...) -> R@__init__) & (() -> object))` may be missing
New: Attribute `__name__` on type `(((...) -> R@__init__) & (() -> object)) | (@Todo & (() -> object) & ~classmethod & ~staticmethod)` may be missing

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

psycopg/psycopg/_server_cursor_base.py

[error] unsupported-operator - :217:16 -
Old: Operator `+` is unsupported between objects of type `Template` and `(@Todo & Composable & ~Template & ~bytes) | (@Todo & Composable) | SQL`
New: Operator `+` is unsupported between objects of type `Template` and `(@Todo & Composable) | SQL`

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

src/_pytest/fixtures.py

[error] invalid-return-type - :1667:24 -
Old: Return type does not match returned value: expected `Scope`, found `Scope | (@Todo & ~None & ~(() -> object) & ~str) | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str) | (@Todo & ~str)`
New: Return type does not match returned value: expected `Scope`, found `Scope | (@Todo & ~str) | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str)`

testing/test_assertrewrite.py

[error] unsupported-operator - :140:28 -
Old: Operator `<=` is not supported for types `int` and `None`, in comparing `tuple[Literal[3], Literal[0]]` with `Unknown | tuple[Unknown | int, Unknown | int] | tuple[Unknown | int | None, Unknown | int | None]`
New: Operator `<=` is not supported for types `int` and `None`, in comparing `tuple[Literal[3], Literal[0]]` with `Unknown | tuple[Unknown | int | None, Unknown | int | None]`
[error] unsupported-operator - :140:38 -
Old: Operator `<=` is not supported for types `None` and `int`, in comparing `Unknown | tuple[Unknown | int, Unknown | int] | tuple[Unknown | int | None, Unknown | int | None]` with `tuple[Literal[6], Literal[3]]`
New: Operator `<=` is not supported for types `None` and `int`, in comparing `Unknown | tuple[Unknown | int | None, Unknown | int | None]` with `tuple[Literal[6], Literal[3]]`

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

src/schemathesis/generation/coverage.py

[error] invalid-argument-type - :502:52 - Argument to function `_negative_enum` is incorrect: Expected `list[Unknown]`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :507:52 - Argument to function `_negative_type` is incorrect: Expected `str | list[str]`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :521:62 - Argument to function `_negative_format` is incorrect: Expected `str`, found `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :523:28 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :527:28 - Operator `-` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] invalid-argument-type - :535:70 - Argument to function `_negative_multiple_of` is incorrect: Expected `int | float`, found `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :538:45 - Operator `<` is not supported for types `int` and `dict[Unknown, Unknown]`, in comparing `Literal[0]` with `Unknown | dict[Unknown, Unknown]`
[error] unsupported-operator - :538:49 - Operator `<` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[32768]`
[error] unsupported-operator - :550:55 - Operator `-` is unsupported between objects of type `(Unknown & ~Literal[1]) | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :550:55 - Operator `-` is unsupported between objects of type `(Unknown & ~Literal[1]) | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :568:45 - Operator `<` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[32768]`
[error] unsupported-operator - :570:51 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :570:51 - Operator `+` is unsupported between objects of type `Unknown | dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :574:32 - Operator `>` is not supported for types `dict[Unknown, Unknown]` and `int`, in comparing `Unknown | dict[Unknown, Unknown]` with `Literal[100]`
[error] invalid-argument-type - :599:66 - Argument to function `_negative_required` is incorrect: Expected `list[str]`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - :519:55 - Argument to function `_negative_pattern` is incorrect: Expected `str`, found `Unknown | dict[Unknown, Unknown]`

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

src/scikit_build_core/build/_wheelfile.py

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

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

sklearn/datasets/_samples_generator.py

[error] invalid-argument-type - :1144:60 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `(Unknown & ~Real) | (float & ~Real) | @Todo`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `@Todo | (float & ~Real)`

sklearn/linear_model/_logistic.py

[error] invalid-argument-type - :454:27 -
Old: Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & ~Integral) | Literal[10] | @Todo`
New: Argument to function `len` is incorrect: Expected `Sized`, found `@Todo | Literal[10]`
[error] invalid-argument-type - :455:27 -
Old: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `(Unknown & ~Integral) | Literal[10] | @Todo`
New: Argument to function `__new__` is incorrect: Expected `Iterable[Unknown]`, found `@Todo | Literal[10]`

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

scipy/integrate/_quad_vec.py

[error] no-matching-overload - :383:38 - No overload matches arguments
[error] unsupported-operator - :392:40 -
Old: Operator `-` is unsupported between objects of type `None | float` and `Unknown | int | float | floating[Any]`
New: Operator `-` is unsupported between objects of type `None | float` and `Unknown | int | float`
[error] no-matching-overload - :419:42 - No overload matches arguments
[error] unsupported-operator - :420:20 -
Old: Operator `<` is not supported for types `None` and `int`, in comparing `None | float | Unknown` with `Unknown | int | float | floating[Any]`
New: Operator `<` is not supported for types `None` and `int`, in comparing `None | float | Unknown` with `Unknown | int | float`

scipy/optimize/_lsq/least_squares.py

[warning] possibly-missing-attribute - :158:8 -
Old: Attribute `ndim` on type `(Unknown & ~None & ~Literal["jac"]) | float | @Todo` may be missing
New: Attribute `ndim` on type `@Todo | float` may be missing
[warning] possibly-missing-attribute - :161:8 -
Old: Attribute `shape` on type `(Unknown & ~None & ~Literal["jac"]) | float | @Todo` may be missing
New: Attribute `shape` on type `@Todo | float` may be missing

scipy/optimize/_shgo.py

[warning] possibly-missing-implicit-call - :517:17 -
Old: Method `__setitem__` of type `(Unknown & ~Top[dict[Unknown, Unknown]]) | None | @Todo | dict[Unknown, Unknown]` may be missing
New: Method `__setitem__` of type `@Todo | None | dict[Unknown, Unknown]` may be missing

scipy/signal/tests/test_windows.py

[warning] possibly-missing-attribute - :798:25 -
Old: Attribute `__name__` on type `Unknown | ((M, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, at, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, NW, Kmax=None, sym=bool, norm=None, return_ratios=bool, *, xp=None, device=None) -> Unknown) | ((M, center=None, tau=float, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, std, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, a, sym=bool) -> Unknown) | ((M, p, sig, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, alpha, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, beta, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, beta, *, sym=bool, xp=None, device=None) -> Unknown) | ((M, *, sym=bool, xp=None, device=None) -> Unknown) | ((M, nbar=int, sll=int, norm=bool, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, alpha=float, sym=bool, *, xp=None, device=None) -> Unknown)` may be missing
New: Attribute `__name__` on type `Unknown | ((M, *, sym=bool, xp=None, device=None) -> Unknown) | ((M, at, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, NW, Kmax=None, sym=bool, norm=None, return_ratios=bool, *, xp=None, device=None) -> Unknown) | ((M, std, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, a, sym=bool) -> Unknown) | ((M, p, sig, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, alpha, sym=bool, *, xp=None, device=None) -> Unknown) | ((M, beta, *, sym=bool, xp=None, device=None) -> Unknown)` may be missing

scipy/sparse/_base.py

[warning] possibly-missing-attribute - :676:55 -
Old: Attribute `__name__` on type `Unknown | ((a: object, b: object, /) -> Any) | ((a: @Todo, b: @Todo, /) -> Any)` may be missing
New: Attribute `__name__` on type `Unknown | ((a: @Todo, b: @Todo, /) -> Any)` may be missing

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

pkg_resources/tests/test_resources.py

[error] invalid-assignment - :165:9 -
Old: Object of type `None` is not assignable to attribute `test_attr` on type `Unknown | (@Todo & ~AlwaysFalsy) | EmptyProvider`
New: Object of type `None` is not assignable to attribute `test_attr` on type `Unknown | EmptyProvider`
[error] invalid-assignment - :175:9 -
Old: Object of type `None` is not assignable to attribute `_test_attr` on type `Unknown | (@Todo & ~AlwaysFalsy) | EmptyProvider`
New: Object of type `None` is not assignable to attribute `_test_attr` on type `Unknown | EmptyProvider`

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

static_frame/test/property/strategies.py

[error] invalid-argument-type - :927:17 -
Old: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `(bound method type[Index[Any]].from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any]) | (bound method <class 'Index'>.from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any])`
New: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `bound method type[Index[Any]].from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any]`

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

sympy/core/evalf.py

[error] invalid-assignment - :1410:5 -
Old: Object of type `dict[Unknown | <class 'Symbol'> | <class 'Dummy'> | <class 'Float'> | <class 'Rational'> | <class 'Integer'> | <class 'Zero'> | <class 'One'> | <class 'Half'> | <class 'Pi'> | <class 'Exp1'> | <class 'ImaginaryUnit'> | <class 'NegativeOne'> | <class 'ComplexInfinity'> | <class 'NaN'> | <class 'exp'> | <class 'cos'> | <class 'sin'> | <class 'tan'> | <class 'Add'> | <class 'Mul'> | <class 'Pow'> | <class 'log'> | <class 'atan'> | <class 'Abs'> | <class 're'> | <class 'im'> | <class 'floor'> | <class 'ceiling'> | <class 'Integral'> | <class 'Sum'> | <class 'Product'> | <class 'Piecewise'> | <class 'AlgebraicNumber'>, Unknown | ((x: Expr, prec: int, options: dict[str, Any]) -> Any) | ((expr: Float, prec: int, options: dict[str, Any]) -> Any) | ((expr: Rational, prec: int, options: dict[str, Any]) -> Any) | ((expr: Integer, prec: int, options: dict[str, Any]) -> Any) | ((x, prec, options) -> Unknown) | ((expr: exp, prec: int, options: dict[str, Any]) -> Any) | ((v: Expr, prec: int, options: dict[str, Any]) -> Any) | ((v: Add, prec: int, options: dict[str, Any]) -> Any) | ((v: Mul, prec: int, options: dict[str, Any]) -> Any) | ((v: Pow, prec: int, options) -> Any) | ((expr: log, prec: int, options: dict[str, Any]) -> Any) | ((v: atan, prec: int, options: dict[str, Any]) -> Any) | ((expr: Abs, prec: int, options: dict[str, Any]) -> Any) | ((expr: re, prec: int, options: dict[str, Any]) -> Any) | ((expr: im, prec: int, options: dict[str, Any]) -> Any) | ((expr: floor, prec: int, options: dict[str, Any]) -> Any) | ((expr: ceiling, prec: int, options: dict[str, Any]) -> Any) | ((expr: Integral, prec: int, options: dict[str, Any]) -> Any) | ((expr: Sum, prec: int, options: dict[str, Any]) -> Any) | ((expr: Product, prec: int, options: dict[str, Any]) -> Any) | ((expr: Expr, prec: int, options: dict[str, Any]) -> Any) | ((a: AlgebraicNumber, prec: int, options: dict[str, Any]) -> Any)]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`
New: Object of type `dict[Unknown | <class 'Symbol'> | <class 'Dummy'> | <class 'Float'> | <class 'Rational'> | <class 'Integer'> | <class 'Zero'> | <class 'One'> | <class 'Half'> | <class 'Pi'> | <class 'Exp1'> | <class 'ImaginaryUnit'> | <class 'NegativeOne'> | <class 'ComplexInfinity'> | <class 'NaN'> | <class 'exp'> | <class 'cos'> | <class 'sin'> | <class 'tan'> | <class 'Add'> | <class 'Mul'> | <class 'Pow'> | <class 'log'> | <class 'atan'> | <class 'Abs'> | <class 're'> | <class 'im'> | <class 'floor'> | <class 'ceiling'> | <class 'Integral'> | <class 'Sum'> | <class 'Product'> | <class 'Piecewise'> | <class 'AlgebraicNumber'>, Unknown | ((x: Expr, prec: int, options: dict[str, Any]) -> Any) | ((expr: Float, prec: int, options: dict[str, Any]) -> Any) | ((expr: Integer, prec: int, options: dict[str, Any]) -> Any) | ((x, prec, options) -> Unknown) | ((expr: exp, prec: int, options: dict[str, Any]) -> Any) | ((v: Add, prec: int, options: dict[str, Any]) -> Any) | ((v: Mul, prec: int, options: dict[str, Any]) -> Any) | ((v: Pow, prec: int, options) -> Any) | ((expr: log, prec: int, options: dict[str, Any]) -> Any) | ((v: atan, prec: int, options: dict[str, Any]) -> Any) | ((expr: Abs, prec: int, options: dict[str, Any]) -> Any) | ((expr: re, prec: int, options: dict[str, Any]) -> Any) | ((expr: im, prec: int, options: dict[str, Any]) -> Any) | ((expr: floor, prec: int, options: dict[str, Any]) -> Any) | ((expr: ceiling, prec: int, options: dict[str, Any]) -> Any) | ((expr: Integral, prec: int, options: dict[str, Any]) -> Any) | ((expr: Sum, prec: int, options: dict[str, Any]) -> Any) | ((expr: Product, prec: int, options: dict[str, Any]) -> Any) | ((a: AlgebraicNumber, prec: int, options: dict[str, Any]) -> Any)]` is not assignable to `dict[type[Expr], (Expr, int, dict[str, Any], /) -> Any]`

sympy/holonomic/holonomic.py

[error] unsupported-operator - :2557:12 -
Old: Operator `/` is unsupported between objects of type `(Zero & ~Top[FracElement[Unknown]]) | (Unknown & ~Top[PolyElement[Unknown]] & ~Top[FracElement[Unknown]]) | @Todo` and `(Zero & ~Top[FracElement[Unknown]]) | (Unknown & ~Top[PolyElement[Unknown]] & ~Top[FracElement[Unknown]]) | @Todo`
New: Operator `/` is unsupported between objects of type `(Zero & ~Top[FracElement[Unknown]]) | @Todo` and `(Zero & ~Top[FracElement[Unknown]]) | @Todo`

sympy/solvers/solveset.py

[warning] possibly-missing-attribute - :1293:26 -
Old: Attribute `as_expr_set_pairs` on type `(Unknown & ~BooleanTrue & ~arg) | (Unknown & ~arg) | (Expr & ~arg)` may be missing
New: Attribute `as_expr_set_pairs` on type `(Unknown & ~arg) | (Expr & ~arg)` may be missing

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

references/depth/stereo/transforms.py

[error] invalid-return-type - :601:16 - Return type does not match returned value: expected `tuple[tuple[Unknown, Unknown], tuple[@Todo, @Todo], tuple[@Todo, @Todo]]`, found `tuple[tuple[Unknown, Unknown], tuple[(@Todo & None) | Unknown, (@Todo & None) | Unknown], tuple[(@Todo & None) | Unknown, ...]]`
[error] invalid-assignment - :580:9 -
Old: Object of type `tuple[None | Unknown, ...] | tuple[@Todo, @Todo]` is not assignable to `tuple[@Todo, @Todo]`
New: Object of type `tuple[None | Unknown, ...]` is not assignable to `tuple[@Todo, @Todo]`

test/test_transforms_v2.py

[warning] possibly-missing-attribute - :6763:40 -
Old: Attribute `__name__` on type `Unknown | ((inpt: Unknown) -> Unknown) | ((inpt: Unknown) -> int) | ((pic, mode=None) -> Unknown) | ((inpt: Unknown, displacement: Unknown, interpolation: InterpolationMode | int = InterpolationMode, fill: @Todo = None) -> Unknown) | ((inpt: Unknown, num_output_channels: int = int) -> Unknown)` may be missing
New: Attribute `__name__` on type `Unknown | ((inpt: Unknown) -> Unknown) | ((inpt: Unknown) -> int) | ((pic, mode=None) -> Unknown) | ((inpt: Unknown, displacement: Unknown, interpolation: InterpolationMode | int = InterpolationMode, fill: @Todo = None) -> Unknown)` may be missing

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

xarray/backends/api.py

[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `bool`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `bool`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 -
Old: Argument to function `open_dataset` is incorrect: Expected `str | None`, found `@Todo | None | (@Todo & ~AlwaysFalsy) | dict[Unknown, Unknown]`
New: Argument to function `open_dataset` is incorrect: Expected `Literal["coordinates", "all"] | bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 - Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 - Argument to function `open_dataset` is incorrect: Expected `bool | None`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 - Argument to function `open_dataset` is incorrect: Expected `bool`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 - Argument to function `open_dataset` is incorrect: Expected `bool`, found `@Todo | None | dict[Unknown, Unknown]`
[error] invalid-argument-type - :1624:27 - Argument to function `open_dataset` is incorrect: Expected `str | None`, found `@Todo | None | dict[Unknown, Unknown]`

xarray/core/dataarray.py

[error] invalid-assignment - :450:21 -
Old: Object of type `list[Unknown | (Any & ~DataArray & ~Top[Series[Any]] & ~DataFrame) | (ReprObject & ~Top[Series[Any]] & ~DataFrame)]` is not assignable to `Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable | ndarray[@Todo, Unknown]] | Mapping[Unknown, Unknown] | None`
New: Object of type `list[Unknown | (ReprObject & ~Top[Series[Any]] & ~DataFrame)]` is not assignable to `Sequence[Sequence[Unknown] | Index[Any] | DataArray | Variable | ndarray[@Todo, Unknown]] | Mapping[Unknown, Unknown] | None`

xarray/plot/utils.py

[error] unsupported-operator - :301:49 -
Old: Operator `-` is unsupported between objects of type `(Unknown & ~Iterable[object] & ~None & ~Literal[1]) | list[Unknown] | (Unknown & ~None & ~Literal[1])` and `Literal[1]`
New: Operator `-` is unsupported between objects of type `(Unknown & ~None & ~Literal[1]) | list[Unknown]` and `Literal[1]`

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

zerver/lib/rest.py

[error] invalid-argument-type - :215:43 -
Old: Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | typing.TypeVar`
New: Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | ((...) -> HttpResponse) | typing.TypeVar`

zerver/lib/scim.py

[error] invalid-argument-type - :621:44 - Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[Any, Any, Any], /) -> LiteralString, (key: SupportsIndex | slice[Any, Any, Any], /) -> str]` cannot be called with key of type `Literal["value"]` on object of type `str`

zerver/tests/test_openapi.py

[warning] possibly-missing-attribute - :600:58 -
Old: Attribute `__name__` on type `(Unknown & (() -> object) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | (((...) -> Unknown) & (() -> object) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | (Unknown & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | ((...) -> Unknown)` may be missing
New: Attribute `__name__` on type `(Unknown & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | (((...) -> Unknown) & (() -> object) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | ((...) -> Unknown)` may be missing