Skip to content

Conversation

@AlexWaygood
Copy link
Member

Summary

Fixes astral-sh/ty#820. We don't support TypedDicts yet, and nobody's working on it right now to my knowledge, but reducing false positives in the meantime is pretty straightforward.

Test Plan

  • mdtests updated
  • QUICKCHECK_TESTS=100000 cargo test --release -p ty_python_semantic -- --ignored types::property_tests::stable still passes

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Jul 15, 2025
@github-actions
Copy link
Contributor

mypy_primer results

Changes were detected when running on open source projects
com2ann (https://github.com/ilevkivskyi/com2ann)
- error[invalid-assignment] src/test_cli.py:49:9: Object of type `dict[Unknown, Unknown]` is not assignable to `ParseResult`
- Found 5 diagnostics
+ Found 4 diagnostics

python-chess (https://github.com/niklasf/python-chess)
- error[invalid-assignment] chess/engine.py:1763:5: Object of type `dict[Unknown, Unknown]` is not assignable to `InfoDict`
- error[invalid-assignment] chess/engine.py:2572:5: Object of type `dict[Unknown, Unknown]` is not assignable to `InfoDict`
- Found 19 diagnostics
+ Found 17 diagnostics

aioredis (https://github.com/aio-libs/aioredis)
- error[invalid-return-type] aioredis/client.py:3921:16: Return type does not match returned value: expected `MonitorCommandInfo`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] aioredis/connection.py:460:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_HiredisReaderArgs`
- error[invalid-assignment] aioredis/connection.py:1192:5: Object of type `dict[Unknown, Unknown]` is not assignable to `ConnectKwargs`
- Found 20 diagnostics
+ Found 17 diagnostics

dedupe (https://github.com/dedupeio/dedupe)
- error[invalid-assignment] dedupe/convenience.py:111:5: Object of type `dict[Unknown, Unknown]` is not assignable to `TrainingData`
- error[invalid-assignment] dedupe/convenience.py:276:5: Object of type `dict[Unknown, Unknown]` is not assignable to `TrainingData`
- error[invalid-assignment] dedupe/convenience.py:349:5: Object of type `dict[Unknown, Unknown]` is not assignable to `TrainingData`
- Found 61 diagnostics
+ Found 58 diagnostics

kornia (https://github.com/kornia/kornia)
- error[invalid-assignment] kornia/feature/keynet.py:39:1: Object of type `dict[Unknown, Unknown]` is not assignable to `KeyNet_conf`
- error[invalid-return-type] kornia/feature/scale_space_detector.py:275:12: Return type does not match returned value: expected `Detector_config`, found `dict[Unknown, Unknown]`
- Found 792 diagnostics
+ Found 790 diagnostics

graphql-core (https://github.com/graphql-python/graphql-core)
- error[invalid-assignment] src/graphql/error/graphql_error.py:237:9: Object of type `dict[Unknown, Unknown]` is not assignable to `GraphQLFormattedError`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:96:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedPendingResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:156:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedCompletedResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:230:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedExecutionResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:311:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedInitialIncrementalExecutionResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:411:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedIncrementalDeferResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:503:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedIncrementalStreamResult`
- error[invalid-assignment] src/graphql/execution/incremental_publisher.py:606:9: Object of type `dict[Unknown, Unknown]` is not assignable to `FormattedSubsequentIncrementalExecutionResult`
- error[invalid-return-type] src/graphql/language/location.py:34:16: Return type does not match returned value: expected `FormattedSourceLocation`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] tests/type/test_definition.py:1307:5: Object of type `dict[Unknown, Unknown]` is not assignable to `InfoArgs`
- Found 367 diagnostics
+ Found 357 diagnostics

kopf (https://github.com/nolar/kopf)
- error[invalid-assignment] kopf/_cogs/clients/creating.py:21:5: Object of type `RawBody | dict[Unknown, Unknown]` is not assignable to `RawBody | None`
- warning[possibly-unbound-attribute] kopf/_cogs/clients/creating.py:23:9: Attribute `setdefault` on type `RawBody | None` is possibly unbound
- warning[possibly-unbound-attribute] kopf/_cogs/clients/creating.py:25:9: Attribute `setdefault` on type `RawBody | None` is possibly unbound
- warning[possibly-unbound-attribute] kopf/_cogs/clients/creating.py:27:44: Attribute `get` on type `RawBody | None` is possibly unbound
- Found 123 diagnostics
+ Found 119 diagnostics

pyjwt (https://github.com/jpadilla/pyjwt)
- error[invalid-return-type] jwt/api_jws.py:54:16: Return type does not match returned value: expected `SigOptions`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] jwt/api_jws.py:215:13: Object of type `dict[Unknown, Unknown]` is not assignable to `SigOptions`
- error[invalid-return-type] jwt/api_jwt.py:51:16: Return type does not match returned value: expected `FullOptions`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] jwt/api_jwt.py:77:16: Return type does not match returned value: expected `FullOptions`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] jwt/api_jwt.py:246:9: Object of type `dict[Unknown, Unknown]` is not assignable to `SigOptions`
- error[invalid-argument-type] jwt/jwks_client.py:115:42: Argument to bound method `decode_complete` is incorrect: Expected `Options | None`, found `dict[Unknown, Unknown]`
- Found 29 diagnostics
+ Found 23 diagnostics

discord.py (https://github.com/Rapptz/discord.py)
- error[invalid-return-type] discord/abc.py:346:16: Return type does not match returned value: expected `PermissionOverwrite`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] discord/abc.py:1243:13: Object of type `dict[Unknown, Unknown]` is not assignable to `ChannelPositionUpdate`
- error[invalid-return-type] discord/app_commands/models.py:1137:16: Return type does not match returned value: expected `ApplicationCommandPermissions`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] discord/audit_logs.py:881:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Invite`
- error[invalid-assignment] discord/channel.py:164:9: Object of type `dict[Unknown, Unknown]` is not assignable to `BaseSoundboardSound`
- error[invalid-return-type] discord/components.py:140:16: Return type does not match returned value: expected `ActionRow`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] discord/components.py:214:9: Object of type `dict[Unknown, Unknown]` is not assignable to `ButtonComponent`
- error[invalid-assignment] discord/components.py:301:9: Object of type `dict[Unknown, Unknown]` is not assignable to `SelectMenu`
- error[invalid-assignment] discord/components.py:431:9: Object of type `dict[Unknown, Unknown]` is not assignable to `SelectOption`
- error[invalid-assignment] discord/components.py:507:9: Object of type `dict[Unknown, Unknown]` is not assignable to `TextInput`
- error[invalid-return-type] discord/components.py:585:16: Return type does not match returned value: expected `SelectDefaultValues`, found `dict[Unknown, Unknown]`
+ warning[unused-ignore-comment] discord/ext/commands/context.py:284:99: Unused blanket `type: ignore` directive
- error[invalid-assignment] discord/guild.py:2349:9: Object of type `dict[Unknown, Unknown]` is not assignable to `EditWidgetSettings`
- error[invalid-assignment] discord/guild.py:2364:9: Object of type `dict[Unknown, Unknown]` is not assignable to `IncidentData`
- error[invalid-assignment] discord/guild.py:3864:13: Object of type `dict[Unknown, Unknown]` is not assignable to `RolePositionUpdate`
- error[invalid-assignment] discord/guild.py:4397:9: Object of type `dict[Unknown, Unknown]` is not assignable to `EditWidgetSettings`
- error[invalid-argument-type] discord/interactions.py:335:36: Argument to bound method `__init__` is incorrect: Expected `ResolvedData`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] discord/interactions.py:339:36: Argument to bound method `__init__` is incorrect: Expected `ResolvedData`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] discord/interactions.py:391:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Webhook`
- error[invalid-assignment] discord/message.py:417:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Attachment`
+ warning[unused-ignore-comment] discord/mentions.py:137:22: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] discord/message.py:737:24: Unused blanket `type: ignore` directive
- error[invalid-assignment] discord/message.py:1966:9: Object of type `dict[Unknown, Unknown]` is not assignable to `MessageReference`
- error[invalid-assignment] discord/opus.py:118:1: Object of type `dict[Unknown, Unknown]` is not assignable to `ApplicationCtl`
- error[invalid-assignment] discord/opus.py:124:1: Object of type `dict[Unknown, Unknown]` is not assignable to `BandCtl`
- error[invalid-assignment] discord/opus.py:132:1: Object of type `dict[Unknown, Unknown]` is not assignable to `SignalCtl`
- error[invalid-assignment] discord/partial_emoji.py:152:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Emoji`
- error[invalid-assignment] discord/poll.py:91:9: Object of type `dict[Unknown, Unknown]` is not assignable to `PollMedia`
- error[invalid-assignment] discord/poll.py:182:9: Object of type `dict[Unknown, Unknown]` is not assignable to `PollMedia`
- error[invalid-assignment] discord/poll.py:189:9: Object of type `dict[Unknown, Unknown]` is not assignable to `PollAnswerWithID`
- error[invalid-return-type] discord/poll.py:219:16: Return type does not match returned value: expected `PollAnswer`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] discord/poll.py:476:9: Object of type `dict[Unknown, Unknown]` is not assignable to `PollCreate`
- error[invalid-assignment] discord/presences.py:59:9: Object of type `(ClientStatus & ~AlwaysFalsy) | (Any & ~AlwaysFalsy) | dict[Unknown, Unknown]` is not assignable to `ClientStatus`
- error[invalid-assignment] discord/raw_models.py:410:9: Object of type `dict[Unknown, Unknown]` is not assignable to `ThreadDeleteEvent`
- error[invalid-assignment] discord/webhook/async_.py:1234:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Webhook`
- error[invalid-assignment] discord/webhook/async_.py:1321:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Webhook`
- error[invalid-assignment] discord/webhook/sync.py:647:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Webhook`
- error[invalid-assignment] discord/welcome_screen.py:95:9: Object of type `dict[Unknown, Unknown]` is not assignable to `WelcomeScreenChannel`
- Found 550 diagnostics
+ Found 518 diagnostics

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
- error[no-matching-overload] src/hydra_zen/structured_configs/_implementations.py:501:15: No overload of bound method `builds` matches arguments
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:1122:13: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:1375:38: Argument to function `mutable_value` is incorrect: Expected `ZenConvert | None`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:2118:13: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:2121:40: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `DataclassOptions | None`
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:2123:30: Attribute `pop` on type `DataclassOptions | None` is possibly unbound
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:2124:23: Attribute `pop` on type `DataclassOptions | None` is possibly unbound
- error[non-subscriptable] src/hydra_zen/structured_configs/_implementations.py:2134:13: Cannot subscript object of type `None` with no `__getitem__` method
- error[non-subscriptable] src/hydra_zen/structured_configs/_implementations.py:2144:13: Cannot subscript object of type `None` with no `__getitem__` method
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:2146:28: Attribute `get` on type `DataclassOptions | None` is possibly unbound
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:2148:60: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `DataclassOptions | None`
+ warning[unused-ignore-comment] src/hydra_zen/structured_configs/_implementations.py:3140:71: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] src/hydra_zen/structured_configs/_implementations.py:3150:78: Unused blanket `type: ignore` directive
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:3090:13: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:3101:58: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `DataclassOptions | None`
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:3127:13: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:3130:40: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `DataclassOptions | None`
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:3153:21: Attribute `get` on type `DataclassOptions | None` is possibly unbound
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:3155:9: Attribute `setdefault` on type `DataclassOptions | None` is possibly unbound
- error[invalid-argument-type] src/hydra_zen/structured_configs/_implementations.py:3156:60: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `DataclassOptions | None`
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:3478:9: Object of type `@Todo(map_with_boundness: intersections with negative contributions) | dict[Unknown, Unknown]` is not assignable to `DataclassOptions`
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:3484:13: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[invalid-assignment] src/hydra_zen/structured_configs/_implementations.py:3486:9: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[non-subscriptable] src/hydra_zen/structured_configs/_implementations.py:3487:9: Cannot subscript object of type `None` with no `__getitem__` method
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:3488:9: Attribute `setdefault` on type `DataclassOptions | None` is possibly unbound
- warning[possibly-unbound-attribute] src/hydra_zen/structured_configs/_implementations.py:3491:9: Attribute `setdefault` on type `DataclassOptions | None` is possibly unbound
- error[invalid-assignment] src/hydra_zen/structured_configs/_make_custom_builds.py:322:9: Object of type `dict[Unknown, Unknown]` is not assignable to `DataclassOptions | None`
- error[non-subscriptable] src/hydra_zen/structured_configs/_make_custom_builds.py:333:9: Cannot subscript object of type `None` with no `__getitem__` method
- error[invalid-argument-type] src/hydra_zen/structured_configs/_make_custom_builds.py:335:46: Argument to function `parse_dataclass_options` is incorrect: Expected `Mapping[str, Any]`, found `(@Todo(dict comprehension type) & ~None) | DataclassOptions | None`
+ warning[unused-ignore-comment] src/hydra_zen/third_party/pydantic.py:17:74: Unused blanket `type: ignore` directive
- error[no-matching-overload] tests/annotations/declarations.py:175:17: No overload of function `just` matches arguments
- error[no-matching-overload] tests/annotations/declarations.py:1228:5: No overload matches arguments
- error[no-matching-overload] tests/annotations/declarations.py:1231:5: No overload matches arguments
- error[no-matching-overload] tests/annotations/declarations.py:1234:5: No overload matches arguments
- error[no-matching-overload] tests/annotations/declarations.py:1237:5: No overload of bound method `builds` matches arguments
- error[invalid-argument-type] tests/annotations/declarations.py:1240:32: Argument to function `make_custom_builds_fn` is incorrect: Expected `DataclassOptions | None`, found `dict[Unknown, Unknown]`
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1229:41: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1232:41: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1235:41: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1238:45: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1241:55: Unused blanket `type: ignore` directive
- error[invalid-argument-type] tests/annotations/declarations.py:1245:17: Argument to function `make_config` is incorrect: Expected `DataclassOptions | None`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] tests/annotations/declarations.py:1248:17: Argument to function `make_config` is incorrect: Expected `DataclassOptions | None`, found `dict[Unknown, Unknown]`
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1246:55: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1249:45: Unused blanket `type: ignore` directive
- error[no-matching-overload] tests/annotations/declarations.py:1436:5: No overload of bound method `builds` matches arguments
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1434:47: Unused blanket `type: ignore` directive
+ warning[unused-ignore-comment] tests/annotations/declarations.py:1435:51: Unused blanket `type: ignore` directive
- Found 596 diagnostics
+ Found 572 diagnostics

PyGithub (https://github.com/PyGithub/PyGithub)
- error[invalid-return-type] github/AdvisoryCredit.py:112:20: Return type does not match returned value: expected `SimpleCredit`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] github/AdvisoryCredit.py:117:20: Return type does not match returned value: expected `SimpleCredit`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] github/AdvisoryVulnerability.py:158:20: Return type does not match returned value: expected `SimpleAdvisoryVulnerability`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] github/AdvisoryVulnerability.py:167:16: Return type does not match returned value: expected `SimpleAdvisoryVulnerability`, found `dict[Unknown, Unknown]`
- Found 305 diagnostics
+ Found 301 diagnostics

pydantic (https://github.com/pydantic/pydantic)
- error[invalid-return-type] pydantic/_internal/_generate_schema.py:2526:12: Return type does not match returned value: expected `_CommonField`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] pydantic/_internal/_model_construction.py:218:17: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `__pydantic_generic_metadata__` of type `PydanticGenericMetadata`
- error[invalid-return-type] pydantic/_internal/_schema_gather.py:206:12: Return type does not match returned value: expected `GatherResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] pydantic/json_schema.py:2737:12: Return type does not match returned value: expected `ConfigDict`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] pydantic/main.py:1383:13: Object of type `dict[Unknown, Unknown]` is not assignable to `InitErrorDetails`
- error[invalid-assignment] pydantic/v1/error_wrappers.py:128:5: Object of type `dict[Unknown, Unknown]` is not assignable to `ErrorDict`
- error[invalid-return-type] pydantic/v1/networks.py:385:16: Return type does not match returned value: expected `Parts`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] pydantic/v1/networks.py:413:16: Return type does not match returned value: expected `Parts`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] pydantic/v1/networks.py:525:16: Return type does not match returned value: expected `Parts`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] pydantic/v1/networks.py:538:16: Return type does not match returned value: expected `Parts`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] pydantic/v1/networks.py:548:16: Return type does not match returned value: expected `Parts`, found `dict[Unknown, Unknown]`
- Found 759 diagnostics
+ Found 748 diagnostics

strawberry (https://github.com/strawberry-graphql/strawberry)
- error[invalid-assignment] strawberry/channels/testing.py:132:13: Object of type `dict[Unknown, Unknown]` is not assignable to `StartMessage`
- error[invalid-assignment] strawberry/http/__init__.py:18:5: Object of type `dict[Unknown, Unknown]` is not assignable to `GraphQLHTTPResponse`
- error[invalid-assignment] strawberry/subscriptions/protocols/graphql_transport_ws/handlers.py:408:9: Object of type `dict[Unknown, Unknown]` is not assignable to `NextMessagePayload`
- error[invalid-assignment] strawberry/subscriptions/protocols/graphql_ws/handlers.py:226:9: Object of type `dict[Unknown, Unknown]` is not assignable to `DataMessage`
- Found 356 diagnostics
+ Found 352 diagnostics

PyWinCtl (https://github.com/Kalmat/PyWinCtl)
- error[invalid-assignment] src/pywinctl/_pywinctl_linux.py:299:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_WINDATA`
- Found 33 diagnostics
+ Found 32 diagnostics

aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)
- error[invalid-return-type] aiohttp_devtools/runserver/main.py:61:12: Return type does not match returned value: expected `RunServer`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp_devtools/runserver/main.py:79:12: Return type does not match returned value: expected `RunServer`, found `dict[Unknown, Unknown]`
- Found 59 diagnostics
+ Found 57 diagnostics

yarl (https://github.com/aio-libs/yarl)
- error[invalid-argument-type] tests/test_pickle.py:29:20: Argument to bound method `__setstate__` is incorrect: Expected `tuple[Unknown | tuple[str, str, str, str, str]] | tuple[None, _InternalURLCache]`, found `tuple[None, dict[Unknown, Unknown]]`
- error[invalid-assignment] yarl/_url.py:147:5: Object of type `dict[Unknown, Unknown]` is not assignable to `_InternalURLCache`
- error[invalid-return-type] yarl/_url.py:1555:12: Return type does not match returned value: expected `CacheInfo`, found `dict[Unknown, Unknown]`
- Found 52 diagnostics
+ Found 49 diagnostics

cloud-init (https://github.com/canonical/cloud-init)
- error[invalid-assignment] cloudinit/config/cc_ansible.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_apk_configure.py:54:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_apt_configure.py:42:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_apt_pipelining.py:29:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_bootcmd.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_byobu.py:22:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ca_certs.py:102:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_chef.py:95:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_disable_ec2_metadata.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_disk_setup.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_fan.py:16:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_final_message.py:21:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_growpart.py:31:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_grub_dpkg.py:21:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_install_hotplug.py:15:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_keyboard.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_keys_to_console.py:24:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_landscape.py:34:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_locale.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_lxd.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_mcollective.py:30:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_mounts.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ntp.py:262:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_package_update_upgrade_install.py:24:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_phone_home.py:29:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_power_state_change.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_puppet.py:31:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_raspberry_pi.py:30:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_reset_rmc.py:37:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_resizefs.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_resolv_conf.py:26:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_rh_subscription.py:18:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_rsyslog.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_runcmd.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_salt_minion.py:17:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_scripts_per_boot.py:22:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_scripts_per_instance.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_scripts_per_once.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_scripts_user.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_scripts_vendor.py:18:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_seed_random.py:24:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_set_hostname.py:21:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_set_passwords.py:25:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_snap.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_spacewalk.py:12:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ssh.py:29:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ssh_authkey_fingerprints.py:21:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ssh_import_id.py:24:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_timezone.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ubuntu_autoinstall.py:16:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ubuntu_drivers.py:27:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_ubuntu_pro.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_update_etc_hosts.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_update_hostname.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_users_groups.py:21:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_wireguard.py:15:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_write_files.py:26:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_write_files_deferred.py:17:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_yum_add_repo.py:20:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] cloudinit/config/cc_zypper_add_repo.py:19:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- error[invalid-assignment] tests/integration_tests/assets/dropins/cc_custom_module_24_1.py:22:1: Object of type `dict[Unknown, Unknown]` is not assignable to `MetaSchema`
- Found 661 diagnostics
+ Found 600 diagnostics

mkdocs (https://github.com/mkdocs/mkdocs)
- error[invalid-argument-type] mkdocs/tests/utils/templates_tests.py:36:49: Argument to function `script_tag_filter` is incorrect: Expected `TemplateContext`, found `dict[Unknown, Unknown]`
- Found 189 diagnostics
+ Found 188 diagnostics

paasta (https://github.com/yelp/paasta)
- error[invalid-assignment] paasta_tools/contrib/rightsizer_soaconfigs_update.py:208:5: Object of type `dict[Unknown, Unknown]` is not assignable to `KubernetesRecommendation`
- error[invalid-assignment] paasta_tools/contrib/rightsizer_soaconfigs_update.py:243:5: Object of type `dict[Unknown, Unknown]` is not assignable to `CassandraRecommendation`
- error[invalid-assignment] paasta_tools/contrib/rightsizer_soaconfigs_update.py:282:9: Object of type `dict[Unknown, Unknown]` is not assignable to `KubernetesRecommendation | CassandraRecommendation`
- error[invalid-return-type] paasta_tools/kubernetes/remote_run.py:154:12: Return type does not match returned value: expected `RemoteRunOutcome`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] paasta_tools/kubernetes/remote_run.py:190:16: Return type does not match returned value: expected `RemoteRunOutcome`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] paasta_tools/kubernetes/remote_run.py:193:20: Return type does not match returned value: expected `RemoteRunOutcome`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] paasta_tools/kubernetes/remote_run.py:194:9: Object of type `dict[Unknown, Unknown]` is not assignable to `RemoteRunOutcome`
- error[invalid-return-type] paasta_tools/kubernetes/remote_run.py:203:12: Return type does not match returned value: expected `RemoteRunOutcome`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] paasta_tools/kubernetes/remote_run.py:247:12: Return type does not match returned value: expected `RemoteRunOutcome`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] paasta_tools/long_running_service_tools.py:354:9: Object of type `dict[Unknown, Unknown]` is not assignable to `MetricsProviderDict`
- Found 888 diagnostics
+ Found 878 diagnostics

pwndbg (https://github.com/pwndbg/pwndbg)
- error[invalid-return-type] pwndbg/dbg/lldb/__init__.py:1612:16: Return type does not match returned value: expected `DisassembledInstruction | None`, found `dict[Unknown, Unknown]`
- Found 2263 diagnostics
+ Found 2262 diagnostics

freqtrade (https://github.com/freqtrade/freqtrade)
- error[invalid-assignment] freqtrade/data/dataprovider.py:129:13: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCAnalyzedDFMsg`
- error[invalid-assignment] freqtrade/exchange/binance.py:30:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/binance.py:44:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/bingx.py:18:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/bitmart.py:18:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/bitvavo.py:24:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/bybit.py:32:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/bybit.py:45:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/cryptocom.py:17:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/exchange.py:129:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/exchange.py:168:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/exchange.py:169:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/exchange_utils.py:99:5: Object of type `dict[Unknown, Unknown]` is not assignable to `ValidExchangesType`
- error[invalid-assignment] freqtrade/exchange/gate.py:32:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/gate.py:43:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/hitbtc.py:20:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/htx.py:19:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/hyperliquid.py:23:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/hyperliquid.py:33:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/idex.py:18:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/kraken.py:23:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/kucoin.py:23:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/lbank.py:18:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/luno.py:20:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/modetrade.py:21:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/okx.py:30:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/exchange/okx.py:39:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FtHas`
- error[invalid-assignment] freqtrade/freqtradebot.py:1207:9: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCEntryMsg`
- error[invalid-assignment] freqtrade/freqtradebot.py:1243:9: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCCancelMsg`
- error[invalid-assignment] freqtrade/freqtradebot.py:2182:9: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCExitMsg`
- error[invalid-assignment] freqtrade/freqtradebot.py:2239:9: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCExitCancelMsg`
- error[invalid-assignment] freqtrade/freqtradebot.py:2401:13: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCProtectionMsg`
- error[invalid-assignment] freqtrade/freqtradebot.py:2410:13: Object of type `dict[Unknown, Unknown]` is not assignable to `RPCProtectionMsg`
- error[invalid-return-type] freqtrade/optimize/backtesting.py:1707:16: Return type does not match returned value: expected `BacktestContentTypeIcomplete`, found `dict[Unknown, Unknown]`
- Found 400 diagnostics
+ Found 366 diagnostics

scrapy (https://github.com/scrapy/scrapy)
- error[invalid-return-type] scrapy/logformatter.py:81:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/logformatter.py:106:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/logformatter.py:127:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/logformatter.py:148:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/logformatter.py:167:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/logformatter.py:194:16: Return type does not match returned value: expected `LogFormatterResult`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:134:20: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:139:16: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:196:20: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:315:24: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:316:20: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:406:24: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:409:24: Return type does not match returned value: expected `StatInfo`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:591:20: Return type does not match returned value: expected `FileInfo | None`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] scrapy/pipelines/files.py:690:16: Return type does not match returned value: expected `FileInfo`, found `dict[Unknown, Unknown]`
- Found 1104 diagnostics
+ Found 1089 diagnostics

urllib3 (https://github.com/urllib3/urllib3)
- error[invalid-assignment] test/test_connection.py:44:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:50:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:55:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:70:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:85:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:90:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:97:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:102:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:114:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:123:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:128:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:158:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:162:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:179:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- error[invalid-assignment] test/test_connection.py:194:9: Object of type `dict[Unknown, Unknown]` is not assignable to `_TYPE_PEER_CERT_RET_DICT`
- Found 417 diagnostics
+ Found 402 diagnostics

AutoSplit (https://github.com/Toufool/AutoSplit)
- error[invalid-assignment] src/menu_bar.py:473:5: Object of type `dict[Unknown, Unknown]` is not assignable to `UserProfileDict`
- Found 39 diagnostics
+ Found 38 diagnostics

altair (https://github.com/vega/altair)
- error[invalid-return-type] altair/datasets/_constraints.py:57:24: Return type does not match returned value: expected `Metadata`, found `dict[str, @Todo(`Unpack[]` special form)]`
- error[invalid-return-type] altair/datasets/_constraints.py:60:16: Return type does not match returned value: expected `Metadata`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] altair/datasets/_constraints.py:111:33: Argument to bound method `from_metadata` is incorrect: Expected `Metadata`, found `dict[str, @Todo(`Unpack[]` special form)]`
- error[invalid-assignment] altair/datasets/_reader.py:177:9: Object of type `(Metadata & Mapping[Unknown, Unknown]) | (Path & Mapping[Unknown, Unknown]) | (str & Mapping[Unknown, Unknown]) | dict[Unknown, Unknown]` is not assignable to `Metadata | Path | str`
- error[invalid-assignment] altair/datasets/_reader.py:475:5: Object of type `dict[Unknown, Unknown]` is not assignable to `Metadata`
- error[invalid-assignment] altair/datasets/_reader.py:481:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Metadata`
- error[invalid-return-type] altair/vegalite/v6/api.py:595:12: Return type does not match returned value: expected `_ConditionExtra`, found `dict[Unknown, Unknown] | (@Todo(Inference of subscript on special form) & dict[Unknown, Unknown] & ~Parameter)`
- error[invalid-return-type] altair/vegalite/v6/theme.py:90:16: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:97:16: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:109:16: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:260:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:303:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:373:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:416:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:469:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:560:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:647:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:691:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] tests/vegalite/v6/test_theme.py:810:12: Return type does not match returned value: expected `ThemeConfig`, found `dict[Unknown, Unknown]`
- Found 1324 diagnostics
+ Found 1305 diagnostics

cwltool (https://github.com/common-workflow-language/cwltool)
- error[invalid-assignment] cwltool/cwlprov/ro.py:342:13: Object of type `dict[Unknown, Unknown]` is not assignable to `Aggregate`
- error[invalid-assignment] cwltool/cwlprov/ro.py:385:13: Object of type `dict[Unknown, Unknown]` is not assignable to `Aggregate`
- error[invalid-assignment] cwltool/cwlprov/ro.py:406:9: Object of type `dict[Unknown, Unknown]` is not assignable to `Aggregate`
- error[invalid-assignment] cwltool/cwlprov/ro.py:484:9: Object of type `dict[Unknown, Unknown]` is not assignable to `AuthoredBy`
- Found 135 diagnostics
+ Found 131 diagnostics

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
- error[invalid-assignment] tests/test_frame.py:2646:9: Object of type `dict[Unknown, Unknown]` is not assignable to `ReadCsvKwargs`
- error[invalid-assignment] tests/test_timefuncs.py:1072:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FulldatetimeDict`
- error[invalid-assignment] tests/test_timefuncs.py:1078:5: Object of type `dict[Unknown, Unknown]` is not assignable to `FulldatetimeDict`
- Found 2771 diagnostics
+ Found 2768 diagnostics

pytest (https://github.com/pytest-dev/pytest)
- error[invalid-assignment] testing/typing_checks.py:47:5: Object of type `dict[Unknown, Unknown]` is not assignable to `Foo`
- Found 520 diagnostics
+ Found 519 diagnostics

bokeh (https://github.com/bokeh/bokeh)
- error[invalid-assignment] src/bokeh/resources.py:292:5: Object of type `dict[Unknown, Unknown]` is not assignable to `ComponentDefs`
- error[invalid-assignment] src/bokeh/sphinxext/_internal/bokeh_gallery.py:163:17: Object of type `dict[Unknown, Unknown]` is not assignable to `GalleryDetail`
- Found 851 diagnostics
+ Found 849 diagnostics

aiohttp (https://github.com/aio-libs/aiohttp)
- error[invalid-assignment] aiohttp/compression_utils.py:182:9: Object of type `dict[Unknown, Unknown]` is not assignable to `CompressObjArgs`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:415:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:487:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:610:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:755:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:830:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:861:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] aiohttp/web_urldispatcher.py:927:16: Return type does not match returned value: expected `_InfoDict`, found `dict[Unknown, Unknown]`
- Found 177 diagnostics
+ Found 169 diagnostics

sphinx (https://github.com/sphinx-doc/sphinx)
- error[invalid-return-type] sphinx/addnodes.py:620:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/changes.py:187:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/dirhtml.py:46:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/dummy.py:42:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/epub3.py:360:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/gettext.py:360:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/html/__init__.py:1551:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/latex/__init__.py:641:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/latex/transforms.py:657:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/linkcheck.py:822:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/manpage.py:135:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/singlehtml.py:219:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/texinfo.py:260:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/text.py:85:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/builders/xml.py:117:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/config.py:922:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/directives/__init__.py:378:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/directives/admonitions.py:103:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/directives/code.py:510:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/directives/other.py:438:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/directives/patches.py:236:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/c/__init__.py:993:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/changeset.py:176:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/citation.py:184:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/cpp/__init__.py:1331:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/index.py:125:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/javascript.py:590:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/math.py:163:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/python/__init__.py:1128:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/rst.py:344:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/domains/std/__init__.py:1467:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/environment/collectors/asset.py:181:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/environment/collectors/dependencies.py:56:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/environment/collectors/metadata.py:74:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/environment/collectors/title.py:65:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/environment/collectors/toctree.py:397:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/apidoc/__init__.py:62:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autodoc/__init__.py:3221:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autodoc/preserve_defaults.py:205:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autodoc/type_comment.py:165:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autodoc/typehints.py:239:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autosectionlabel.py:82:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/autosummary/__init__.py:1003:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/coverage.py:554:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/doctest.py:650:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/extlinks.py:136:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/githubpages.py:55:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/graphviz.py:533:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/ifconfig.py:82:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/imgconverter.py:115:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/imgmath.py:419:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/inheritance_diagram.py:565:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/intersphinx/__init__.py:84:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/linkcode.py:97:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/mathjax.py:154:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/napoleon/__init__.py:324:16: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/napoleon/__init__.py:338:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/todo.py:246:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/ext/viewcode.py:413:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/extension.py:90:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/parsers.py:111:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-assignment] sphinx/registry.py:559:17: Object of type `dict[Unknown, Unknown]` is not assignable to `ExtensionMetadata`
- error[invalid-assignment] sphinx/registry.py:575:17: Object of type `dict[Unknown, Unknown]` is not assignable to `ExtensionMetadata`
- error[invalid-assignment] sphinx/registry.py:585:17: Object of type `dict[Unknown, Unknown]` is not assignable to `ExtensionMetadata`
- error[invalid-return-type] sphinx/registry.py:616:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/roles.py:649:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/__init__.py:528:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/compact_bullet_list.py:90:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/i18n.py:701:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/post_transforms/__init__.py:399:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/post_transforms/code.py:139:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/post_transforms/images.py:298:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/transforms/references.py:48:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] sphinx/versioning.py:180:12: Return type does not match returned value: expected `ExtensionMetadata`, found `dict[Unknown, Unknown]`
- Found 605 diagnostics
+ Found 531 diagnostics

openlibrary (https://github.com/internetarchive/openlibrary)
- error[invalid-return-type] openlibrary/core/lending.py:347:12: Return type does not match returned value: expected `AvailabilityStatusV2`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] openlibrary/core/lists/model.py:449:21: Argument to bound method `__init__` is incorrect: Expected `Thing | str | AnnotatedSeed`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] openlibrary/core/lists/model.py:460:21: Argument to bound method `__init__` is incorrect: Expected `Thing | str | AnnotatedSeed`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] openlibrary/core/lists/model.py:489:20: Return type does not match returned value: expected `str | ThingReferenceDict | AnnotatedSeedDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] openlibrary/core/lists/model.py:494:20: Return type does not match returned value: expected `str | ThingReferenceDict | AnnotatedSeedDict`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] openlibrary/core/ratings.py:122:16: Return type does not match returned value: expected `WorkRatingsSummary`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] openlibrary/plugins/openlibrary/tests/test_lists.py:106:18: Argument to function `normalize_input_seed` is incorrect: Expected `ThingReferenceDict | AnnotatedSeedDict | str`, found `dict[Unknown, Unknown]`
- error[invalid-argument-type] openlibrary/plugins/worksearch/tests/test_worksearch.py:19:9: Argument to function `get_doc` is incorrect: Expected `SolrDocument`, found `dict[Unknown, Unknown]`
- error[invalid-return-type] openlibrary/solr/updater/work.py:173:12: Return type does not match returned value: expected `IALiteMetadata | None`, found `dict[Unknown, Unknown]`
- Found 688 diagnostics
+ Found 679 diagnostics

streamlit (https://github.com/streamlit/streamlit)
- error[invalid-assignment] lib/streamlit/elements/arrow.py:164:9: Objec...*[Comment body truncated]*

@AlexWaygood AlexWaygood marked this pull request as ready for review July 15, 2025 11:35
@github-actions
Copy link
Contributor

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-assignment 0 283 0
invalid-return-type 0 166 0
invalid-argument-type 0 116 4
no-matching-overload 0 17 0
unused-ignore-comment 15 0 0
possibly-unbound-attribute 0 11 0
non-subscriptable 0 8 0
unsupported-operator 0 2 0
Total 15 603 4

Full report with detailed diff

Copy link
Contributor

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice — thank you!

@AlexWaygood AlexWaygood merged commit 002f905 into main Jul 15, 2025
39 checks passed
@AlexWaygood AlexWaygood deleted the alex/typeddict-false-positives branch July 15, 2025 11:47
dcreager added a commit that referenced this pull request Jul 15, 2025
* main:
  [`pylint`] Extend invalid string character rules to include t-strings (#19355)
  Make TC010 docs example more realistic (#19356)
  Move RDJSON rendering to `ruff_db` (#19293)
  [`flake8-use-pathlib`] Skip single dots for `invalid-pathlib-with-suffix` (`PTH210`) on versions >= 3.14 (#19331)
  [`ruff`] Allow `strict` kwarg when checking for `starmap-zip` (`RUF058`) in Python 3.14+ (#19333)
  [ty] Reduce false positives for `TypedDict` types (#19354)
  [ty] Remove `ConnectionInitializer` (#19353)
  [ty] Use `Type::string_literal()` more (#19352)
  [ty] Add ecosystem-report workflow (#19349)
  [ty] Make use of salsa `Lookup` when interning values (#19347)
  [ty] Sync vendored typeshed stubs (#19345)
  [`pylint`] Make example error out-of-the-box (`PLE2502`) (#19272)
  [`pydoclint`] Fix `SyntaxError` from fixes with line continuations (`D201`, `D202`) (#19246)
dcreager added a commit that referenced this pull request Jul 15, 2025
* dcreager/merge-arguments:
  add types iterator
  add asserting constructor
  debug assert lengths
  remove unused From
  use FromIterator
  [`pylint`] Extend invalid string character rules to include t-strings (#19355)
  Make TC010 docs example more realistic (#19356)
  Move RDJSON rendering to `ruff_db` (#19293)
  [`flake8-use-pathlib`] Skip single dots for `invalid-pathlib-with-suffix` (`PTH210`) on versions >= 3.14 (#19331)
  [`ruff`] Allow `strict` kwarg when checking for `starmap-zip` (`RUF058`) in Python 3.14+ (#19333)
  [ty] Reduce false positives for `TypedDict` types (#19354)
  [ty] Remove `ConnectionInitializer` (#19353)
  [ty] Use `Type::string_literal()` more (#19352)
  [ty] Add ecosystem-report workflow (#19349)
  [ty] Make use of salsa `Lookup` when interning values (#19347)
  [ty] Sync vendored typeshed stubs (#19345)
  [`pylint`] Make example error out-of-the-box (`PLE2502`) (#19272)
  [`pydoclint`] Fix `SyntaxError` from fixes with line continuations (`D201`, `D202`) (#19246)
UnboundVariable pushed a commit to UnboundVariable/ruff that referenced this pull request Jul 15, 2025
…finition

* 'main' of https://github.com/astral-sh/ruff: (39 commits)
  [ty] Sync vendored typeshed stubs (astral-sh#19368)
  Fix typeshed-sync workflow (astral-sh#19367)
  Rework typeshed-sync workflow to also add docstrings for Windows- and MacOS-specific APIs (astral-sh#19360)
  [ty] Allow `-qq` for silent output mode (astral-sh#19366)
  [ty] Allow `-q` short alias for `--quiet` (astral-sh#19364)
  Add shellcheck to pre-commit (astral-sh#19361)
  distinguish references from definitions in `infer_nonlocal`
  [`pycodestyle`] Handle brace escapes for t-strings in logical lines (astral-sh#19358)
  [ty] Combine CallArguments and CallArgumentTypes (astral-sh#19337)
  Move Pylint rendering to `ruff_db` (astral-sh#19340)
  [`pylint`] Extend invalid string character rules to include t-strings (astral-sh#19355)
  Make TC010 docs example more realistic (astral-sh#19356)
  Move RDJSON rendering to `ruff_db` (astral-sh#19293)
  [`flake8-use-pathlib`] Skip single dots for `invalid-pathlib-with-suffix` (`PTH210`) on versions >= 3.14 (astral-sh#19331)
  [`ruff`] Allow `strict` kwarg when checking for `starmap-zip` (`RUF058`) in Python 3.14+ (astral-sh#19333)
  [ty] Reduce false positives for `TypedDict` types (astral-sh#19354)
  [ty] Remove `ConnectionInitializer` (astral-sh#19353)
  [ty] Use `Type::string_literal()` more (astral-sh#19352)
  [ty] Add ecosystem-report workflow (astral-sh#19349)
  [ty] Make use of salsa `Lookup` when interning values (astral-sh#19347)
  ...

# Conflicts:
#	crates/ty_ide/src/goto.rs
#	crates/ty_server/src/server.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecosystem-analyzer ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow TypedDict instance literals

3 participants