Ecosystem report

Old: main (merge base) 74769e8b New: 23436/merge 9951c203
Lint Rule Removed Added Changed
Total 266 7 10
invalid-argument-type 265 0 10
unused-type-ignore-comment 0 7 0
no-matching-overload 1 0 0
Project Removed Added Changed
Total 266 7 10
core 49 0 0
prefect flaky 27 0 1
spack 28 0 0
dd-trace-py 24 0 2
altair 24 0 0
pandas 14 3 2
pip 15 0 1
apprise 12 0 2
werkzeug 9 0 1
bokeh 9 0 0
cloud-init 9 0 0
scikit-learn 8 0 0
ignite 5 0 0
jax 5 0 0
mkdocs 4 0 0
paasta 4 0 0
attrs 3 0 0
colour 3 0 0
discord.py 3 0 0
graphql-core 0 3 0

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

altair/vegalite/v6/api.py

[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `Literal["vega-lite", "vega"]`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `bool`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `dict[str, Any] | None`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `list[str] | None`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `Literal["vega-lite", "vega"]`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `bool`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `dict[str, Any] | None`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `to_dict` is incorrect: Expected `list[str] | None`, found `bool | Literal["vega-lite", "vega"] | list[str] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `SchemaBase | Literal["argmax", "argmin", "average", "count", "distinct", ... omitted 20 literals] | UndefinedType`, found `str | Any`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `SchemaBase | Literal["argmax", "argmin", "average", "count", "distinct", ... omitted 20 literals] | UndefinedType`, found `str | Any`

tests/vegalite/v6/test_api.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[SchemaBase | Mapping[str, Any]] | UndefinedType`, found `list[AggregatedFieldDef] | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `SchemaBase | Literal[True] | Mapping[str, Any] | UndefinedType`, found `str | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[SchemaBase | Mapping[str, Any]] | UndefinedType`, found `list[JoinAggregateFieldDef] | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | UndefinedType`, found `LookupData | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | UndefinedType`, found `LookupSelection | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `list[str] | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | SchemaBase | UndefinedType`, found `str | list[str]`

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

apprise/plugins/xmpp/base.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `XMPPConfig`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, dict[str, int]] | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `XMPPConfig`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | str | dict[Unknown | str, dict[str, int]] | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `XMPPConfig | list[str] | str | ... omitted 4 union elements`

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

src/attr/_funcs.py

[error] invalid-argument-type - Argument to function `get_type_hints` is incorrect: Expected `Mapping[str, Any] | None`, found `Unknown | None | bool`
[error] invalid-argument-type - Argument to function `get_type_hints` is incorrect: Expected `bool`, found `Unknown | None | bool`
[error] invalid-argument-type - Argument to function `get_type_hints` is incorrect: Expected `dict[str, Any] | None`, found `Unknown | None | bool`

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

src/bokeh/command/subcommand.py

[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `((str, /) -> Any) | FileType | str`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `Iterable[Unknown] | None`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `bool`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `int | str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `str | tuple[str, ...] | None`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `str | type[Action]`, found `object`
[error] invalid-argument-type - Argument to bound method `add_argument` is incorrect: Expected `str`, found `object`

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

cloudinit/url_helper.py

[error] invalid-argument-type - Argument to bound method `request` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `Unknown | bool`
[error] invalid-argument-type - Argument to bound method `request` is incorrect: Expected `str | bytes`, found `Unknown | bool`
[error] invalid-argument-type - Argument to bound method `request` is incorrect: Expected `str | bytes`, found `Unknown | bool`

tests/unittests/net/test_init.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | dict[str, dict[str, str | list[dict[str, str]] | bool]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | dict[str, dict[str, str | list[dict[str, str]] | bool]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | dict[str, dict[str, str | list[dict[str, str]] | bool]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | dict[str, dict[str, str | list[dict[str, str]] | bool]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | dict[str, dict[str, str | list[dict[str, str]] | bool]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `str | list[tuple[str, str]] | dict[str, dict[str, str | list[dict[str, str]] | bool]]`

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

colour/plotting/models.py

[error] invalid-argument-type - Argument to bound method `scatter` is incorrect: Expected `str | Path | MarkerStyle | None`, found `int | float | Any | ... omitted 7 union elements`
[error] invalid-argument-type - Argument to bound method `scatter` is incorrect: Expected `str | Path | MarkerStyle | None`, found `int | str | float | Any`
[error] invalid-argument-type - Argument to bound method `scatter` is incorrect: Expected `str | Path | MarkerStyle | None`, found `int | str | float | Any`

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

homeassistant/components/assist_satellite/__init__.py

[error] invalid-argument-type - Argument to bound method `async_internal_ask_question` is incorrect: Expected `bool`, found `Unknown | None`

homeassistant/components/isy994/number.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DeviceInfo | None`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `NumberEntityDescription`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DeviceInfo | None`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `EntityDescription`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | NumberEntityDescription | DeviceInfo | None`

homeassistant/components/isy994/select.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DeviceInfo | None`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `EntityDescription`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DeviceInfo | None`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `SelectEntityDescription`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DeviceInfo | None`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `EntityDescription`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | SelectEntityDescription | DeviceInfo | None`

homeassistant/components/lovelace/__init__.py

[error] invalid-argument-type - Argument to function `async_register_built_in_panel` is incorrect: Expected `dict[str, Any] | None`, found `str | None | Unknown | dict[str, str] | bool`

homeassistant/components/plex/media_browser.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[BrowseMedia] | None`, found `str | Unknown | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Unknown | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Unknown | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Unknown | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Unknown | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[BrowseMedia] | None`, found `Unknown | str | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[BrowseMedia] | None`, found `Unknown | MediaClass | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | MediaClass | bool | list[Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool`

homeassistant/components/roon/media_browser.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | bool | None`

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

ddtrace/internal/remoteconfig/__init__.py

[error] invalid-argument-type - Argument is incorrect: Expected `int | None`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `int | None`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `int | None`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`

ddtrace/internal/remoteconfig/client.py

[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, Key]`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, Role]`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `bool`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, Any]`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `Mapping[str, TargetDesc]`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`

tests/ci_visibility/api_client/test_ci_visibility_api_client.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GitData`, found `str | int | None | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `GitData`, found `None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ITR_SKIPPING_LEVEL`, found `str | int | None | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str | dict[str, str]]`, found `None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str | dict[str, str]]`, found `str | int | None | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `str | int | None | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `str | int | None | float`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `str | int | None | float`

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

discord/http.py

[error] invalid-argument-type - Argument to bound method `ws_connect` is incorrect: Expected `int`, found `BasicAuth | None | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `ws_connect` is incorrect: Expected `int`, found `BasicAuth | None | str | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `ws_connect` is incorrect: Expected `str | URL | None`, found `BasicAuth | None | str | ... omitted 4 union elements`

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

freqtrade/rpc/telegram.py

[error] invalid-argument-type - Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Any | datetime`
[error] invalid-argument-type - Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Any | datetime`

graphql-core (https://github.com/graphql-python/graphql-core)

tests/test_user_registry.py

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

tests/error/test_graphql_error.py

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

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

tests/ignite/handlers/test_state_param_scheduler.py

[error] invalid-argument-type - Argument to bound method `plot_values` is incorrect: Expected `Mapping[Unknown, Unknown]`, found `str | int | float | list[int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `str | int | float | list[int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `str | int | float | list[int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int]`, found `str | int | float | list[int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | int | float | list[int]`

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

jax/_src/xla_bridge.py

[error] invalid-argument-type - Argument to function `make_transfer_server_interface_factory` is incorrect: Expected `DistributedRuntimeClient | None`, found `DistributedRuntimeClient | Any | None | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `make_transfer_server_interface_factory` is incorrect: Expected `Sequence[str]`, found `DistributedRuntimeClient | Any | None | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `make_transfer_server_interface_factory` is incorrect: Expected `int`, found `DistributedRuntimeClient | Any | None | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `make_transfer_server_interface_factory` is incorrect: Expected `int`, found `DistributedRuntimeClient | Any | None | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `make_transfer_server_interface_factory` is incorrect: Expected `str`, found `DistributedRuntimeClient | Any | None | ... omitted 3 union elements`

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

mkdocs/config/config_options.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Collection[str]`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `object`

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

paasta_tools/tron/client.py

[error] invalid-argument-type - Argument to function `get` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `str | dict[str, str]`
[error] invalid-argument-type - Argument to function `get` is incorrect: Expected `str | bytes`, found `str | dict[str, str]`
[error] invalid-argument-type - Argument to function `post` is incorrect: Expected `Mapping[str, str | bytes | None] | None`, found `str | dict[str, str]`
[error] invalid-argument-type - Argument to function `post` is incorrect: Expected `str | bytes`, found `str | dict[str, str]`

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

pandas/core/arrays/datetimes.py

[error] invalid-argument-type - Argument to bound method `tz_localize` is incorrect: Expected `Literal["shift_forward", "shift_backward", "NaT", "raise"] | timedelta`, found `Unknown | bool | None`
[error] invalid-argument-type - Argument to bound method `tz_localize` is incorrect: Expected `bool | Literal["raise", "NaT"]`, found `Unknown | bool | None`

pandas/core/generic.py

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

pandas/io/json/_json.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExtensionDtype | str | dtype[Any] | ... omitted 3 union elements`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Literal["pyarrow", "numpy_nullable"] | _NoDefault`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool | list[str]`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExtensionDtype | str | dtype[Any] | ... omitted 3 union elements`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Literal["pyarrow", "numpy_nullable"] | _NoDefault`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool | list[str]`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | bool | None | Literal["pyarrow", "numpy_nullable"] | _NoDefault`

pandas/tests/window/test_ewm.py

[error] invalid-argument-type - Argument to bound method `ewm` is incorrect: Expected `bool`, found `int | Unknown`
[error] invalid-argument-type - Argument to bound method `ewm` is incorrect: Expected `bool`, found `int | Unknown`

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

src/pip/_vendor/requests/cookies.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str]`, found `dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str]`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `int | Unknown | None | str | dict[str, None | Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `int | Unknown | None | str | dict[str, None | Unknown]`

src/pip/_vendor/urllib3/util/ssl_.py

[error] invalid-argument-type - Argument to function `wrap_socket` is incorrect: Expected `int`, found `Unknown | None | VerifyMode | bool`
[error] invalid-argument-type - Argument to function `wrap_socket` is incorrect: Expected `int`, found `Unknown | None | VerifyMode | bool`
[error] invalid-argument-type - Argument to function `wrap_socket` is incorrect: Expected `str | None`, found `Unknown | None | VerifyMode | bool`
[error] invalid-argument-type - Argument to function `wrap_socket` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | None`, found `Unknown | None | VerifyMode | bool`
[error] invalid-argument-type - Argument to function `wrap_socket` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes] | None`, found `Unknown | None | VerifyMode | bool`

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

tests/fixtures/directory/project_with_transitive_directory_dependencies/setup.py

[error] invalid-argument-type - Argument to function `setup` is incorrect: Expected `Mapping[str, list[str]]`, found `str | None | list[str] | dict[str, list[str]]`
[error] invalid-argument-type - Argument to function `setup` is incorrect: Expected `str`, found `None`

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

src/integrations/prefect-dbt/tests/core/test_orchestrator_cache.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `object`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `type | None`, found `object`

src/integrations/prefect-dbt/tests/core/test_orchestrator_integration.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `CacheConfig | None`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `TestStrategy`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | int | None`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `type | None`, found `PrefectDbtSettings | Unknown | ExecutionMode | ... omitted 4 union elements`

src/integrations/prefect-dbt/tests/core/test_orchestrator_per_node.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `type | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`

src/integrations/prefect-dbt/tests/core/test_orchestrator_test_strategies.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `type | None`, found `MagicMock | Path | Unknown | ExecutionMode | <class 'ThreadPoolTaskRunner'>`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `DbtExecutor | None`, found `MagicMock | Path | Unknown | ExecutionMode`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExecutionMode`, found `MagicMock | Path | Unknown | ExecutionMode`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PrefectDbtSettings | None`, found `MagicMock | Path | Unknown | ExecutionMode`

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

[error] invalid-argument-type - Argument to function `_subset_return_fields` is incorrect: Expected `dict[tuple[Unknown, ...], tuple[Unknown, ...]]`, found `list[Unknown] | dict[Unknown, Unknown]`

src/prefect/cli/variable.py

[error] invalid-argument-type - Argument is incorrect: Expected `list[str] | None`, found `str | int | float | ... omitted 4 union elements`
[error] invalid-argument-type - Argument is incorrect: Expected `str | None`, found `str | int | float | ... omitted 4 union elements`
[error] invalid-argument-type - Argument is incorrect: Expected `list[str] | None`, found `str | int | float | ... omitted 4 union elements`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `str | int | float | ... omitted 4 union elements`

src/prefect/events/utilities.py

[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `(Any & dict[str, str]) | (dict[str, Any] & dict[str, str])`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `Any | dict[str, Any] | None`

pyinstrument (https://github.com/joerick/pyinstrument)

pyinstrument/context_manager.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Literal["enabled", "disabled", "strict"]`, found `@Todo | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `@Todo | None`

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

rotkehlchen/chain/bitcoin/btc/manager.py

[error] invalid-argument-type - Argument to function `request_get_dict` is incorrect: Expected `bool`, found `int`
[error] invalid-argument-type - Argument to function `request_get_dict` is incorrect: Expected `bool`, found `int`

rotkehlchen/exchanges/binance.py

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

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

sklearn/utils/estimator_checks.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Exception`, found `Unknown | Exception | bool | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `Unknown | Exception | bool | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | Exception | bool | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | Exception | bool | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | Exception | bool | str`
[error] invalid-argument-type - Argument to function `estimator_checks_generator` is incorrect: Expected `Literal["xfail", "skip"] | None`, found `Unknown | str | bool | None`
[error] invalid-argument-type - Argument to function `estimator_checks_generator` is incorrect: Expected `bool | None`, found `Unknown | str | bool | None`
[error] invalid-argument-type - Argument to function `estimator_checks_generator` is incorrect: Expected `bool`, found `Unknown | str | bool | None`

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

tests/test_downloaderslotssettings.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `int`

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

setuptools/tests/config/test_expand.py

[error] invalid-argument-type - Argument to function `find_packages` is incorrect: Expected `str | PathLike[str] | None`, found `Unknown | dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to function `find_packages` is incorrect: Expected `dict[str, str] | None`, found `Unknown | dict[Unknown, Unknown] | bool`
[error] invalid-argument-type - Argument to function `find_packages` is incorrect: Expected `str | PathLike[str] | None`, found `Unknown | dict[Unknown, Unknown] | bool`

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

lib/spack/spack/cmd/create.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[str]`, found `Unknown | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Unknown | str | list[str]`

lib/spack/spack/fetch_strategy.py

[error] invalid-argument-type - Argument to function `git_clone` is incorrect: Expected `bool`, found `Any | None`
[error] invalid-argument-type - Argument to function `git_clone` is incorrect: Expected `bool`, found `Any | None`
[error] invalid-argument-type - Argument to function `git_checkout` is incorrect: Expected `bool`, found `Any | None`

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

src/werkzeug/test.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `IO[bytes] | None`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | None`, found `str | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `IO[str] | None`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[tuple[str, str]] | None`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Mapping[str, str] | str | None`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `bool`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int | None`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Any | None | Headers`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | Any | None | Headers`

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

xarray/tests/test_dataarray.py

[error] no-matching-overload - No overload of function `pad` matches arguments