Ecosystem report

Old: main (merge base) b8db447a → New: 24802/merge a7f6c430
Lint Rule Removed Added Changed
Total 434 125 35
invalid-parameter-default 261 0 0
invalid-argument-type 47 91 17
unresolved-attribute 45 6 2
invalid-assignment 23 5 11
type-assertion-failure 24 1 2
invalid-return-type 4 7 3
unsupported-operator 7 7 0
unused-type-ignore-comment 10 2 0
call-non-callable 3 1 0
invalid-type-form 3 1 0
not-subscriptable 3 0 0
no-matching-overload 2 0 0
not-iterable 0 2 0
unresolved-import 2 0 0
index-out-of-bounds 0 1 0
unsupported-base 0 1 0
Project Removed Added Changed
Total 434 125 35
pydantic 236 1 0
dd-trace-py 1 82 3
pandas-stubs 24 5 2
discord.py 27 0 1
core 14 7 3
vision 14 0 0
psycopg 13 0 0
graphql-core 6 0 6
mypy 12 0 0
zulip 8 4 0
jax 7 3 1
prefect 7 1 1
altair 5 0 2
freqtrade 2 2 3
meson 3 0 4
sphinx 5 0 0
archinstall 4 0 0
mitmproxy 4 0 0
pytest 3 1 0
scikit-learn 4 0 0

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

expression/extra/parser.py

[error] invalid-argument-type - Argument is incorrect: Expected `Never`, found `Parser[Option[_A@opt]]`

tests/test_array.py

[error] invalid-argument-type - Argument to function `pipe` is incorrect: Expected `(TypedArray[int16], /) -> Unknown`, found `(Never, /) -> Never`

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/clients.py

[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `str`, found `str | Path`
[error] invalid-argument-type - Method `__delitem__` of type `bound method dict[str, ModuleType].__delitem__(key: str, /) -> None` cannot be called with key of type `str | Path` on object of type `dict[str, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `ModuleType` on object of type `dict[str, ModuleType]`

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

aiohttp/resolver.py

[error] index-out-of-bounds - Index 3 is out of bounds for tuple `tuple[bytes, int]` with length 2

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

altair/utils/plugin_registry.py

[error] invalid-argument-type - Argument to function `deprecated_warn` is incorrect: Expected `LiteralString`, found `str`

altair/utils/schemapi.py

[error] unresolved-attribute - Unresolved attribute `_all_errors` on type `ValidationError`

altair/vegalite/v6/api.py

[error] call-non-callable - Object of type `object` is not callable
[error] invalid-argument-type - Argument is incorrect: Expected `<TypedDict with items '__extra_items__', 'empty', 'param', 'test', 'value'> | Iterable[tuple[str, object]]`, found `dict[str, Any]`
[error] invalid-argument-type - Argument to function `compile_with_vegafusion` is incorrect: Expected `dict[str, Any]`, found `Unknown | MutableMapping[Any, Any]`
[error] invalid-argument-type - Argument to function `compile_with_vegafusion` is incorrect: Expected `dict[str, Any]`, found `Any | MutableMapping[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `Unknown | MutableMapping[Any, Any]`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `Any | MutableMapping[Any, Any]`

tests/test_datasets.py

[error] invalid-argument-type - 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"]]`

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

src/antidote/core/data.py

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

src/antidote/lib/lazy_ext/_lazy.py

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

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

archinstall/lib/args.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["disk_config"]` and value of type `_DiskLayoutConfigurationSerialization` on object of type `dict[str, str | None | list[str] | ... omitted 6 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["profile_config"]` and value of type `_ProfileConfigurationSerialization` on object of type `dict[str, str | None | list[str] | ... omitted 6 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["mirror_config"]` and value of type `_MirrorConfigurationSerialization` on object of type `dict[str, str | None | list[str] | ... omitted 6 union elements]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["network_config"]` and value of type `_NetworkConfigurationSerialization` on object of type `dict[str, str | None | list[str] | ... omitted 6 union elements]`

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

src/bandersnatch/mirror.py

[error] unresolved-attribute - Object of type `dict[Unknown, Unknown] & ~AlwaysFalsy` has no attribute `name`
[error] unresolved-attribute - Object of type `dict[Unknown, Unknown] & ~AlwaysFalsy` has no attribute `serial`

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

beartype/bite/kind/inferthirdparty.py

[error] invalid-type-form - Variable of type `object` is not allowed in a type expression

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

src/bokeh/models/sources.py

[error] unresolved-import - Cannot resolve imported module `narwhals.stable.v1`
[error] unresolved-import - Cannot resolve imported module `pandas`

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

tests/unittests/sources/test_lxd.py

[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method

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

homeassistant/components/hue/v1/device_trigger.py

[error] unresolved-attribute - Attribute `current_events` is not defined on `None` in union `SensorManager | None`

homeassistant/components/group/sensor.py

[error] invalid-return-type - Return type does not match returned value: expected `set[str | None]`, found `set[type[StrEnum] | str | None]`

homeassistant/components/anthropic/entity.py

[error] unsupported-operator - Operator `>=` is not supported between objects of type `Any | str | int` and `Literal[1024]`

homeassistant/components/api/__init__.py

[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `str`, found `dict[str, Any] | list[Any] | str | int | float`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `Mapping[str, Any] | None`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `StateMachine.async_set` is incorrect: Expected `bool`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `State.from_dict` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["old_state", "new_state"]` and value of type `State & ~AlwaysFalsy` on object of type `dict[str, JsonValueType]`
[error] invalid-argument-type - Argument to bound method `Template.async_render` is incorrect: Expected `TemplateVarsType`, found `dict[str, Any] | list[Any] | str | ... omitted 3 union elements`

homeassistant/components/cloud/entity.py

[error] unresolved-attribute - Attribute `attachments` is not defined on `SystemContent`, `AssistantContent`, `ToolResultContent` in union `SystemContent | UserContent | AssistantContent | ToolResultContent`
[error] unresolved-attribute - Attribute `attachments` is not defined on `SystemContent`, `AssistantContent`, `ToolResultContent` in union `SystemContent | UserContent | AssistantContent | ToolResultContent`

homeassistant/components/flume/__init__.py

[error] invalid-return-type - Return type does not match returned value: expected `ServiceResponse`, found `dict[str, str | dict[str, dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | list[dict[str, Any] | list[Any] | str | ... omitted 3 union elements] | ... omitted 4 union elements]`

homeassistant/components/gios/__init__.py

[error] invalid-argument-type - Argument to bound method `DeviceRegistry.async_get_device` is incorrect: Expected `set[tuple[str, str]] | None`, found `set[tuple[str, str] | tuple[str, int]]`

homeassistant/components/mqtt/valve.py

[error] invalid-argument-type - Argument to bound method `MqttValve._process_position_valve_update` is incorrect: Expected `str`, found `str | bytes | bytearray | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `MqttValve._process_position_valve_update` is incorrect: Expected `str`, found `Any | dict[str, Any] | list[Any] | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `MqttValve._process_position_valve_update` is incorrect: Expected `str`, found `str | bytes | bytearray | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `MqttValve._process_position_valve_update` is incorrect: Expected `str`, found `Any | dict[str, Any] | list[Any] | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `MqttValve._process_binary_valve_update` is incorrect: Expected `str`, found `str | bytes | bytearray | ... omitted 5 union elements`
[error] invalid-argument-type - Argument to bound method `MqttValve._process_binary_valve_update` is incorrect: Expected `str`, found `Any | dict[str, Any] | list[Any] | ... omitted 4 union elements`

homeassistant/components/sonos/__init__.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown` and value of type `SonosAlarms | SonosFavorites` on object of type `dict[str, SonosAlarms]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Unknown` and value of type `SonosAlarms | SonosFavorites` on object of type `dict[str, SonosFavorites]`

homeassistant/components/systemmonitor/coordinator.py

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

homeassistant/components/tado/climate.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `str | None` and `str | list[Unknown]`

homeassistant/components/wilight/switch.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[Any]`, found `list[Unknown]`

homeassistant/components/zha/helpers.py

[error] not-iterable - Object of type `list[EntityReference] | None` may not be iterable

homeassistant/runner.py

[error] invalid-assignment - Object of type `bound method AbstractEventLoop.set_default_executor(executor: Executor) -> None` is not assignable to attribute `set_default_executor` of type `def set_default_executor(self, executor: Executor) -> None`
[error] invalid-assignment - Object of type `def monotonic() -> int | float` is not assignable to attribute `time` of type `def time(self) -> int | float`

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

cwltool/main.py

[error] invalid-argument-type - Argument to function `cmap` is incorrect: Expected `int | float | str | ... omitted 3 union elements`, found `(Process & Top[dict[Unknown, Unknown]]) | dict[str, Any]`

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

ddtrace/appsec/_iast/_taint_tracking/aspects.py

[error] invalid-assignment - Object of type `list[str] | list[bytes] | list[bytearray] | list[str | bytes]` is not assignable to `list[str | bytes | bytearray | None]`
[error] invalid-assignment - Object of type `list[Any] | list[str | bytes]` is not assignable to `list[str | bytes | bytearray | None]`

ddtrace/contrib/internal/aiohttp/patch.py

[error] invalid-assignment - Object of type `Any | str | None` is not assignable to `str`
[error] invalid-assignment - Object of type `Unknown | str | None` is not assignable to `str`

ddtrace/contrib/internal/asyncpg/patch.py

[error] unresolved-attribute - Attribute `query` is not defined on `None` in union `(Any & ~str & ~bytes) | None`

ddtrace/contrib/internal/crewai/patch.py

[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["CrewAI Crew"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["crew"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | Literal[""]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | bool`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | Literal[""]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["task"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | Literal[""]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["agent"]`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | Literal[""]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["tool"]`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Any | Literal["CrewAI Flow"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["flow"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `(Any & ~AlwaysFalsy) | Literal["Flow Method"]`
[error] invalid-argument-type - Argument to bound method `CrewAIIntegration.trace` is incorrect: Expected `dict[str, Any]`, found `Literal["flow_method"]`

ddtrace/contrib/internal/google_adk/patch.py

[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`

ddtrace/contrib/internal/langchain/patch.py

[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `BaseLLMIntegration.llmobs_set_tags` is incorrect: Expected `dict[str, Any]`, found `(Any & Top[list[Unknown]]) | list[Any | None]`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `BaseLLMIntegration.llmobs_set_tags` is incorrect: Expected `dict[str, Any]`, found `(Any & Top[list[Unknown]]) | list[Any | None]`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`

ddtrace/contrib/internal/langgraph/patch.py

[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`

ddtrace/contrib/internal/mcp/patch.py

[error] invalid-argument-type - Argument to bound method `BaseLLMIntegration.llmobs_set_tags` is incorrect: Expected `list[Any]`, found `tuple[Unknown, ...]`
[error] invalid-argument-type - Argument to bound method `BaseLLMIntegration.llmobs_set_tags` is incorrect: Expected `list[Any]`, found `tuple[Unknown, ...]`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `BaseException | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `type[BaseException]`, found `type[BaseException] | None`
[error] invalid-argument-type - Argument to bound method `Span.set_exc_info` is incorrect: Expected `BaseException`, found `Unknown | None`

ddtrace/internal/writer/writer.py

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

ddtrace/llmobs/_integrations/utils.py

[error] invalid-argument-type - Invalid argument to key "result" with declared type `str` on TypedDict `ToolResult`: value of type `str | (dict[str, Any] & ~AlwaysTruthy & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)`

ddtrace/llmobs/_writer.py

[error] invalid-assignment - Object of type `str | (Unknown & ~AlwaysFalsy) | DerivedVariable[str]` is not assignable to `str`: Incompatible value of type `str | (Unknown & ~AlwaysFalsy) | DerivedVariable[str]`
[error] invalid-assignment - Object of type `str | DerivedVariable[str]` is not assignable to `str`: Incompatible value of type `str | DerivedVariable[str]`

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

discord/mentions.py

[error] invalid-parameter-default - Default value of type `_FakeBool` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `_FakeBool` is not assignable to annotated parameter type `bool | Sequence[Snowflake]`
[error] invalid-parameter-default - Default value of type `_FakeBool` is not assignable to annotated parameter type `bool | Sequence[Snowflake]`
[error] invalid-parameter-default - Default value of type `_FakeBool` is not assignable to annotated parameter type `bool`

discord/ext/commands/bot.py

[error] invalid-parameter-default - Default value of type `_DefaultRepr` is not assignable to annotated parameter type `HelpCommand | None`
[error] invalid-parameter-default - Default value of type `_DefaultRepr` is not assignable to annotated parameter type `HelpCommand | None`

discord/ext/commands/cog.py

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

discord/ext/commands/parameters.py

[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `<class '_empty'>` is not assignable to annotated parameter type `str`

discord/http.py

[error] invalid-argument-type - Argument to bound method `ClientSession.ws_connect` is incorrect: Expected `ClientWSTimeout | _SENTINEL`, found `ClientWSTimeout | float`
[error] invalid-argument-type - Argument to bound method `ClientSession.ws_connect` is incorrect: Expected `ClientWSTimeout | _SENTINEL`, found `Any | float`

discord/ui/action_row.py

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

discord/ui/container.py

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

discord/ui/view.py

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

discord/utils.py

[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `Permissions`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `Snowflake`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `Iterable[str] | None`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `str`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `Handler`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `Formatter`
[error] invalid-parameter-default - Default value of type `_MissingSentinel` is not assignable to annotated parameter type `int`

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

mypy_django_plugin/config.py

[error] invalid-assignment - Object of type `(Unknown & ~AlwaysFalsy) | str | None` is not assignable to attribute `django_settings_module` of type `str`
[error] invalid-assignment - Object of type `(Any & ~AlwaysFalsy) | str | None` is not assignable to attribute `django_settings_module` of type `str`

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

freqtrade/data/dataprovider.py

[error] unsupported-operator - Operator `>` is not supported between objects of type `Timedelta` and `Literal[1]`
[error] invalid-argument-type - Argument to constructor `int.__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `Timedelta`

freqtrade/freqai/data_kitchen.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Any` and value of type `DataFrame` on object of type `dict[str, dict[str, DataFrame]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `DataFrame` on object of type `dict[str, dict[str, DataFrame]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Any` and value of type `dict[Unknown, Unknown]` on object of type `dict[str, DataFrame]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `dict[Unknown, Unknown]` on object of type `dict[str, DataFrame]`

freqtrade/optimize/backtesting.py

[error] invalid-argument-type - Argument to bound method `Backtesting.time_pair_generator` is incorrect: Expected `dict[str, list[tuple[Unknown, ...]]]`, found `dict[str, tuple[Unknown, ...]]`
[error] invalid-argument-type - Argument to bound method `Backtesting.handle_left_open` is incorrect: Expected `dict[str, list[tuple[Unknown, ...]]]`, found `dict[str, tuple[Unknown, ...]]`

freqtrade/strategy/interface.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[DataFrame | None, datetime | None]`, found `tuple[Series[Any], Any]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[DataFrame | None, datetime | None]`, found `tuple[Series[Any], datetime]`

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

src/graphql/language/visitor.py

[error] unresolved-attribute - Attribute `idx` is not defined on `None` in union `None | Stack`
[error] unresolved-attribute - Attribute `keys` is not defined on `None` in union `None | Stack`
[error] unresolved-attribute - Attribute `edits` is not defined on `None` in union `None | Stack`
[error] unresolved-attribute - Attribute `in_array` is not defined on `None` in union `None | Stack`
[error] unresolved-attribute - Attribute `prev` is not defined on `None` in union `None | Stack`
[error] invalid-argument-type - Argument is incorrect: Expected `Stack`, found `None | Stack`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `None | Any | Node | (tuple[object, ...] & ~Node)`
[error] invalid-argument-type - Argument to `list.__init__` is incorrect: Expected `Iterable[Unknown]`, found `Any | None | (tuple[object, ...] & ~Node) | Node`
[error] unresolved-attribute - Attribute `keys` is not defined on `None`, `tuple[Unknown, ...] & ~Node`, `tuple[_T@list, ...] & ~Node`, `_T@list & tuple[object, ...] & ~Node`, `tuple[object, ...] & ~Node` in union `None | Any | Node | ... omitted 4 union elements`
[error] unresolved-attribute - Attribute `keys` is not defined on `None`, `tuple[Unknown, ...] & ~Node`, `tuple[_T@list, ...] & ~Node`, `_T@list & tuple[object, ...] & ~Node`, `tuple[object, ...] & ~Node` in union `Any | None | (tuple[Unknown, ...] & ~Node) | ... omitted 7 union elements`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int | str, Node]`, found `tuple[None | Any | int | Node, Literal[VisitorActionEnum.REMOVE]]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int | str, Node]`, found `tuple[Any | None | int | Node, Literal[VisitorActionEnum.REMOVE]]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int | str, Node]`, found `tuple[None | Any | int | Node, Node | (tuple[object, ...] & ~Node)]`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[int | str, Node]`, found `tuple[Any | None | int | Node, (tuple[object, ...] & ~Node) | Node]`

tests/pyutils/test_boxed_awaitabe_or_value.py

[error] invalid-assignment - Object of type `BoxedAwaitableOrValue[Future[Unknown] | Unknown]` is not assignable to `BoxedAwaitableOrValue[int]`
[error] invalid-assignment - Object of type `BoxedAwaitableOrValue[Future[int] | int]` is not assignable to `BoxedAwaitableOrValue[int]`
[error] invalid-assignment - Object of type `BoxedAwaitableOrValue[Future[Unknown] | Unknown]` is not assignable to `BoxedAwaitableOrValue[list[int]]`
[error] invalid-assignment - Object of type `BoxedAwaitableOrValue[Future[list[int]] | list[int]]` is not assignable to `BoxedAwaitableOrValue[list[int]]`

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

hydpy/core/parametertools.py

[error] unresolved-attribute - Object of type `(((Model, /) -> None) & ~FunctionType) | None` has no attribute `get_sourcecode`
[error] unresolved-attribute - Object of type `(((Model, /) -> None) & ~FunctionType) | None` has no attribute `get_name`

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

src/hydra_zen/structured_configs/_implementations.py

[error] no-matching-overload - No overload of bound method `BuildsFn.builds` matches arguments

src/hydra_zen/wrapper/_implementations.py

[error] invalid-parameter-default - Default value of type `object` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `object` is not assignable to annotated parameter type `str | None`

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

jax/experimental/pallas/ops/tpu/splash_attention/splash_attention_mask_info.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[MaskInfo, HashableFunction | None]`, found `tuple[MaskInfo, object]`
[error] invalid-argument-type - Argument is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]] | None`, found `object`

jax/_src/numpy/index_tricks.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[str]` and `list[int]`

jax/_src/numpy/lax_numpy.py

[error] invalid-argument-type - Argument to function `histogram_bin_edges` is incorrect: Expected `Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 4 union elements`, found `_T@list | Any`
[error] invalid-argument-type - Argument to function `histogram_bin_edges` is incorrect: Expected `Array | ndarray[tuple[Any, ...], dtype[Any]] | numpy.bool[builtins.bool] | ... omitted 4 union elements`, found `_T@list | Array | ndarray[tuple[Any, ...], dtype[Any]] | ... omitted 5 union elements`

jax/_src/pallas/core.py

[error] invalid-assignment - Object of type `tuple[int | Array, ...] | tuple[int | None, ...]` is not assignable to attribute `grid` of type `tuple[int | Array, ...]`

jax/_src/test_util.py

[error] unresolved-attribute - Attribute `prec` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `extraprec` is not defined on `None` in union `None | Unknown`

jax/experimental/array_serialization/serialization_test.py

[error] unresolved-attribute - Object of type `Array` has no attribute `format`

jax/experimental/mosaic/gpu/dialect_lowering.py

[error] invalid-argument-type - Argument to bound method `FragmentedArray.store_untiled` is incorrect: Expected `Literal["add", "max", "min", "and", "or", "xor"] | None`, found `str | None`
[error] invalid-argument-type - Argument to bound method `FragmentedArray.store_tiled` is incorrect: Expected `Literal["add", "max", "min", "and", "or", "xor"] | None`, found `str | None`
[error] invalid-argument-type - Argument to bound method `FragmentedArray.store_untiled` is incorrect: Expected `Literal["add", "max", "min", "and", "or", "xor"] | None`, found `str | None`

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

src/jinja2/lexer.py

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

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

manticore/wasm/executor.py

[error] invalid-assignment - Object of type `int` is not assignable to `I64`

tests/ethereum/test_general.py

[error] invalid-argument-type - Argument to bound method `TestCase.assertSequenceEqual` is incorrect: Expected `Sequence[Any]`, found `Iterable[bytes]`
[error] invalid-argument-type - Argument to bound method `TestCase.assertSequenceEqual` is incorrect: Expected `Sequence[Any]`, found `Iterable[str]`

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

mesonbuild/ast/interpreter.py

[error] invalid-argument-type - Argument to function `src_to_abs` is incorrect: Expected `str | IntrospectionFile | UnknownValue`, found `Sequence[Divergent] | int | dict[str, Divergent] | ... omitted 5 union elements`

mesonbuild/backend/ninjabackend.py

[error] invalid-assignment - Object of type `str | UnspecializedTypeVar` is not assignable to `Literal["2015", "2018", "2021"]`
[error] invalid-assignment - Object of type `str` is not assignable to `Literal["2015", "2018", "2021"]`

mesonbuild/modules/python.py

[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `str`, found `str | Unknown | None`
[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to bound method `PythonModule._find_installation_impl` is incorrect: Expected `str`, found `str | Unknown | None`
[error] invalid-argument-type - Argument to bound method `PythonModule._find_installation_impl` is incorrect: Expected `str`, found `str | None`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Unknown | None` and value of type `NonExistingExternalProgram | PythonExternalProgram` on object of type `dict[str, NonExistingExternalProgram | PythonExternalProgram]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | None` and value of type `NonExistingExternalProgram | PythonExternalProgram` on object of type `dict[str, NonExistingExternalProgram | PythonExternalProgram]`

mesonbuild/mparser.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `str` and `TV_TokenTypes@Token | Unknown`

mesonbuild/rewriter.py

[error] unresolved-attribute - Object of type `(Sequence[Divergent] & ~UnknownValue & ~str) | (int & ~UnknownValue) | (dict[str, Divergent] & ~UnknownValue) | ... omitted 4 union elements` has no attribute `to_abs_path`

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

mitmproxy/addons/cut.py

[error] unresolved-attribute - Attribute `headers` is not defined on `Flow & ~AlwaysFalsy` in union `(Flow & ~AlwaysFalsy) | (Any & ~AlwaysFalsy)`
[error] not-subscriptable - Cannot subscript object of type `Flow` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `Flow` with no `__getitem__` method

mitmproxy/types.py

[error] invalid-return-type - Return type does not match returned value: expected `CutSpec`, found `list[str]`

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

bson/json_util.py

[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `type | ((Any, JSONOptions, /) -> Any)` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `(Any, JSONOptions, /) -> Any` on object of type `dict[int, (Any, JSONOptions, /) -> Any]`

pymongo/topology_description.py

[error] unsupported-operator - Operator `<` is not supported between two objects of type `tuple[int | None, ObjectId | None]`

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

mypy/test/testfinegrained.py

[error] unsupported-operator - Operator `+` is not supported between two objects of type `object`
[error] unresolved-attribute - Object of type `object` has no attribute `replace`
[error] unresolved-attribute - Object of type `object` has no attribute `strip`
[error] unsupported-operator - Operator `+` is not supported between two objects of type `object`
[error] unresolved-attribute - Object of type `object` has no attribute `strip`

mypyc/build.py

[error] unresolved-attribute - Object of type `CCompiler` has no attribute `compiler_type`
[error] unresolved-attribute - Object of type `CCompiler` has no attribute `compiler_type`

mypyc/test/librt_cache.py

[error] unresolved-attribute - Object of type `CCompiler` has no attribute `compiler_type`

mypyc/test/test_external.py

[error] unresolved-attribute - Object of type `CCompiler` has no attribute `compiler_type`

mypy/strconv.py

[error] invalid-argument-type - Argument to bound method `list.insert` is incorrect: Expected `FuncDef | Decorator`, found `ProperType & ~AlwaysFalsy`
[error] invalid-argument-type - Argument to bound method `list.insert` is incorrect: Expected `FuncDef | Decorator`, found `Literal["Static"]`
[error] invalid-argument-type - Argument to bound method `list.insert` is incorrect: Expected `FuncDef | Decorator`, found `Literal["Class"]`

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

ops/hookcmds/_port.py

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

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

paasta_tools/cli/cmds/status.py

[error] not-iterable - Object of type `Any | None` may not be iterable

paasta_tools/setup_kubernetes_cr.py

[error] invalid-argument-type - Argument to function `setup_all_custom_resources` is incorrect: Expected `KubeClient`, found `KubeClient | StdoutKubeClient`
[error] invalid-argument-type - Argument to function `setup_all_custom_resources` is incorrect: Expected `KubeClient`, found `Any | StdoutKubeClient`

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

pandas/io/parsers/readers.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Hashable & ~Literal[False] & ~_NoDefault`

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

tests/indexes/test_indexes.py

[error] type-assertion-failure - Type `Unknown` does not match asserted type `IntervalIndex[Interval[Timestamp]]`

tests/scalars/test_scalars.py

[error] unsupported-operator - Operator `-` is not supported between objects of type `Timedelta` and `ndarray[tuple[Any, ...], dtype[datetime64[date | int | None]]]`
[error] unsupported-operator - Operator `//` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[integer[Any]]]` and `Timedelta`
[error] unsupported-operator - Operator `//` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[floating[Any]]]` and `Timedelta`
[error] unsupported-operator - Operator `/` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[integer[Any]]]` and `Timedelta`
[error] unsupported-operator - Operator `/` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[floating[Any]]]` and `Timedelta`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[datetime64[date | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[datetime64[date | int | None]]]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[datetime64[date | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Timedelta` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Any` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`
[error] type-assertion-failure - Type `Timedelta` does not match asserted type `ndarray[tuple[Any, ...], dtype[timedelta64[timedelta | int | None]]]`

tests/series/test_series.py

[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`
[error] type-assertion-failure - Type `Series[Any]` does not match asserted type `Series[str]`

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

src/pip/_vendor/cachecontrol/adapter.py

[error] unresolved-attribute - Unresolved attribute `from_cache` on type `Response`

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

src/poetry/publishing/uploader.py

[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `tuple[str, str]`, found `tuple[Literal["content"], tuple[str, BufferedReader[_BufferedReaderStream], Literal["application/octet-stream"]]]`

tests/helpers.py

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

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

src/prefect/events/utilities.py

[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 `UUID | None`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - Argument is incorrect: Expected `UUID`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, Any]`, found `Any | dict[str, Any] | None`
[error] invalid-argument-type - Argument is incorrect: Expected `list[RelatedResource]`, found `Any | dict[str, Any] | None`

src/prefect/_internal/analytics/client.py

[error] unresolved-attribute - Attribute `track` is not defined on `None` in union `None | Unknown`
[error] unresolved-attribute - Attribute `track` is not defined on `None` in union `Unknown | None`

src/prefect/_internal/schemas/validators.py

[error] invalid-return-type - Return type does not match returned value: expected `str | None`, found `object`

src/prefect/deployments/base.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any] | type[NotSet]`, found `str | type[NotSet]`

src/prefect/workers/base.py

[error] invalid-argument-type - Argument is incorrect: Argument type `str | dict[str, Any]` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`

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

tests/test_connection.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `object` on object of type `list[ParamDef | ParameterSet]`
[error] unresolved-attribute - Attribute `name` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] unresolved-attribute - Attribute `guc` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `object` on object of type `list[ParamDef | ParameterSet]`
[error] unresolved-attribute - Attribute `name` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] unresolved-attribute - Attribute `guc` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`

tests/test_connection_async.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `object` on object of type `list[ParamDef | ParameterSet]`
[error] unresolved-attribute - Attribute `name` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] unresolved-attribute - Attribute `guc` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal[2]` and value of type `object` on object of type `list[ParamDef | ParameterSet]`
[error] unresolved-attribute - Attribute `name` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`
[error] unresolved-attribute - Attribute `guc` is not defined on `ParameterSet` in union `ParamDef | ParameterSet`

tests/types/test_numeric.py

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

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

pydantic/fields.py

[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal[False] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `(() -> Any) | ((dict[str, Any], /) -> Any) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | AliasPath | AliasChoices | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((str, FieldInfo, /) -> str) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `list[Any] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `((Any, /) -> bool) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Discriminator | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `deprecated | str | bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `dict[str, Divergent] | ((dict[str, Divergent], /) -> None) | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `str | Pattern[str] | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsGe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLt | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `SupportsLe | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | float | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `int | None`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `Literal["smart", "left_to_right"]`
[error] invalid-parameter-default - Default value of type `PydanticUndefinedType` is not assignable to annotated parameter type `bool | None`

pydantic/json_schema.py

[error] type-assertion-failure - Type `Any & ~str & ~Top[list[Unknown]]` is not equivalent to `Never`

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

pyinstrument/__main__.py

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

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

src/tests/test_cmdline_runner.py

[error] call-non-callable - Object of type `None` is not callable

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

testing/python/metafunc.py

[error] invalid-assignment - Object of type `FuncFixtureInfoMock` is not assignable to attribute `_fixtureinfo` of type `FuncFixtureInfo`
[error] invalid-assignment - Object of type `SessionMock` is not assignable to attribute `session` of type `Session`
[error] invalid-argument-type - Argument to `Metafunc.__init__` is incorrect: Expected `FuncFixtureInfo`, found `FuncFixtureInfoMock`

testing/test_terminal.py

[error] invalid-assignment - Object of type `def write_raw(content: str, *, flush: bool = False) -> None` is not assignable to attribute `write_raw` of type `def write_raw(self, content: str, *, flush: bool = False) -> None`

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

rotkehlchen/exchanges/cryptocom.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["sig"]` and value of type `str` on object of type `dict[str, int | Literal["private/user-balance", "private/get-trades", "private/get-deposit-history", "private/get-withdrawal-history"] | ApiKey | dict[str, Any] | dict[Unknown, Unknown]]`

rotkehlchen/tests/fixtures/rotkehlchen.py

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

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

src/schemathesis/generation/coverage.py

[error] invalid-argument-type - Argument to bound method `SearchStrategy.filter` is incorrect: Expected `(dict[str, Any | None | int | float | str], /) -> Any`, found `def _is_not_numeric_string(x: str) -> bool`
[error] invalid-argument-type - Argument to bound method `SearchStrategy.filter` is incorrect: Expected `(int, /) -> Any`, found `def _is_not_numeric_string(x: str) -> bool`
[error] invalid-argument-type - Argument to bound method `SearchStrategy.filter` is incorrect: Expected `(int | float, /) -> Any`, found `def _is_not_numeric_string(x: str) -> bool`
[error] invalid-argument-type - Argument to bound method `SearchStrategy.filter` is incorrect: Expected `(list[Any | None | int | float | str], /) -> Any`, found `def _is_not_numeric_string(x: str) -> bool`

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

sklearn/externals/array_api_compat/common/_linalg.py

[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`

sklearn/ensemble/tests/test_forest.py

[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments

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

subprojects/array_api_compat/array_api_compat/array_api_compat/common/_linalg.py

[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`

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

lib/spack/spack/vendor/jinja2/lexer.py

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

speedrun.com_global_scoreboard_webapp (https://github.com/Avasam/speedrun.com_global_scoreboard_webapp)

backend/models/core_models.py

[warning] unsupported-base - Unsupported class base with type `type[Model]`

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

sphinx/directives/other.py

[error] unresolved-attribute - Object of type `Struct` has no attribute `title_styles`
[error] unresolved-attribute - Object of type `Struct` has no attribute `section_level`
[error] unresolved-attribute - Unresolved attribute `title_styles` on type `Struct`
[error] unresolved-attribute - Unresolved attribute `section_level` on type `Struct`
[error] unresolved-attribute - Object of type `Struct` has no attribute `title_styles`

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

starlette/endpoints.py

[error] call-non-callable - Object of type `CoroutineType[Any, Any, Response]` is not callable

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

static_frame/core/store.py

[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[tuple[str, ...]]`, found `@Todo | tuple[str, ...]`
[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[tuple[str, ...]]`, found `Sequence[Hashable]`

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

strawberry/extensions/directives.py

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

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

lib/streamlit/components/v2/bidi_component/main.py

[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `Never`, found `Literal["event"]`
[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `Never`, found `Literal["value"]`

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

sympy/polys/densebasic.py

[error] invalid-type-form - Variable of type `tuple[int, ...]` is not allowed in a type expression
[error] invalid-type-form - Variable of type `tuple[int, ...]` is not allowed in a type expression

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

src/trio/_threads.py

[error] invalid-return-type - Return type does not match returned value: expected `RetT@to_thread_run_sync`, found `object`

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

src/typeshed_stats/gather.py

[error] invalid-return-type - Return type does not match returned value: expected `Mapping[str, object]`, found `Top[dict[Unknown, Unknown]]`

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

test/conftest.py

[error] invalid-assignment - Object of type `None | <class 'HTTPConnection'>` is not assignable to attribute `HTTPConnection` of type `<class 'HTTPConnection'>`
[error] invalid-assignment - Object of type `None | <class 'HTTPConnection'>` is not assignable to attribute `ConnectionCls` of type `type[@Todo]`

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

torchvision/models/detection/ssd.py

[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int`, found `list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int`, found `list[int | float] | Any`

torchvision/models/detection/ssdlite.py

[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int | float`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `int`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `list[int | float] | None`, found `int | float | list[int | float] | Any`
[error] invalid-argument-type - Argument to `SSD.__init__` is incorrect: Expected `list[int | float] | None`, found `int | float | list[int | float] | Any`

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

src/websockets/asyncio/router.py

[error] invalid-return-type - Return type does not match returned value: expected `Response | None`, found `~None`

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

src/werkzeug/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `_T@cached_property`, found `Any | _Missing`
[error] invalid-return-type - Return type does not match returned value: expected `_T@cached_property`, found `_T@cached_property | Any | _Missing`

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

xarray/core/groupby.py

[error] invalid-return-type - Return type does not match returned value: expected `T_Xarray@GroupBy`, found `Dataset`

xarray/indexes/nd_point_index.py

[error] invalid-assignment - Object of type `<class 'ScipyKDTreeAdapter'>` is not assignable to `type[T_TreeAdapter@NDPointIndex]`

xarray/tests/test_variable.py

[error] unresolved-attribute - Object of type `SubclassedArray` has no attribute `foo`

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

zerver/lib/logging_util.py

[error] unresolved-attribute - Object of type `AbstractBaseUser | AnonymousUser` has no attribute `delivery_email`
[error] unresolved-attribute - Object of type `AbstractBaseUser | AnonymousUser` has no attribute `realm`

corporate/urls.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `list[URLPattern]` and `list[URLResolver]`

zerver/lib/markdown/nested_code_blocks.py

[error] unresolved-attribute - Attribute `tag` is not defined on `None` in union `Element[Unknown] | None`

zerver/lib/message_cache.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["edit_history"]` and value of type `list[EditHistoryEvent]` on object of type `dict[str, int | str]`

zerver/tests/test_openapi.py

[error] unresolved-attribute - Attribute `__name__` is not defined on `((...) -> HttpResponse) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)` in union `(((...) -> HttpResponse) & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | (Any & ~(def get_events(request: HttpRequest, user_profile: UserProfile) -> HttpResponse)) | ((HttpRequest, /, user_profile: UserProfile, *, user_client: UserClient | None = None, last_event_id: Unknown | None = None, queue_id: str | None = None, apply_markdown: Unknown = False, client_gravatar: Unknown = False, slim_presence: Unknown = False, all_public_streams: Unknown = False, event_types: Unknown | None = None, dont_block: Unknown = False, narrow: Unknown | None = None, idle_queue_timeout: Unknown | None = None, bulk_message_deletion: Unknown = False, stream_typing_notifications: Unknown = False, pronouns_field_type_supported: Unknown = True, linkifier_url_template: Unknown = False, user_list_incomplete: Unknown = False, include_deactivated_groups: Unknown = False, archived_channels: Unknown = False, empty_topic_name: Unknown = False, simplified_presence_events: Unknown = False, individual_emoji_changes: Unknown = False) -> HttpResponse)`

zerver/tests/test_typed_endpoint.py

[error] invalid-type-form - Variable of type `object` is not allowed in a parameter annotation

zerver/views/documentation.py

[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["page_is_policy_center"]` and value of type `Literal[True]` on object of type `dict[str, str]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["page_is_api_center"]` and value of type `Literal[True]` on object of type `dict[str, str]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Literal["api_url_context"]` and value of type `dict[str, Any]` on object of type `dict[str, str]`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `str`
[error] invalid-argument-type - Argument to function `add_google_analytics_context` is incorrect: Expected `dict[str, object]`, found `dict[str, str]`