Summary

Comparing branches/commits:
Old: main (merge base) c7ff9826
New: 21296/merge efa99025
Lint Rule Removed Added Changed
Total 120 176 29
invalid-argument-type 2 98 13
unused-ignore-comment 72 2 0
no-matching-overload 1 28 0
unresolved-attribute 17 8 0
invalid-assignment 1 14 4
unsupported-operator 2 9 2
invalid-return-type 4 3 4
type-assertion-failure 11 0 0
redundant-cast 3 5 0
invalid-type-form 0 6 0
possibly-missing-attribute 3 0 3
possibly-unresolved-reference 3 0 0
division-by-zero 0 2 0
invalid-context-manager 0 0 2
invalid-parameter-default 0 1 0
not-iterable 0 0 1
unknown-argument 1 0 0

AutoSplit (https://github.com/Toufool/AutoSplit)

src/user_profile.py

[error] invalid-assignment - :145:44 - Invalid assignment to key "screenshot_on" with declared type `list[Literal["split", "start", "pause", "reset", "skip", "undo"]]` on TypedDict `UserProfileDict`: value of type `list[str]`

Expression (https://github.com/cognitedata/Expression)

expression/collections/block.py

[warning] unused-ignore-comment - :940:30 - Unused blanket `type: ignore` directive
[error] invalid-return-type - :271:16 - Return type does not match returned value: expected `_TSourceSum@sum | Literal[0]`, found `int`
[error] invalid-return-type - :934:12 - Return type does not match returned value: expected `_TSourceSum@sum | Literal[0]`, found `int`

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

altair/datasets/_reader.py

[error] invalid-return-type - :466:41 - Function can implicitly return `None`, which is not assignable to return type `Reader[Any, Any]`

altair/utils/html.py

[warning] unused-ignore-comment - :394:57 - Unused blanket `type: ignore` directive

tests/test_datasets.py

[error] invalid-argument-type - :267:23 - Argument to function `infer_backend` is incorrect: Expected `Sequence[Literal["polars", "pandas", "pandas[pyarrow]", "pyarrow"]]`, found `tuple[Literal["nonexistent_mod_1"], Literal["nonexistent_mod_2"], Literal["nonexistent_mod_3"], Literal["nonexistent_mod_4"]]`
[warning] unused-ignore-comment - :350:44 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :358:35 - Unused blanket `type: ignore` directive

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

tests/arti/types/test_python_adapters.py

[error] invalid-type-form - :91:52 - Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
[error] invalid-type-form - :91:57 - Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
[error] invalid-type-form - :103:59 - Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member
[error] invalid-type-form - :105:40 - Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member

arviz (https://github.com/arviz-devs/arviz)

arviz/data/inference_data.py

[error] no-matching-overload - :500:13 - No overload of bound method `to_netcdf` matches arguments

arviz/tests/base_tests/test_stats.py

[error] invalid-argument-type - :191:29 - Argument to function `compare` is incorrect: Expected `Literal["loo", "waic"] | None`, found `Literal["Unknown"]`

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

beartype/_data/typing/datatyping.py

[warning] unused-ignore-comment - :126:74 - Unused blanket `type: ignore` directive

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

src/bokeh/core/property/visual.pyi

[error] invalid-type-form - :48:36 - Variable of type `UnionType` is not allowed in a type expression

src/bokeh/embed/bundle.py

[error] invalid-argument-type - :184:37 - Argument to bound method `clone` is incorrect: Expected `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]] | None`, found `list[str]`

src/bokeh/layouts.py

[error] invalid-argument-type - :386:9 - Argument is incorrect: Expected `Literal["auto"] | Drag | ToolProxy | None`, found `ToolProxy | Tool | Unknown | UndefinedType`
[error] invalid-argument-type - :387:9 - Argument is incorrect: Expected `Literal["auto"] | InspectTool | ToolProxy | Sequence[InspectTool] | None`, found `ToolProxy | Tool | Unknown | UndefinedType`
[error] invalid-argument-type - :388:9 - Argument is incorrect: Expected `Literal["auto"] | Scroll | ToolProxy | None`, found `ToolProxy | Tool | Unknown | UndefinedType`
[error] invalid-argument-type - :389:9 - Argument is incorrect: Expected `Literal["auto"] | Tap | ToolProxy | None`, found `ToolProxy | Tool | Unknown | UndefinedType`
[error] invalid-argument-type - :390:9 - Argument is incorrect: Expected `Literal["auto"] | GestureTool | ToolProxy | None`, found `ToolProxy | Tool | Unknown | UndefinedType`
[error] invalid-argument-type - :355:35 -
Old: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `@Todo | Drag | ToolProxy | None`
New: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `Literal["auto"] | Drag | ToolProxy | None`
[error] invalid-argument-type - :356:38 -
Old: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `@Todo | InspectTool | ToolProxy | Sequence[InspectTool] | None`
New: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `Literal["auto"] | InspectTool | ToolProxy | Sequence[InspectTool] | None`
[error] invalid-argument-type - :357:37 -
Old: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `@Todo | Scroll | ToolProxy | None`
New: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `Literal["auto"] | Scroll | ToolProxy | None`
[error] invalid-argument-type - :358:34 -
Old: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `@Todo | Tap | ToolProxy | None`
New: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `Literal["auto"] | Tap | ToolProxy | None`
[error] invalid-argument-type - :359:36 -
Old: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `@Todo | GestureTool | ToolProxy | None`
New: Argument to function `map_to_proxy` is incorrect: Expected `Tool | Literal["auto"] | None`, found `Literal["auto"] | GestureTool | ToolProxy | None`
[error] invalid-assignment - :593:17 -
Old: Object of type `@Todo & ~None` is not assignable to attribute `sizing_mode` on type `row | col`
New: Object of type `Literal["stretch_width", "stretch_height", "stretch_both", "scale_width", "scale_height", ... omitted 3 literals]` is not assignable to attribute `sizing_mode` on type `row | col`

src/bokeh/plotting/_figure.py

[error] invalid-argument-type - :198:48 - Argument to function `get_scale` is incorrect: Expected `Literal["linear", "log", "datetime", "timedelta", "mercator", "auto"] | None`, found `Unknown | ParameterizedProperty[Unknown | None]`
[error] invalid-argument-type - :199:48 - Argument to function `get_scale` is incorrect: Expected `Literal["linear", "log", "datetime", "timedelta", "mercator", "auto"] | None`, found `Unknown | ParameterizedProperty[Unknown | None]`
[error] invalid-argument-type - :209:13 - Argument to function `process_active_tools` is incorrect: Expected `Drag | str | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :210:13 - Argument to function `process_active_tools` is incorrect: Expected `list[InspectTool] | InspectTool | str | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :211:13 - Argument to function `process_active_tools` is incorrect: Expected `Scroll | str | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :212:13 - Argument to function `process_active_tools` is incorrect: Expected `Tap | str | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :213:13 - Argument to function `process_active_tools` is incorrect: Expected `GestureTool | str | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :201:37 - Argument to function `process_axis_and_grid` is incorrect: Expected `Literal["linear", "log", "datetime", "timedelta", "mercator", "auto"] | None`, found `Unknown | ParameterizedProperty[Unknown | None]`
[error] invalid-argument-type - :201:55 - Argument to function `process_axis_and_grid` is incorrect: Expected `Literal["above", "below", "left", "right"] | None`, found `Unknown | Nullable[Unknown]`
[error] invalid-argument-type - :202:37 - Argument to function `process_axis_and_grid` is incorrect: Expected `Literal["linear", "log", "datetime", "timedelta", "mercator", "auto"] | None`, found `Unknown | ParameterizedProperty[Unknown | None]`
[error] invalid-argument-type - :202:55 - Argument to function `process_axis_and_grid` is incorrect: Expected `Literal["above", "below", "left", "right"] | None`, found `Unknown | Nullable[Unknown]`

src/bokeh/plotting/_graph.py

[error] invalid-argument-type - :131:9 -
Old: Argument is incorrect: Expected `Glyph | str`, found `Glyph | None`
New: Argument is incorrect: Expected `Glyph`, found `Glyph | None`
[error] invalid-argument-type - :149:9 -
Old: Argument is incorrect: Expected `Glyph | str`, found `Glyph | None`
New: Argument is incorrect: Expected `Glyph`, found `Glyph | None`

src/bokeh/plotting/_renderer.py

[error] invalid-argument-type - :127:9 -
Old: Argument is incorrect: Expected `Glyph | str`, found `Glyph | None`
New: Argument is incorrect: Expected `Glyph`, found `Glyph | None`

src/bokeh/plotting/gmap.py

[error] invalid-argument-type - :93:13 - Argument to function `process_active_tools` is incorrect: Expected `list[InspectTool] | InspectTool | str | None`, found `str | InspectTool | Sequence[InspectTool] | None`

src/bokeh/resources.py

[error] invalid-assignment - :316:9 - Object of type `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]] | list[str]` is not assignable to attribute `components` of type `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]]`
[error] invalid-argument-type - :379:13 - Argument to bound method `__init__` is incorrect: Expected `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]] | None`, found `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]] | list[str]`
[error] invalid-argument-type - :471:39 - Argument to function `__call__` is incorrect: Expected `list[str]`, found `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]]`
[error] invalid-argument-type - :476:42 - Argument to function `__call__` is incorrect: Expected `list[str]`, found `list[Literal["bokeh", "bokeh-gl", "bokeh-widgets", "bokeh-tables", "bokeh-mathjax", "bokeh-api"]]`

src/bokeh/transform.py

[error] invalid-argument-type - :285:13 - Argument is incorrect: Expected `Sequence[Literal["asterisk", "circle", "circle_cross", "circle_dot", "circle_x", ... omitted 23 literals]]`, found `Sequence[str]`

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

discord/state.py

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

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

freqtrade/exchange/exchange.py

[error] invalid-return-type - :2133:16 - Return type does not match returned value: expected `Literal["bid", "ask"]`, found `Unknown | str`

freqtrade/strategy/parameters.py

[error] unsupported-operator - :287:23 - Operator `*` is unsupported between objects of type `object` and `int`
[error] unsupported-operator - :288:24 - Operator `*` is unsupported between objects of type `object` and `int`

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

hydpy/core/optiontools.py

[error] type-assertion-failure - :514:9 - Argument does not have asserted type `Never`
[error] type-assertion-failure - :583:9 - Argument does not have asserted type `Never`
[error] type-assertion-failure - :648:9 - Argument does not have asserted type `Never`

hydpy/core/devicetools.py

[error] invalid-argument-type - :2269:27 - Argument to function `_assert_never` is incorrect: Expected `Never`, found `@Todo & ~Literal["newsim"] & ~Literal["obs"] & ~Literal["obs_newsim"] & ~Literal["obs_bi"] & ~Literal["oldsim_bi"] & ~Literal["obs_oldsim_bi"] & ~Literal["newsim_update"] & ~Literal["obs_newsim_update"] & ~Literal["oldsim"] & ~Literal["obs_oldsim"]`
[error] type-assertion-failure - :2383:13 - Argument does not have asserted type `Never`
[error] type-assertion-failure - :2399:13 - Argument does not have asserted type `Never`

hydpy/core/filetools.py

[error] type-assertion-failure - :1684:21 - Argument does not have asserted type `Never`

hydpy/core/hydpytools.py

[error] type-assertion-failure - :2743:17 - Argument does not have asserted type `Never`

hydpy/core/netcdftools.py

[warning] unused-ignore-comment - :1946:69 - Unused blanket `type: ignore` directive
[error] invalid-context-manager - :2785:18 -
Old: Object of type `Unknown | OptionContextStr[@Todo]` cannot be used with `with` because it does not correctly implement `__exit__`
New: Object of type `Unknown | OptionContextStr[Literal["npy", "asc", "nc"]]` cannot be used with `with` because it does not correctly implement `__exit__`

hydpy/core/sequencetools.py

[error] invalid-context-manager - :2565:14 -
Old: Object of type `Unknown | OptionContextStr[@Todo]` cannot be used with `with` because it does not correctly implement `__exit__`
New: Object of type `Unknown | OptionContextStr[Literal["none", "mean"]]` cannot be used with `with` because it does not correctly implement `__exit__`

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

ibis/backends/pyspark/__init__.py

[warning] possibly-unresolved-reference - :1245:9 - Name `spark_df` used when possibly not defined
[warning] possibly-unresolved-reference - :1301:9 - Name `spark_df` used when possibly not defined
[warning] possibly-unresolved-reference - :1348:9 - Name `spark_df` used when possibly not defined

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

jax/_src/pallas/mosaic_gpu/pipeline.py

[warning] redundant-cast - :267:28 - Value is already of type `int`
[warning] redundant-cast - :667:28 - Value is already of type `int`

jax/_src/pallas/pallas_call.py

[error] invalid-assignment - :1777:5 - Object of type `dict[Unknown | str, Unknown | CompilerParams]` is not assignable to `Mapping[Literal["mosaic_tpu", "triton", "mosaic_gpu"], CompilerParams] | CompilerParams | None`
[error] invalid-return-type - :1793:10 - Return type does not match returned value: expected `Mapping[Literal["mosaic_tpu", "triton", "mosaic_gpu"], CompilerParams]`, found `(Mapping[Literal["mosaic_tpu", "triton", "mosaic_gpu"], CompilerParams] & Top[FrozenDict[Unknown, Unknown]]) | (CompilerParams & Top[FrozenDict[Unknown, Unknown]]) | FrozenDict[Unknown, Unknown]`
[error] invalid-argument-type - :1475:39 -
Old: Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _pallas_call_lowering(ctx: LoweringRuleContext, *in_nodes, *, interpret: Any, backend: @Todo | None, **params) -> Unknown`
New: Argument to function `register_lowering` is incorrect: Expected `LoweringRule`, found `def _pallas_call_lowering(ctx: LoweringRuleContext, *in_nodes, *, interpret: Any, backend: Literal["mosaic_tpu", "triton", "mosaic_gpu"] | None, **params) -> Unknown`

jax/experimental/pallas/ops/gpu/all_gather_mgpu.py

[error] unsupported-operator - :91:6 -
Old: Operator `%` is unsupported between objects of type `int` and `int | None`
New: Operator `%` is unsupported between objects of type `@Todo | int` and `int | None`

jax/experimental/pallas/ops/gpu/reduce_scatter_mgpu.py

[error] unsupported-operator - :106:6 -
Old: Operator `%` is unsupported between objects of type `int` and `int | None`
New: Operator `%` is unsupported between objects of type `Unknown | Literal[1]` and `int | None`

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

kopf/on.py

[error] invalid-assignment - :899:9 - Object of type `frozenset[Unknown | str]` is not assignable to `Collection[Literal["CREATE", "UPDATE", "DELETE", "CONNECT"]] | None`

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

misc/python/materialize/scratch.py

[warning] redundant-cast - :186:25 - Value is already of type `str`

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

mesonbuild/interpreter/interpreter.py

[error] invalid-assignment - :3447: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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | 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 - :3479: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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | 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 `list[IncludeDirs]` 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | 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 `list[IncludeDirs]` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`
[error] invalid-assignment - :3516: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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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: @Todo | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["include_directories"]` and a value of type `list[IncludeDirs]` 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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["rust", "c"] | 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> 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_crate_type"], value: Literal["bin", "lib", "rlib", "dylib", "cdylib", "staticlib", "proc-macro"] | None, /) -> 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 | @Todo], /) -> 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["vala_header"], value: str | None, /) -> None, (key: Literal["vala_vapi"], value: str | None, /) -> None, (key: Literal["vala_gir"], value: str | None, /) -> None, (key: Literal["main_class"], value: str, /) -> None, (key: Literal["java_resources"], value: StructuredSources | None, /) -> None, (key: Literal["sources"], value: str | File | @Todo | ExtractedObjects | BuildTarget, /) -> None, (key: Literal["java_args"], value: list[str], /) -> None])` cannot be called with a key of type `Literal["include_directories"]` and a value of type `list[IncludeDirs]` on object of type `Executable | StaticLibrary | SharedLibrary | SharedModule | Jar`

mesonbuild/modules/codegen.py

[error] invalid-argument-type - :317:26 - Argument to bound method `extend` is incorrect: Expected `Iterable[Literal["lex", "flex", "reflex", "win_flex"]]`, found `list[Unknown | str]`
[error] invalid-assignment - :398:9 - Object of type `dict[Unknown | str, Unknown | list[str]]` is not assignable to `Mapping[Literal["yacc", "byacc", "bison", "win_bison"], list[str]]`

mesonbuild/mparser.py

[error] invalid-assignment - :671:1 - Object of type `dict[Unknown | str, Unknown | str]` is not assignable to `Mapping[str, Literal["==", "!=", "<", "<=", ">=", ... omitted 3 literals]]`
[error] invalid-return-type - :33:12 - Return type does not match returned value: expected `str`, found `bytes`

mesonbuild/wrap/wrap.py

[error] invalid-return-type - :561:20 -
Old: Return type does not match returned value: expected `tuple[str, @Todo]`, found `tuple[bytes, (@Todo & ~AlwaysFalsy) | Literal["meson"]]`
New: Return type does not match returned value: expected `tuple[str, Literal["meson", "cmake", "cargo"]]`, found `tuple[bytes, Literal["meson", "cmake", "cargo"]]`
[error] invalid-return-type - :606:16 -
Old: Return type does not match returned value: expected `tuple[str, @Todo]`, found `tuple[bytes, (@Todo & ~AlwaysFalsy) | Literal["meson"]]`
New: Return type does not match returned value: expected `tuple[str, Literal["meson", "cmake", "cargo"]]`, found `tuple[bytes, Literal["meson", "cmake", "cargo"]]`

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

mitmproxy/addons/next_layer.py

[error] type-assertion-failure - :338:17 - Argument does not have asserted type `Never`

mitmproxy/net/http/http1/read.py

[error] type-assertion-failure - :126:17 - Argument does not have asserted type `Never`

mitmproxy/net/http/validate.py

[error] type-assertion-failure - :131:17 - Argument does not have asserted type `Never`

mitmproxy/types.py

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

test/mitmproxy/addons/test_next_layer.py

[error] invalid-assignment - :444:5 - Object of type `None` is not assignable to `Literal["SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2", "TLSv1.3", ... omitted 4 literals]`

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

mypy/typeshed/stdlib/xml/sax/expatreader.pyi

[error] unsupported-operator - :12:24 - Operator `|` is unsupported between objects of type `typing.Literal` and `<class 'bool'>`

mypyc/irbuild/util.py

[error] invalid-assignment - :35:1 - Object of type `frozenset[Unknown | str]` is not assignable to `frozenset[Literal["native_class", "allow_interpreted_subclasses", "serializable", "free_list_len"]]`

mypy/typeshed/stdlib/_typeshed/__init__.pyi

[error] unsupported-operator - :223:27 - Operator `|` is unsupported between objects of type `typing.Literal` and `typing.Literal`
[error] unsupported-operator - :252:29 - Operator `|` is unsupported between objects of type `typing.Literal` and `typing.Literal`

mypy/typeshed/stdlib/array.pyi

[error] unsupported-operator - :14:24 - Operator `|` is unsupported between objects of type `typing.Literal` and `typing.Literal`

mypy/typeshed/stdlib/builtins.pyi

[error] unsupported-operator - :249:19 - Operator `|` is unsupported between objects of type `typing.Literal` and `typing.Literal`

mypy/typeshed/stdlib/math.pyi

[error] unsupported-operator - :98:19 - Operator `|` is unsupported between objects of type `typing.Literal` and `typing.Literal`

mypy/typeshed/stdlib/sqlite3/__init__.pyi

[error] unsupported-operator - :224:30 - Operator `|` is unsupported between objects of type `typing.Literal` and `None`

mypy/typeshed/stdlib/sys/__init__.pyi

[error] unsupported-operator - :306:30 - Operator `|` is unsupported between objects of type `typing.Literal` and `None`

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

openlibrary/plugins/worksearch/code.py

[error] invalid-argument-type - :301:59 -
Old: Argument to bound method `q_to_solr_params` is incorrect: Expected `list[tuple[str, str]]`, found `list[Unknown | tuple[str, Unknown | int]]`
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, str]]`

openlibrary/solr/data_provider.py

[error] no-matching-overload - :309:37 - No overload of function `sum` matches arguments

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

pandas/io/formats/csvs.py

[warning] unused-ignore-comment - :266:40 - Unused blanket `type: ignore` directive

pandas/core/array_algos/quantile.py

[error] no-matching-overload - :145:12 - No overload of function `percentile` matches arguments
[error] no-matching-overload - :218:16 - No overload of function `percentile` matches arguments

pandas/io/common.py

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

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

tests/pandas/test_decorators.py

[warning] unused-ignore-comment - :850:45 - Unused blanket `type: ignore` directive

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

src/pip/_vendor/rich/console.py

[warning] redundant-cast - :1540:43 - Value is already of type `Literal["left", "center", "right"]`

src/pip/_vendor/distlib/util.py

[error] invalid-argument-type - :1637:47 - Argument to function `reader` is incorrect: Expected `Literal[0, 1, 2, 3]`, found `Unknown | str`
[error] invalid-argument-type - :1657:47 - Argument to function `writer` is incorrect: Expected `Literal[0, 1, 2, 3]`, found `Unknown | str`

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

src/poetry/console/commands/build.py

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

tests/console/commands/test_build.py

[warning] unused-ignore-comment - :223:84 - Unused blanket `type: ignore` directive

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

src/prefect/_experimental/sla/client.py

[error] invalid-argument-type - :38:13 - Argument to bound method `request` is incorrect: Expected `Literal["/admin/database/clear", "/admin/database/create", "/admin/database/drop", "/admin/settings", "/admin/version", ... omitted 137 literals]`, found `str`
[error] invalid-argument-type - :79:13 - Argument to bound method `request` is incorrect: Expected `Literal["/admin/database/clear", "/admin/database/create", "/admin/database/drop", "/admin/settings", "/admin/version", ... omitted 137 literals]`, found `str`

src/prefect/cli/api.py

[error] invalid-argument-type - :239:21 - Argument to bound method `request` is incorrect: Expected `Literal["/admin/database/clear", "/admin/database/create", "/admin/database/drop", "/admin/settings", "/admin/version", ... omitted 137 literals]`, found `str`

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

pwndbg/aglib/disasm/disassembly.py

[error] invalid-argument-type - :550:62 - Argument to bound method `__init__` is incorrect: Expected `Literal["x86-64", "i386", "i8086", "mips", "aarch64", ... omitted 8 literals]`, found `None`

pwndbg/dbg/gdb/__init__.py

[warning] unused-ignore-comment - :774:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :785:25 - Unused blanket `type: ignore` directive

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

pydantic/json_schema.py

[error] type-assertion-failure - :1745:13 - Argument does not have asserted type `Never`

pydantic/v1/schema.py

[error] invalid-type-form - :962:34 - Type arguments for `Literal` must be `None`, a literal value (int, bool, str, or bytes), or an enum member

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

testing/test_scope.py

[warning] unused-ignore-comment - :41:64 - Unused blanket `type: ignore` directive

src/_pytest/fixtures.py

[error] invalid-argument-type - :1010: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))`
[error] invalid-argument-type - :564:43 -
Old: Argument to bound method `_check_scope` is incorrect: Expected `Scope`, found `Scope | (@Todo & ~str) | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str)`
New: 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 - :1032:16 -
Old: Attribute `value` may be missing on object of type `Scope | (@Todo & ~str) | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str)`
New: Attribute `value` may be missing on object of type `Scope | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & ~(() -> object) & ~str)`
[error] invalid-return-type - :1691:24 -
Old: Return type does not match returned value: expected `Scope`, found `Scope | (@Todo & ~str) | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str)`
New: Return type does not match returned value: expected `Scope`, found `Scope | (((str, Config, /) -> Literal["session", "package", "module", "class", "function"]) & ~(() -> object) & ~str)`

src/_pytest/mark/structures.py

[error] invalid-parameter-default - :520:13 - Default value of type `EllipsisType` is not assignable to annotated parameter type `Literal["session", "package", "module", "class", "function"] | None`

src/_pytest/python.py

[error] invalid-argument-type - :1569:20 -
Old: Argument to function `min` is incorrect: Argument type `Scope | Unknown | (((str, Config, /) -> @Todo) & ~(() -> object) & ~str)` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`
New: 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`

testing/python/metafunc.py

[warning] unused-ignore-comment - :137:60 - Unused blanket `type: ignore` directive

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

rich/console.py

[warning] redundant-cast - :1540:43 - Value is already of type `Literal["left", "center", "right"]`

tests/test_align.py

[error] invalid-argument-type - :18:22 - Argument to bound method `__init__` is incorrect: Expected `Literal["left", "center", "right"]`, found `None`
[error] invalid-argument-type - :20:22 - Argument to bound method `__init__` is incorrect: Expected `Literal["left", "center", "right"]`, found `Literal["middle"]`
[error] invalid-argument-type - :22:22 - Argument to bound method `__init__` is incorrect: Expected `Literal["left", "center", "right"]`, found `Literal[""]`
[error] invalid-argument-type - :24:22 - Argument to bound method `__init__` is incorrect: Expected `Literal["left", "center", "right"]`, found `Literal["LEFT"]`
[error] invalid-argument-type - :26:22 - Argument to bound method `__init__` is incorrect: Expected `Literal["top", "middle", "bottom"] | None`, found `Literal["somewhere"]`

tests/test_rule.py

[error] invalid-argument-type - :34:29 - Argument to bound method `rule` is incorrect: Expected `Literal["left", "center", "right"]`, found `Literal["foo"]`

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

rotkehlchen/chain/evm/decoding/curve/lend/utils.py

[error] invalid-argument-type - :107:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType]`
[error] invalid-argument-type - :112:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType]`
[error] invalid-argument-type - :118:17 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/chain/evm/decoding/velodrome/decoder.py

[error] invalid-argument-type - :477:17 - Argument to function `globaldb_get_general_cache_values` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_LP_TOKENS, CacheType.CURVE_POOL_TOKENS, CacheType.VELODROME_POOL_ADDRESS, CacheType.VELODROME_GAUGE_ADDRESS, CacheType.VELODROME_GAUGE_BRIBE_ADDRESS, ... omitted 21 literals]]`, found `list[Unknown | CacheType]`
[error] invalid-argument-type - :483:17 - Argument to function `globaldb_get_general_cache_values` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_LP_TOKENS, CacheType.CURVE_POOL_TOKENS, CacheType.VELODROME_POOL_ADDRESS, CacheType.VELODROME_GAUGE_ADDRESS, CacheType.VELODROME_GAUGE_BRIBE_ADDRESS, ... omitted 21 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/chain/evm/types.py

[warning] unused-ignore-comment - :87:70 - Unused blanket `type: ignore` directive

rotkehlchen/tasks/assets.py

[warning] unused-ignore-comment - :301:93 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :459:107 - Unused blanket `type: ignore` directive

rotkehlchen/accounting/export/csv.py

[warning] unused-ignore-comment - :309:107 - Unused blanket `type: ignore` directive

rotkehlchen/api/rest.py

[error] invalid-argument-type - :2890:60 - Argument to function `from_chain` is incorrect: Expected `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 7 literals]`, found `Unknown | SupportedBlockchain`
[warning] unused-ignore-comment - :1061:72 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2574:102 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2600:85 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2632:113 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2886:59 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :2906:35 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3137:90 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3147:92 - Unused blanket `type: ignore` directive
[error] unknown-argument - :4566:21 - Argument `signature` does not match any known parameter of bound method `get_or_create_transaction`
[warning] unused-ignore-comment - :4570:70 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4590:72 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :5432:67 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :5433:77 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :6015:96 - Unused blanket `type: ignore` directive

rotkehlchen/api/v1/resources.py

[warning] unused-ignore-comment - :786:41 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :811:41 - Unused blanket `type: ignore` directive

rotkehlchen/api/v1/schemas.py

[error] invalid-argument-type - :2986:50 - Argument to bound method `__init__` is incorrect: Expected `list[Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 3 literals]] | None`, found `list[ChainID]`
[error] invalid-argument-type - :4365:46 - Argument to bound method `__init__` is incorrect: Expected `list[Literal[ChainID.ETHEREUM, ChainID.OPTIMISM, ChainID.POLYGON_POS, ChainID.ARBITRUM_ONE, ChainID.BASE, ... omitted 3 literals]] | None`, found `list[ChainID]`
[warning] unused-ignore-comment - :330:39 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3286:91 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4055:74 - Unused blanket `type: ignore` directive

rotkehlchen/assets/utils.py

[warning] unused-ignore-comment - :574:96 - Unused blanket `type: ignore` directive

rotkehlchen/chain/aggregator.py

[error] invalid-argument-type - :384:40 - Argument to bound method `deactivate_module` is incorrect: Expected `Literal["makerdao_dsr", "makerdao_vaults", "uniswap", "loopring", "eth2", ... omitted 4 literals]`, found `str`
[error] invalid-argument-type - :386:38 - Argument to bound method `activate_module` is incorrect: Expected `Literal["makerdao_dsr", "makerdao_vaults", "uniswap", "loopring", "eth2", ... omitted 4 literals]`, found `str`
[error] unsupported-operator - :1174:13 - Operator `+=` is unsupported between objects of type `list[tuple[Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 5 literals], @Todo]]` and `list[tuple[SupportedBlockchain, @Todo] | Unknown]`
[error] invalid-argument-type - :1182:51 - Argument to bound method `append` is incorrect: Expected `tuple[Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 5 literals], @Todo]`, found `tuple[SupportedBlockchain | Unknown, @Todo]`
[error] invalid-assignment - :1234:17 - Object of type `SupportedBlockchain` is not assignable to `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 5 literals]`
[error] invalid-argument-type - :1243:17 - Argument to bound method `check_chains_and_add_accounts` is incorrect: Expected `list[Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 5 literals]]`, found `list[SupportedBlockchain]`
[warning] unused-ignore-comment - :995:66 - Unused blanket `type: ignore` directive
[warning] redundant-cast - :1042:35 - Value is already of type `EvmManager`
[warning] unused-ignore-comment - :1179:90 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1235:94 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1296:94 - Unused blanket `type: ignore` directive

rotkehlchen/chain/bitcoin/xpub.py

[warning] possibly-missing-attribute - :100:31 - Attribute `have_transactions` may be missing on object of type `Unknown | EvmManager`

rotkehlchen/chain/ethereum/modules/yearn/utils.py

[error] invalid-argument-type - :71:17 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/chain/evm/decoding/curve/curve_cache.py

[warning] unused-ignore-comment - :435:64 - Unused blanket `type: ignore` directive

rotkehlchen/chain/evm/decoding/curve/lend/decoder.py

[error] invalid-argument-type - :122:21 - Argument to function `globaldb_get_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType | str]`

rotkehlchen/chain/evm/decoding/decoder.py

[warning] unused-ignore-comment - :761:74 - Unused blanket `type: ignore` directive

rotkehlchen/chain/evm/decoding/velodrome/velodrome_cache.py

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

rotkehlchen/db/dbhandler.py

[error] invalid-return-type - :3764:16 - Return type does not match returned value: expected `list[Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 5 literals]]`, found `list[SupportedBlockchain]`

rotkehlchen/db/queried_addresses.py

[warning] unused-ignore-comment - :69:81 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :71:47 - Unused blanket `type: ignore` directive

rotkehlchen/db/settings.py

[warning] unused-ignore-comment - :197:83 - Unused blanket `type: ignore` directive

rotkehlchen/db/utils.py

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

rotkehlchen/externalapis/etherscan.py

[warning] unused-ignore-comment - :467:93 - Unused blanket `type: ignore` directive

rotkehlchen/inquirer.py

[warning] redundant-cast - :944:20 - Value is already of type `Literal[ChainID.ETHEREUM, ChainID.POLYGON_POS, ChainID.OPTIMISM, ChainID.ARBITRUM_ONE, ChainID.GNOSIS, ChainID.BASE, ChainID.BINANCE_SC]`

rotkehlchen/rotkehlchen.py

[warning] redundant-cast - :988:30 - Value is already of type `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, SupportedBlockchain.BASE, ... omitted 3 literals]`

rotkehlchen/tasks/manager.py

[error] invalid-argument-type - :347:76 - Argument to bound method `get_queried_range` is incorrect: Expected `Literal[SupportedBlockchain.ETHEREUM, SupportedBlockchain.OPTIMISM, SupportedBlockchain.AVALANCHE, SupportedBlockchain.POLYGON_POS, SupportedBlockchain.ARBITRUM_ONE, ... omitted 4 literals]`, found `SupportedBlockchain`
[error] no-matching-overload - :354:27 - No overload of bound method `get_chain_manager` matches arguments
[error] no-matching-overload - :389:28 - No overload of bound method `get_chain_manager` matches arguments
[error] no-matching-overload - :450:28 - No overload of bound method `get_chain_manager` matches arguments
[warning] unused-ignore-comment - :725:92 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :749:92 - Unused blanket `type: ignore` directive

rotkehlchen/tests/external_apis/test_morpho.py

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

rotkehlchen/tests/unit/decoders/test_curve_lend.py

[error] invalid-argument-type - :84:13 - Argument to function `globaldb_set_unique_cache_value` is incorrect: Expected `Iterable[str | Literal[CacheType.CURVE_POOL_ADDRESS, CacheType.MAKERDAO_VAULT_ILK, CacheType.CURVE_GAUGE_ADDRESS, CacheType.YEARN_VAULTS, CacheType.ENS_NAMEHASH, ... omitted 24 literals]]`, found `list[Unknown | CacheType]`

rotkehlchen/tests/unit/test_chains_aggregator.py

[error] invalid-argument-type - :51:54 - Argument to function `_module_name_to_class` is incorrect: Expected `Literal["makerdao_dsr", "makerdao_vaults", "uniswap", "loopring", "eth2", ... omitted 4 literals]`, found `Unknown | str`
[error] invalid-argument-type - :60:54 - Argument to function `_module_name_to_class` is incorrect: Expected `Literal["makerdao_dsr", "makerdao_vaults", "uniswap", "loopring", "eth2", ... omitted 4 literals]`, found `Unknown | str`

rotkehlchen/tests/unit/test_evm_names.py

[error] invalid-assignment - :40:5 - Object of type `dict[Unknown | str, Unknown | str]` is not assignable to `Mapping[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"], str]`
[error] invalid-argument-type - :49:59 - Argument to bound method `get_prioritized_names` is incorrect: Expected `Sequence[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"]]`, found `list[str]`
[error] invalid-assignment - :66:5 - Object of type `dict[Unknown | str, Unknown | None | str]` is not assignable to `Mapping[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"], str | None]`
[error] invalid-argument-type - :75:59 - Argument to bound method `get_prioritized_names` is incorrect: Expected `Sequence[Literal["blockchain_account", "ens_names", "ethereum_tokens", "global_addressbook", "hardcoded_mappings", "private_addressbook"]]`, found `list[str]`

rotkehlchen/types.py

[warning] unused-ignore-comment - :577:55 - Unused blanket `type: ignore` directive

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

sklearn/cluster/tests/test_hierarchical.py

[error] invalid-argument-type - :349:40 - Argument to function `linkage` is incorrect: Expected `Literal["single", "complete", "average", "weighted", "centroid", "median", "ward"]`, found `str`

sklearn/cluster/tests/test_k_means.py

[error] unresolved-attribute - :1049:15 - Object of type `spmatrix[float64]` has no attribute `toarray`
[error] unresolved-attribute - :1058:9 - Object of type `spmatrix[float64]` has no attribute `data`
[error] unresolved-attribute - :1058:24 - Object of type `spmatrix[float64]` has no attribute `indices`
[error] unresolved-attribute - :1074:15 - Object of type `spmatrix[float64]` has no attribute `toarray`

sklearn/decomposition/tests/test_truncated_svd.py

[error] unresolved-attribute - :19:5 - Object of type `spmatrix[float64]` has no attribute `data`
[error] unresolved-attribute - :19:28 - Object of type `spmatrix[float64]` has no attribute `data`

sklearn/feature_selection/_univariate_selection.py

[warning] possibly-missing-attribute - :109:35 - Attribute `size` may be missing on object of type `int | float | @Todo`

sklearn/linear_model/tests/test_sparse_coordinate_descent.py

[error] unresolved-attribute - :384:5 - Unresolved attribute `data` on type `spmatrix[float64]`.
[error] unresolved-attribute - :384:40 - Object of type `spmatrix[float64]` has no attribute `data`

sklearn/manifold/tests/test_t_sne.py

[error] no-matching-overload - :346:13 - No overload of function `squareform` matches arguments

sklearn/utils/tests/test_sparsefuncs.py

[error] no-matching-overload - :943:19 - No overload of function `norm` matches arguments

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

scipy/ndimage/tests/test_interpolation.py

[error] no-matching-overload - :100:29 - No overload of function `pad` matches arguments
[error] no-matching-overload - :462:20 - No overload of function `pad` matches arguments
[error] no-matching-overload - :1194:31 - No overload of function `pad` matches arguments

scipy/sparse/tests/test_arithmetic1d.py

[error] unresolved-attribute - :117:29 - Object of type `int` has no attribute `toarray`

scipy/_lib/cobyqa/cobyqa/main.py

[error] invalid-argument-type - :1505:26 - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :1505:26 - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :1505:26 - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

scipy/_lib/cobyqa/cobyqa/problem.py

[error] invalid-argument-type - :75:38 - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :75:38 - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :75:38 - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :469:38 - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :469:38 - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :469:38 - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

scipy/_lib/cobyqa/cobyqa/tests/test_problem.py

[error] invalid-argument-type - :63:30 - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :63:30 - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :63:30 - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :226:30 - Argument to function `printoptions` is incorrect: Expected `Literal["-", "+", " "] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :226:30 - Argument to function `printoptions` is incorrect: Expected `Literal["1.13", "1.21", "1.25", "2.1", False] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`
[error] invalid-argument-type - :226:30 - Argument to function `printoptions` is incorrect: Expected `Literal["fixed", "unique", "maxprec", "maxprec_equal"] | None`, found `Unknown | int | dict[Unknown | str, Unknown | ((x) -> Unknown)]`

scipy/signal/_filter_design.py

[error] unresolved-attribute - :2471:20 - Object of type `int` has no attribute `coef`
[error] unresolved-attribute - :2472:20 - Object of type `int` has no attribute `coef`

scipy/signal/tests/test_short_time_fft.py

[error] invalid-assignment - :232:9 - Invalid assignment to data descriptor attribute `fft_mode` on type `ShortTimeFFT` with custom `__set__` method
[error] invalid-argument-type - :249:62 - Argument to bound method `_x_slices` is incorrect: Expected `Literal["zeros", "edge", "even", "odd"]`, found `Literal["invalid"]`
[error] invalid-assignment - :315:5 - Object of type `Literal["invalid_typ"]` is not assignable to attribute `_fft_mode` of type `Literal["twosided", "centered", "onesided", "onesided2X"]`
[error] invalid-argument-type - :740:24 - Argument to bound method `stft` is incorrect: Expected `Literal["zeros", "edge", "even", "odd"]`, found `int`
[error] invalid-argument-type - :741:49 - Argument to bound method `stft_detrend` is incorrect: Expected `Literal["zeros", "edge", "even", "odd"]`, found `int`
[error] invalid-argument-type - :742:47 - Argument to bound method `stft_detrend` is incorrect: Expected `Literal["zeros", "edge", "even", "odd"]`, found `int`
[error] invalid-argument-type - :743:63 - Argument to bound method `stft_detrend` is incorrect: Expected `Literal["zeros", "edge", "even", "odd"]`, found `int`
[warning] unused-ignore-comment - :659:36 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :439:37 - Argument to bound method `__init__` is incorrect: Expected `Literal["twosided", "centered", "onesided", "onesided2X"]`, found `int | str | None`
[error] invalid-argument-type - :440:50 - Argument to bound method `from_dual` is incorrect: Expected `Literal["twosided", "centered", "onesided", "onesided2X"]`, found `int | str | None`

scipy/signal/tests/test_signaltools.py

[error] no-matching-overload - :470:28 - No overload of function `convolve` matches arguments
[error] no-matching-overload - :2712:30 - No overload of function `correlate` matches arguments
[error] no-matching-overload - :2718:34 - No overload of function `correlate` matches arguments

scipy/sparse/tests/test_base.py

[error] unresolved-attribute - :1631:33 - Object of type `int` has no attribute `toarray`

scipy/spatial/tests/test_distance.py

[error] no-matching-overload - :447:13 - No overload of function `cdist` matches arguments
[error] no-matching-overload - :449:13 - No overload of function `cdist` matches arguments
[error] no-matching-overload - :451:13 - No overload of function `cdist` matches arguments
[error] no-matching-overload - :738:13 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :740:13 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :742:13 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :840:19 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :864:19 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :1171:19 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :1197:19 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :2196:13 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :2246:19 - No overload of function `pdist` matches arguments
[error] no-matching-overload - :2267:19 - No overload of function `pdist` matches arguments

scipy/stats/_mstats_basic.py

[error] unresolved-attribute - :939:13 - Object of type `int` has no attribute `sum`

scipy/stats/_qmc.py

[warning] unused-ignore-comment - :445:56 - Unused blanket `type: ignore` directive

scipy/stats/_stats_py.py

[error] unresolved-attribute - :8520:43 - Object of type `int | float` has no attribute `dtype`

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

sphinx/util/typing.py

[warning] unused-ignore-comment - :553:72 - Unused blanket `type: ignore` directive

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

static_frame/core/frame.py

[error] invalid-argument-type - :9620:17 - Argument to function `writer` is incorrect: Expected `Literal[0, 1, 2, 3]`, found `Literal[0, 1, 2, 3, 4, 5]`

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

lib/streamlit/elements/widgets/time_widgets.py

[error] invalid-argument-type - :161:47 - Argument to function `_convert_datelike_to_date` is incorrect: Expected `date | str | None`, found `object`

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

sympy/series/approximants.py

[error] no-matching-overload - :109:19 - No overload of function `simplify` matches arguments

sympy/integrals/prde.py

[error] unresolved-attribute - :89:11 - Object of type `int` has no attribute `as_poly`
[error] unresolved-attribute - :89:61 - Object of type `int` has no attribute `as_poly`
[error] unresolved-attribute - :90:10 - Object of type `int` has no attribute `as_poly`
[error] unresolved-attribute - :854:24 - Object of type `int` has no attribute `as_numer_denom`

sympy/matrices/matrixbase.py

[error] invalid-assignment - :4913:25 - Method `__setitem__` of type `Overload[(key: SupportsIndex, value: Expr, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Expr], /) -> None]` cannot be called with a key of type `int` and a value of type `Unknown | int | float` on object of type `list[Expr]`

sympy/physics/continuum_mechanics/beam.py

[error] unresolved-attribute - :1297:21 - Object of type `int` has no attribute `atoms`

sympy/polys/numberfields/primes.py

[error] unresolved-attribute - :555:13 - Object of type `int` has no attribute `norm`
[warning] possibly-missing-attribute - :693:13 - Attribute `to_parent` may be missing on object of type `Unknown | int`

sympy/polys/rootoftools.py

[error] invalid-argument-type - :1230:25 - Argument to function `together` is incorrect: Expected `Expr`, found `int`

sympy/solvers/diophantine/diophantine.py

[error] unresolved-attribute - :2904:21 - Object of type `int` has no attribute `subs`

sympy/solvers/tests/test_solvers.py

[error] unresolved-attribute - :439:24 - Object of type `int` has no attribute `diff`
[error] unresolved-attribute - :440:24 - Object of type `int` has no attribute `diff`

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

references/detection/engine.py

[error] unresolved-attribute - :38:22 - Object of type `int` has no attribute `item`
[error] unresolved-attribute - :51:13 - Object of type `int` has no attribute `backward`

test/test_backbone_utils.py

[warning] possibly-missing-attribute - :184:9 -
Old: Attribute `backward` may be missing on object of type `int | Unknown`
New: Attribute `backward` may be missing on object of type `Literal[0] | Unknown`
[warning] possibly-missing-attribute - :225:9 -
Old: Attribute `backward` may be missing on object of type `int | Unknown`
New: Attribute `backward` may be missing on object of type `Literal[0] | Unknown`

torchvision/transforms/v2/_container.py

[warning] division-by-zero - :149:19 - Cannot divide object of type `float` by zero
[warning] division-by-zero - :149:19 - Cannot divide object of type `int` by zero

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

asv_bench/benchmarks/dataset_io.py

[error] invalid-argument-type - :133:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | DataArray | slice[Any, Any, Any]`
[error] invalid-argument-type - :157:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | DataArray | slice[Any, Any, Any]`
[error] invalid-argument-type - :185:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | DataArray | slice[Any, Any, Any]`
[error] invalid-argument-type - :229:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | DataArray | slice[Any, Any, Any]`

asv_bench/benchmarks/indexing.py

[error] invalid-argument-type - :100:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | int | slice[Any, Any, Any]`
[error] invalid-argument-type - :104:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | int`
[error] invalid-argument-type - :113:28 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | int | slice[Any, Any, Any]`
[error] invalid-argument-type - :119:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | int | slice[Any, Any, Any]`
[error] invalid-argument-type - :123:22 - Argument to bound method `isel` is incorrect: Expected `Literal["raise", "warn", "ignore"]`, found `Unknown | int`

xarray/backends/writers.py

[error] invalid-assignment - :838:9 - Object of type `Literal["netcdf4", "h5netcdf", "scipy"]` is not assignable to `Literal["netcdf4", "h5netcdf", "pydap"] | None`
[warning] unused-ignore-comment - :65:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :179:34 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :880:18 - Unused blanket `type: ignore` directive

xarray/coding/cftime_offsets.py

[error] invalid-argument-type - :197:41 - Argument to function `_get_day_of_month` is incorrect: Expected `Literal["start", "end"]`, found `@Todo | None`
[error] invalid-argument-type - :438:40 - Argument to function `roll_qtrday` is incorrect: Expected `Literal["start", "end"]`, found `@Todo | None`
[error] invalid-argument-type - :441:44 - Argument to function `_shift_month` is incorrect: Expected `Literal["start", "end"]`, found `@Todo | None`
[error] invalid-argument-type - :532:50 - Argument to function `_get_day_of_month` is incorrect: Expected `Literal["start", "end"]`, found `@Todo | None`
[error] invalid-argument-type - :535:44 - Argument to function `_shift_month` is incorrect: Expected `Literal["start", "end"]`, found `@Todo | None`

xarray/coding/times.py

[error] invalid-return-type - :1169:12 -
Old: Return type does not match returned value: expected `tuple[T_DuckArray@_eagerly_encode_cf_datetime, str, str]`, found `tuple[Unknown | ndarray[@Todo, Unknown], str, str | @Todo]`
New: Return type does not match returned value: expected `tuple[T_DuckArray@_eagerly_encode_cf_datetime, str, str]`, found `tuple[Unknown | ndarray[@Todo, Unknown], str, str]`

xarray/core/accessor_str.py

[warning] unused-ignore-comment - :852:64 - Unused blanket `type: ignore` directive

xarray/structure/concat.py

[error] not-iterable - :535:40 -
Old: Object of type `@Todo | Iterable[Hashable] | CombineKwargDefault` may not be iterable
New: Object of type `Iterable[Hashable] | CombineKwargDefault` may not be iterable
[error] invalid-argument-type - :549:32 -
Old: Argument to bound method `update` is incorrect: Expected `Iterable[Unknown]`, found `@Todo | Iterable[Hashable] | CombineKwargDefault`
New: Argument to bound method `update` is incorrect: Expected `Iterable[Unknown]`, found `Iterable[Hashable] | CombineKwargDefault`

xarray/tests/test_backends.py

[warning] unused-ignore-comment - :4816:56 - Unused blanket `type: ignore` directive

xarray/tests/test_cftime_offsets.py

[error] invalid-argument-type - :1552:39 - Argument to function `date_range` is incorrect: Expected `Literal["both", "neither", "left", "right"]`, found `Literal["foo"]`
[warning] unused-ignore-comment - :1304:86 - Unused blanket `type: ignore` directive

xarray/tests/test_combine.py

[warning] unused-ignore-comment - :1088:47 - Unused blanket `type: ignore` directive

xarray/tests/test_concat.py

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

xarray/tests/test_dataset.py

[warning] unused-ignore-comment - :2564:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3021:62 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3183:65 - Unused blanket `type: ignore` directive

xarray/tests/test_merge.py

[warning] unused-ignore-comment - :671:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :676:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :683:46 - Unused blanket `type: ignore` directive