[ty] Check implicit open TypedDict extra items by charliermarsh · Pull Request #25628 · astral-sh/ruff (original) (raw)
ecosystem-analyzer results
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
| invalid-argument-type | 79 | 12 | 8 |
| Total | 79 | 12 | 8 |
Raw diff (99 changes)
core (https://github.com/home-assistant/core)
- homeassistant/components/aprilaire/coordinator.py:104:21 error[invalid-argument-type] Argument to bound method
DeviceRegistry.async_update_deviceis incorrect: ExpectedDeviceEntryType | None | UndefinedType, foundset[tuple[str, str]] - homeassistant/components/aprilaire/coordinator.py:104:21 error[invalid-argument-type] Argument to bound method
DeviceRegistry.async_update_deviceis incorrect: Expectedstr | None | UndefinedType, foundset[tuple[str, str]]
- homeassistant/helpers/condition.py:1172:46 error[invalid-argument-type] Argument to bound method
ConditionChecker.async_checkis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedNever - homeassistant/helpers/condition.py:1206:46 error[invalid-argument-type] Argument to bound method
ConditionChecker.async_checkis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedNever - homeassistant/helpers/condition.py:1240:46 error[invalid-argument-type] Argument to bound method
ConditionChecker.async_checkis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedNever
discord.py (https://github.com/Rapptz/discord.py)
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: ExpectedCooldownMapping[Context[Any]], foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: ExpectedCooldownMapping[Context[Any]], foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: ExpectedMaxConcurrency, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: ExpectedMaxConcurrency, foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expecteddict[Any, Any], foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedlist[(Context[Any], /) -> bool | Coroutine[Any, Any, bool]], foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedlist[str] | tuple[str, ...], foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr | None, foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedbool, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr, foundobject
- discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expecteddict[Any, Any], foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedlist[(Context[Any], /) -> bool | Coroutine[Any, Any, bool]], foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedlist[str] | tuple[str, ...], foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr | None, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr | None, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr | None, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements - discord/ext/commands/core.py:602:38 error[invalid-argument-type] Argument to
Command.__init__is incorrect: Expectedstr, foundAny | list[str] | tuple[str, ...] | ... omitted 7 union elements
rotki (https://github.com/rotki/rotki)
- rotkehlchen/history/events/structures/solana_swap.py:111:17 error[invalid-argument-type] Argument to
SolanaSwapEvent.__init__is incorrect: ExpectedTimestampMS, foundstr | None - rotkehlchen/history/events/structures/solana_swap.py:111:17 error[invalid-argument-type] Argument to
SolanaSwapEvent.__init__is incorrect: Expectedstr | None, foundLocation
zulip (https://github.com/zulip/zulip)
- zerver/tests/test_scim.py💯72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:109:68 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:126:60 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:159:69 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:179:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:193:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:229:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:238:60 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:259:56 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:285:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:296:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:318:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:352:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:384:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:398:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:429:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:457:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:487:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:500:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:521:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:546:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:573:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:579:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_deleteis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:607:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:634:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:661:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:678:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:697:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:705:72 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:719:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:738:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:763:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:781:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:795:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:806:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:820:78 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:836:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:856:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:892:76 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:918:78 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:941:78 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:965:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:990:76 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1013:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1046:76 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1081:76 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1104:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1130:73 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1213:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1233:13 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1243:61 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1262:57 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1283:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1304:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1325:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1800:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1818:17 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_postis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1856:51 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1185:74 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_getis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1356:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1377:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1397:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_putis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1438:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1468:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1502:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1537:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1563:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1587:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1608:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1636:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1671:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1695:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1736:79 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1767:60 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.json_patchis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1780:75 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_deleteis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr - zerver/tests/test_scim.py:1837:77 error[invalid-argument-type] Argument to bound method
ZulipTestCaseMixin.client_deleteis incorrect: Possible extra items in unpacked openTypedDicthave typeobject, expectedstr