Summary

Comparing branches/commits:
Old: main (merge base) 527a690a
New: 19936/merge 2c5091cb
Lint Rule Removed Added Changed
Total 198 10 68
invalid-argument-type 161 1 2
invalid-assignment 23 4 64
invalid-return-type 8 1 1
unused-ignore-comment 2 4 0
missing-argument 2 0 0
unresolved-attribute 2 0 0
invalid-parameter-default 0 0 1

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

github/GithubObject.py

[error] invalid-return-type - :319:24 - Return type does not match returned value: expected `Attribute[K@__makeTransformedAttribute]`, found `_ValuedAttribute[K@__makeTransformedAttribute]`
[warning] unused-ignore-comment - :309:45 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :316:44 - Unused blanket `type: ignore` directive

asynq (https://github.com/quora/asynq)

asynq/debug.py

[error] invalid-assignment - :324:5 -
Old: Object of type `Unknown | None` is not assignable to attribute `excepthook` of type `(type[BaseException], BaseException, TracebackType | None, /) -> Any`
New: Object of type `Unknown | None` is not assignable to attribute `excepthook` on type `(type[BaseException], BaseException, TracebackType | None, /) -> Any`

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

tests/test_annotations.py

[error] invalid-argument-type - :48:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :49:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :50:36 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :78:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :79:52 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :93:37 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :122:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'C'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :124:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :126:50 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :127:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :129:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :130:33 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :132:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :134:42 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :415:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'C'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :517:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'C'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :519:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :520:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :521:36 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :539:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'C'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :541:56 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :547:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'D'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :549:37 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'D'>`
[error] invalid-argument-type - :564:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :566:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :567:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :568:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :582:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :583:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :584:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :596:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :598:33 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :599:50 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :614:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :615:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'B'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :617:46 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :618:33 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'B'>`
[error] invalid-argument-type - :620:46 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :621:33 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'B'>`
[error] invalid-argument-type - :662:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :663:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'B'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :665:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :666:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'B'>`
[error] invalid-argument-type - :678:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :680:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :682:28 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :684:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`

tests/test_converters.py

[error] invalid-argument-type - :297:29 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`

tests/test_filters.py

[error] invalid-argument-type - :33:31 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :34:46 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :47:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :48:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :52:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :60:25 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :67:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :68:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :72:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :80:25 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :93:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :94:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :98:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :106:25 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :113:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :114:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :118:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :126:25 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`

tests/test_forward_references.py

[error] invalid-argument-type - :20:19 - Argument to function `resolve_types` is incorrect: Argument type `<class 'A'>` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :22:19 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`

tests/test_functional.py

[error] invalid-argument-type - :167:25 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C1'>`
[error] invalid-argument-type - :218:26 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `type`
[error] invalid-argument-type - :545:42 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :546:44 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :547:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :646:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :647:35 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`

tests/test_hooks.py

[error] invalid-argument-type - :216:40 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :234:54 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'Base'>`

tests/test_make.py

[error] invalid-argument-type - :482:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'A'>`
[error] invalid-argument-type - :484:26 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'B'>`
[error] invalid-argument-type - :485:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'B'>`
[error] invalid-argument-type - :487:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :488:26 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :489:27 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :856:45 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`
[error] invalid-argument-type - :893:26 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'BaseClass'>`
[error] invalid-argument-type - :894:26 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'SubClass'>`
[error] invalid-argument-type - :1454:32 - Argument to function `resolve_types` is incorrect: Argument type `type` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :1465:32 - Argument to function `resolve_types` is incorrect: Argument type `type` does not satisfy upper bound of type variable `_A`
[error] invalid-argument-type - :2227:34 - Argument to function `fields_dict` is incorrect: Expected `type[AttrsInstance]`, found `<class 'Cases'>`

tests/test_next_gen.py

[error] invalid-argument-type - :41:36 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `type`
[error] invalid-argument-type - :149:39 - Argument to function `fields_dict` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NewSchool'>`
[error] invalid-argument-type - :164:39 - Argument to function `fields_dict` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NewSchool'>`
[error] invalid-assignment - :71:13 -
Old: Object of type `Literal["1"]` is not assignable to attribute `x` of type `int`
New: Object of type `Literal["1"]` is not assignable to attribute `x` on type `int`
[error] invalid-assignment - :387:9 -
Old: Object of type `Literal["11"]` is not assignable to attribute `x` of type `int`
New: Object of type `Literal["11"]` is not assignable to attribute `x` on type `int`
[error] invalid-assignment - :393:13 -
Old: Object of type `Literal["9"]` is not assignable to attribute `x` of type `int`
New: Object of type `Literal["9"]` is not assignable to attribute `x` on type `int`

tests/test_slots.py

[error] invalid-argument-type - :103:24 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C1Slots'>`
[error] invalid-argument-type - :103:48 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C1'>`
[error] invalid-argument-type - :545:41 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'C'>`

tests/test_validators.py

[error] invalid-argument-type - :884:23 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'Tester'>`
[error] invalid-argument-type - :956:23 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'Tester'>`
[error] invalid-argument-type - :1029:23 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'Tester'>`

tests/typing_example.py

[error] invalid-argument-type - :133:13 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'AliasExample'>`
[error] invalid-argument-type - :134:13 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'AliasExample'>`
[error] invalid-argument-type - :421:13 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NGFrozen'>`
[error] invalid-argument-type - :422:17 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NGFrozen'>`
[error] invalid-argument-type - :426:14 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NGFrozen'>`
[error] invalid-argument-type - :427:18 - Argument to function `fields` is incorrect: Expected `type[AttrsInstance]`, found `<class 'NGFrozen'>`
[error] invalid-argument-type - :515:28 - Argument to function `resolve_types` is incorrect: Argument type `type` does not satisfy upper bound of type variable `_A`

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

src/bokeh/server/contexts.py

[error] invalid-assignment - :233:13 -
Old: Object of type `ReferenceType[BokehSessionContext]` is not assignable to attribute `_session_context` of type `ReferenceType[SessionContext] | None`
New: Object of type `ReferenceType[BokehSessionContext]` is not assignable to attribute `_session_context` on type `ReferenceType[SessionContext] | None`

check-jsonschema (https://github.com/python-jsonschema/check-jsonschema)

src/check_jsonschema/formats/__init__.py

[error] invalid-assignment - :55:5 - Object of type `<class 'Draft202012Validator'>` is not assignable to `type[Validator]`

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

conftest.py

[error] invalid-assignment - :213:5 -
Old: Object of type `def my_system_info() -> Unknown` is not assignable to attribute `system_info` of type `_lru_cache_wrapper[Unknown]`
New: Object of type `def my_system_info() -> Unknown` is not assignable to attribute `system_info` on type `_lru_cache_wrapper[Unknown]`

tests/unittests/sources/test_init.py

[error] invalid-assignment - :759:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` of type `str | None`
New: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` on type `str | None`
[error] invalid-assignment - :778:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` of type `str | None`
New: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `network_json` on type `str | None`

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

colour/colorimetry/spectrum.py

[error] invalid-assignment - :1190:17 - Object of type `<class 'SpragueInterpolator'>` is not assignable to `type[ProtocolInterpolator] | None`
[error] invalid-assignment - :1192:17 - Object of type `<class 'CubicSplineInterpolator'>` is not assignable to `type[ProtocolInterpolator] | None`
[error] invalid-assignment - :1297:9 - Object of type `type[ProtocolExtrapolator] | None | <class 'Extrapolator'>` is not assignable to `type[ProtocolExtrapolator] | None`

colour/examples/algebra/examples_interpolation.py

[error] invalid-argument-type - :107:5 - Argument to bound method `interpolate` is incorrect: Expected `type[ProtocolInterpolator] | None`, found `<class 'PchipInterpolator'>`

comtypes (https://github.com/enthought/comtypes)

comtypes/client/_code_cache.py

[error] invalid-assignment - :121:13 -
Old: Object of type `ModuleType` is not assignable to attribute `gen` of type `<module 'comtypes.gen'>`
New: Object of type `ModuleType` is not assignable to attribute `gen` on type `<module 'comtypes.gen'>`

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

ddtrace/settings/errortracking.py

[error] invalid-assignment - :44:5 -
Old: Object of type `Unknown | EnvVariable[list[Unknown]]` is not assignable to attribute `_configured_modules` of type `list[str]`
New: Object of type `Unknown | EnvVariable[list[Unknown]]` is not assignable to attribute `_configured_modules` on type `list[str]`

tests/smoke_test.py

[error] invalid-assignment - :58:13 -
Old: Object of type `dict[str, str]` is not assignable to attribute `environ` of type `_Environ[str]`
New: Object of type `dict[str, str]` is not assignable to attribute `environ` on type `_Environ[str]`

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

discord/abc.py

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

discord/app_commands/models.py

[error] invalid-argument-type - :1225:42 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `Any | <class 'Member'> | <class 'Role'>`

discord/audit_logs.py

[error] invalid-argument-type - :140:67 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Role'>`
[error] invalid-argument-type - :146:68 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'ForumTag'>`
[error] invalid-argument-type - :147:31 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'ForumTag'>`
[error] invalid-argument-type - :206:39 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Role'> | <class 'Member'>`
[error] invalid-argument-type - :487:43 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Role'>`
[error] invalid-argument-type - :803:55 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Role'>`
[error] invalid-argument-type - :809:89 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'StageChannel'>`
[error] invalid-argument-type - :813:88 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'PartialIntegration'>`
[error] invalid-argument-type - :907:68 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Member'>`
[error] invalid-argument-type - :910:71 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Role'>`
[error] invalid-argument-type - :934:73 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Emoji'>`
[error] invalid-argument-type - :943:68 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Member'>`
[error] invalid-argument-type - :946:81 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'StageInstance'>`
[error] invalid-argument-type - :949:75 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'GuildSticker'>`
[error] invalid-argument-type - :952:73 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Thread'>`
[error] invalid-argument-type - :955:82 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'ScheduledEvent'>`
[error] invalid-argument-type - :958:70 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'PartialIntegration'>`
[error] invalid-argument-type - :966:40 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'AppCommand'>`
[error] invalid-argument-type - :986:42 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'PartialIntegration'> | <class 'AppCommand'>`
[error] invalid-argument-type - :991:72 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'AutoModRule'>`
[error] invalid-argument-type - :997:67 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'Webhook'>`
[error] invalid-argument-type - :1000:34 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'OnboardingPrompt'>`

discord/guild.py

[error] invalid-argument-type - :4117:45 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'User'>`
[error] invalid-argument-type - :4118:45 - Argument to bound method `__init__` is incorrect: Expected `type[Snowflake]`, found `<class 'User'>`

discord/utils.py

[error] invalid-assignment - :1458:5 - Object of type `<class '_ZstdDecompressionContext'>` is not assignable to `type[_DecompressionContext]`
[error] invalid-assignment - :1482:5 - Object of type `<class '_ZlibDecompressionContext'>` is not assignable to `type[_DecompressionContext]`

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

dragonchain/lib/interfaces/storage_utest.py

[error] invalid-assignment - :43:9 -
Old: Object of type `MagicMock` is not assignable to attribute `storage` of type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`
New: Object of type `MagicMock` is not assignable to attribute `storage` on type `<module 'dragonchain.lib.interfaces.aws.s3'> | <module 'dragonchain.lib.interfaces.local.disk'>`

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

freqtrade/optimize/analysis/lookahead.py

[error] invalid-assignment - :132:9 -
Old: Object of type `dict[str, DataFrame]` is not assignable to attribute `data` of type `DataFrame`
New: Object of type `dict[str, DataFrame]` is not assignable to attribute `data` on type `DataFrame`

freqtrade/optimize/analysis/recursive.py

[error] invalid-assignment - :151:9 -
Old: Object of type `dict[str, DataFrame]` is not assignable to attribute `data` of type `DataFrame`
New: Object of type `dict[str, DataFrame]` is not assignable to attribute `data` on type `DataFrame`

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

src/hydra_zen/structured_configs/_implementations.py

[error] invalid-argument-type - :2252:47 - Argument to function `get_target_path` is incorrect: Expected `HasTarget`, found `(Importable@builds & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> R@builds) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> object) & type[DataclassInstance] & ~partial[Unknown]) | (((...) -> Unknown) & ((...) -> object) & type[DataclassInstance]) | (@Todo(unsupported nested subscript in type[X]) & ((...) -> Unknown) & ((...) -> object) & type[DataclassInstance])`
[error] invalid-argument-type - :2523:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | list[str | DataClass_ | Mapping[str, None | Sequence[str]]] | None`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | list[str | DataClass_ | type[@Todo(type[T] for protocols)] | Mapping[str, None | Sequence[str]]] | None`
[error] invalid-argument-type - :3303:54 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | list[str | DataClass_ | Mapping[str, None | Sequence[str]]] | None`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | list[str | DataClass_ | type[@Todo(type[T] for protocols)] | Mapping[str, None | Sequence[str]]] | None`

src/hydra_zen/structured_configs/_type_guards.py

[error] invalid-argument-type - :80:32 - Argument to function `_get_target` is incorrect: Expected `HasTarget`, found `<class 'Just'>`

src/hydra_zen/wrapper/_implementations.py

[error] invalid-return-type - :932:24 - Return type does not match returned value: expected `DataClass_ | ListConfig | DictConfig`, found `(((...) -> Any) & type & ~type[HydraConf]) | (DataClass_ & type & ~type[HydraConf]) | (ListConfig & type & ~type[HydraConf]) | (DictConfig & type & ~type[HydraConf])`
[error] invalid-return-type - :941:16 -
Old: Return type does not match returned value: expected `DataClass_ | ListConfig | DictConfig`, found `(((...) -> Any) & ~type) | (DataClass_ & ~type) | list[Any] | dict[Any, Any] | (ListConfig & ~type) | (DictConfig & ~type)`
New: Return type does not match returned value: expected `DataClass_ | type[@Todo(type[T] for protocols)] | ListConfig | DictConfig`, found `(((...) -> Any) & ~type) | (DataClass_ & ~type) | list[Any] | dict[Any, Any] | (ListConfig & ~type) | (DictConfig & ~type)`
[error] invalid-parameter-default - :1479:9 -
Old: Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | dict[Any, Any] | ListConfig | DictConfig, CustomBuildsFn: @Todo(unsupported type[X] special form) = <class 'DefaultBuilds'>, **kw: Any) -> DataClass_ | ListConfig | DictConfig` is not assignable to annotated parameter type `(F@__call__, /) -> @Todo(Support for `typing.TypeAlias`)`
New: Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | dict[Any, Any] | ListConfig | DictConfig, CustomBuildsFn: @Todo(unsupported type[X] special form) = <class 'DefaultBuilds'>, **kw: Any) -> DataClass_ | type[@Todo(type[T] for protocols)] | ListConfig | DictConfig` is not assignable to annotated parameter type `(F@__call__, /) -> @Todo(Support for `typing.TypeAlias`)`

tests/annotations/declarations.py

[warning] unused-ignore-comment - :443:35 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :434:26 - Argument to function `make_config` is incorrect: Expected `tuple[type[DataClass_], ...]`, found `tuple[type[DataClass], @Todo(unsupported nested subscript in type[X]), <class 'P3'>, @Todo(unsupported nested subscript in type[X])]`

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

tests/test_bytecode_cache.py

[error] invalid-assignment - :52:9 -
Old: Object of type `Literal["code"]` is not assignable to attribute `code` of type `CodeType | None`
New: Object of type `Literal["code"]` is not assignable to attribute `code` on type `CodeType | None`
[error] invalid-assignment - :66:9 -
Old: Object of type `Literal["code"]` is not assignable to attribute `code` of type `CodeType | None`
New: Object of type `Literal["code"]` is not assignable to attribute `code` on type `CodeType | None`

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

tests/native/test_memory.py

[error] invalid-assignment - :1875:9 -
Old: Object of type `MagicMock` is not assignable to attribute `sys` of type `<module 'sys'>`
New: Object of type `MagicMock` is not assignable to attribute `sys` on type `<module 'sys'>`

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

run_project_tests.py

[error] invalid-assignment - :557:5 -
Old: Object of type `PerMachine[None]` is not assignable to attribute `class_cmakeinfo` of type `PerMachine[CMakeInfo | None]`
New: Object of type `PerMachine[None]` is not assignable to attribute `class_cmakeinfo` on type `PerMachine[CMakeInfo | None]`
[error] invalid-assignment - :558:5 -
Old: Object of type `PerMachine[bool]` is not assignable to attribute `class_impl` of type `PerMachine[Literal[False] | PkgConfigInterface | None]`
New: Object of type `PerMachine[bool]` is not assignable to attribute `class_impl` on type `PerMachine[Literal[False] | PkgConfigInterface | None]`
[error] invalid-assignment - :559:5 -
Old: Object of type `PerMachine[bool]` is not assignable to attribute `class_cli_impl` of type `PerMachine[Literal[False] | PkgConfigCLI | None]`
New: Object of type `PerMachine[bool]` is not assignable to attribute `class_cli_impl` on type `PerMachine[Literal[False] | PkgConfigCLI | None]`
[error] invalid-assignment - :560:5 -
Old: Object of type `PerMachine[None]` is not assignable to attribute `pkg_bin_per_machine` of type `PerMachine[ExternalProgram | None]`
New: Object of type `PerMachine[None]` is not assignable to attribute `pkg_bin_per_machine` on type `PerMachine[ExternalProgram | None]`

run_tests.py

[error] invalid-assignment - :141:5 -
Old: Object of type `None` is not assignable to attribute `cross_file` of type `list[str]`
New: Object of type `None` is not assignable to attribute `cross_file` on type `list[str]`

unittests/internaltests.py

[error] invalid-assignment - :461:9 -
Old: Object of type `tuple[str]` is not assignable to attribute `cross_file` of type `list[str]`
New: Object of type `tuple[str]` is not assignable to attribute `cross_file` on type `list[str]`
[error] invalid-assignment - :476:9 -
Old: Object of type `tuple[str]` is not assignable to attribute `cross_file` of type `list[str]`
New: Object of type `tuple[str]` is not assignable to attribute `cross_file` on type `list[str]`

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

examples/contrib/search.py

[error] invalid-assignment - :58:17 -
Old: Object of type `Literal[False]` is not assignable to attribute `marked` of type `str`
New: Object of type `Literal[False]` is not assignable to attribute `marked` on type `str`

examples/contrib/webscanner_helper/test_watchdog.py

[error] invalid-assignment - :56:9 -
Old: Object of type `Literal["Test Error"]` is not assignable to attribute `error` of type `Error | None`
New: Object of type `Literal["Test Error"]` is not assignable to attribute `error` on type `Error | None`

test/mitmproxy/addons/test_clientplayback.py

[error] invalid-assignment - :182:5 -
Old: Object of type `None` is not assignable to attribute `request` of type `Request`
New: Object of type `None` is not assignable to attribute `request` on type `Request`

test/mitmproxy/addons/test_proxyauth.py

[error] invalid-assignment - :243:13 -
Old: Object of type `Literal[True]` is not assignable to attribute `is_replay` of type `str | None`
New: Object of type `Literal[True]` is not assignable to attribute `is_replay` on type `str | None`

test/mitmproxy/proxy/layers/http/test_http3.py

[error] invalid-assignment - :564:9 -
Old: Object of type `str` is not assignable to attribute `stream` of type `((bytes, /) -> Iterable[bytes]) | bool`
New: Object of type `str` is not assignable to attribute `stream` on type `((bytes, /) -> Iterable[bytes]) | bool`

test/mitmproxy/test_flow.py

[error] invalid-assignment - :39:9 -
Old: Object of type `Literal[True]` is not assignable to attribute `marked` of type `str`
New: Object of type `Literal[True]` is not assignable to attribute `marked` on type `str`

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

mkdocs/tests/structure/page_tests.py

[error] invalid-assignment - :66:9 -
Old: Object of type `Literal["foo"]` is not assignable to attribute `parent` of type `Section | None`
New: Object of type `Literal["foo"]` is not assignable to attribute `parent` on type `Section | None`
[error] invalid-assignment - :138:9 -
Old: Object of type `Literal["foo"]` is not assignable to attribute `parent` of type `Section | None`
New: Object of type `Literal["foo"]` is not assignable to attribute `parent` on type `Section | None`

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

ops/framework.py

[error] invalid-argument-type - :1164:40 - Argument to bound method `register_type` is incorrect: Expected `type[Serializable]`, found `<class 'StoredStateData'>`

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

optuna/_gp/search_space.py

[error] invalid-argument-type - :181:37 - Argument to function `_round_one_normalized_param` is incorrect: Expected `_ScaleType`, found `Unknown | ndarray[Unknown, Unknown]`

tests/gp_tests/test_search_space.py

[error] invalid-argument-type - :108:13 - Argument to function `_unnormalize_one_param` is incorrect: Expected `_ScaleType`, found `Unknown | ndarray[Unknown, Unknown]`

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

paasta_tools/api/api.py

[error] invalid-assignment - :252:9 -
Old: Object of type `str | None` is not assignable to attribute `cluster` of type `str`
New: Object of type `str | None` is not assignable to attribute `cluster` on type `str`

paasta_tools/cli/cmds/mark_for_deployment.py

[error] invalid-assignment - :1925:21 -
Old: Object of type `None` is not assignable to attribute `waiting_on` of type `Mapping[str, Collection[str]]`
New: Object of type `None` is not assignable to attribute `waiting_on` on type `Mapping[str, Collection[str]]`

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

src/prefect/cli/work_pool.py

[error] missing-argument - :207:43 - No argument provided for required parameter `self` of function `provision`
[error] invalid-argument-type - :208:42 - Argument to function `provision` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | None | Any`
[error] missing-argument - :499:43 - No argument provided for required parameter `self` of function `provision`

src/prefect/server/api/deployments.py

[error] invalid-assignment - :247:13 -
Old: Object of type `None` is not assignable to attribute `schedules` of type `list[DeploymentScheduleUpdate]`
New: Object of type `None` is not assignable to attribute `schedules` on type `list[DeploymentScheduleUpdate]`

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

psycopg/psycopg/_transformer.py

[error] invalid-assignment - :21:5 - Object of type `<class 'Transformer'>` is not assignable to `type[Transformer]`

psycopg/psycopg/pq/__init__.py

[error] invalid-assignment - :97:9 - Object of type `Unknown | <class 'PGconn'>` is not assignable to `type[PGconn]`
[error] invalid-assignment - :98:9 - Object of type `Unknown | <class 'PGresult'>` is not assignable to `type[PGresult]`
[error] invalid-assignment - :99:9 - Object of type `Unknown | <class 'Conninfo'>` is not assignable to `type[Conninfo]`
[error] invalid-assignment - :100:9 - Object of type `Unknown | <class 'Escaping'>` is not assignable to `type[Escaping]`
[error] invalid-assignment - :101:9 - Object of type `Unknown | <class 'PGcancel'>` is not assignable to `type[PGcancel]`
[error] invalid-assignment - :102:9 - Object of type `Unknown | <class 'PGcancelConn'>` is not assignable to `type[PGcancelConn]`

psycopg/psycopg/types/array.py

[error] invalid-return-type - :342:12 - Return type does not match returned value: expected `type[Loader]`, found `type`

psycopg/psycopg/types/json.py

[error] invalid-assignment - :124:13 - Method `__setitem__` of type `bound method dict[tuple[type, CodeType], type[Dumper]].__setitem__(key: tuple[type, CodeType], value: type[Dumper], /) -> None` cannot be called with a key of type `tuple[type, CodeType]` and a value of type `type` on object of type `dict[tuple[type, CodeType], type[Dumper]]`
[error] invalid-return-type - :126:16 - Return type does not match returned value: expected `type[Dumper]`, found `type`
[error] invalid-assignment - :144:13 - Method `__setitem__` of type `bound method dict[tuple[type, CodeType], type[Loader]].__setitem__(key: tuple[type, CodeType], value: type[Loader], /) -> None` cannot be called with a key of type `tuple[type, CodeType]` and a value of type `type` on object of type `dict[tuple[type, CodeType], type[Loader]]`
[error] invalid-return-type - :146:16 - Return type does not match returned value: expected `type[Loader]`, found `type`

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

pydantic/_internal/_dataclasses.py

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

pydantic/_internal/_generate_schema.py

[error] unresolved-attribute - :1828:24 - Type `type[DataclassInstance]` has no attribute `__pydantic_fields_complete__`
[error] unresolved-attribute - :1834:80 - Type `type[DataclassInstance]` has no attribute `__pydantic_fields__`
[error] invalid-argument-type - :1842:33 - Argument to function `rebuild_dataclass_fields` is incorrect: Expected `type[PydanticDataclass]`, found `type[DataclassInstance]`

pydantic/_internal/_mock_val_ser.py

[error] invalid-assignment - :217:5 - Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_validator__` of type `SchemaValidator | PluggableSchemaValidator`
[error] invalid-assignment - :223:5 - Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_serializer__` of type `SchemaSerializer`
[error] invalid-assignment - :137:5 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `validator` of type `SchemaValidator | PluggableSchemaValidator`
New: Object of type `MockValSer[Unknown]` is not assignable to attribute `validator` on type `SchemaValidator | PluggableSchemaValidator`
[error] invalid-assignment - :143:5 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `serializer` of type `SchemaSerializer`
New: Object of type `MockValSer[Unknown]` is not assignable to attribute `serializer` on type `SchemaSerializer`
[error] invalid-assignment - :176:5 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_validator__` of type `SchemaValidator | PluggableSchemaValidator`
New: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_validator__` on type `SchemaValidator | PluggableSchemaValidator`
[error] invalid-assignment - :182:5 -
Old: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_serializer__` of type `SchemaSerializer`
New: Object of type `MockValSer[Unknown]` is not assignable to attribute `__pydantic_serializer__` on type `SchemaSerializer`

pylox (https://github.com/sco1/pylox)

pylox/builtins/py_builtins.py

[error] invalid-assignment - :21:5 -
Old: Object of type `deque[Unknown]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`
New: Object of type `deque[Unknown]` is not assignable to attribute `fields` on type `dict[Unknown, Unknown]`

pylox/containers/array.py

[error] invalid-assignment - :133:9 -
Old: Object of type `deque[Unknown]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`
New: Object of type `deque[Unknown]` is not assignable to attribute `fields` on type `dict[Unknown, Unknown]`

python-htmlgen (https://github.com/srittau/python-htmlgen)

test_htmlgen/form.py

[error] invalid-assignment - :51:9 -
Old: Object of type `str` is not assignable to attribute `autocomplete` of type `Autocomplete | None`
New: Object of type `str` is not assignable to attribute `autocomplete` on type `Autocomplete | None`

test_htmlgen/video.py

[error] invalid-assignment - :38:9 -
Old: Object of type `str` is not assignable to attribute `preload` of type `Preload | None`
New: Object of type `str` is not assignable to attribute `preload` on type `Preload | None`

pywin32 (https://github.com/mhammond/pywin32)

com/win32com/servers/interp.py

[error] invalid-argument-type - :54:52 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'Interpreter'>`

com/win32com/demos/excelAddin.py

[error] invalid-argument-type - :165:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ExcelAddin'>`

com/win32com/demos/excelRTDServer.py

[error] invalid-argument-type - :434:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'TimeServer'>`

com/win32com/demos/iebutton.py

[error] invalid-argument-type - :211:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'PyWin32InternetExplorerButton'>`

com/win32com/demos/ietoolbar.py

[error] invalid-argument-type - :359:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'IEToolbar'>`

com/win32com/demos/outlookAddin.py

[error] invalid-argument-type - :131:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'OutlookAddin'>`

com/win32com/servers/dictionary.py

[error] invalid-argument-type - :129:27 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'DictionaryPolicy'>`

com/win32com/servers/perfmon.py

[error] invalid-argument-type - :36:29 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'PerfMonQuery'>`

com/win32com/servers/test_pycomtest.py

[error] invalid-argument-type - :180:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'PyCOMTest'>`
[error] invalid-argument-type - :181:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'PyCOMTestMI'>`

com/win32com/test/pippo_server.py

[error] invalid-argument-type - :92:45 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'CPippo'>`

com/win32comext/axscript/client/pyscript.py

[error] invalid-argument-type - :432:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `Unknown | <class 'PyScript'>`

com/win32comext/shell/demos/servers/column_provider.py

[error] invalid-argument-type - :122:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ColumnProvider'>`

com/win32comext/shell/demos/servers/context_menu.py

[error] invalid-argument-type - :119:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ShellExtension'>`

com/win32comext/shell/demos/servers/copy_hook.py

[error] invalid-argument-type - :80:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ShellExtension'>`

com/win32comext/shell/demos/servers/empty_volume_cache.py

[error] invalid-argument-type - :185:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'EmptyVolumeCache'>`

com/win32comext/shell/demos/servers/folder_view.py

[error] invalid-argument-type - :861:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ShellFolder'>`
[error] invalid-argument-type - :862:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ContextMenu'>`

com/win32comext/shell/demos/servers/icon_handler.py

[error] invalid-argument-type - :78:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ShellExtension'>`

com/win32comext/shell/demos/servers/shell_view.py

[error] invalid-argument-type - :967:9 - Argument to function `UseCommandLine` is incorrect: Expected `type[_RegisterClass]`, found `<class 'ShellFolderRoot'>`

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

tests/test_pretty.py

[error] invalid-assignment - :184:5 -
Old: Object of type `ExampleDataclass` is not assignable to attribute `bar` of type `str`
New: Object of type `ExampleDataclass` is not assignable to attribute `bar` on type `str`

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

rotkehlchen/tests/fixtures/messages.py

[error] invalid-assignment - :65:9 -
Old: Object of type `MockRotkiNotifier` is not assignable to attribute `rotki_notifier` of type `RotkiNotifier | None`
New: Object of type `MockRotkiNotifier` is not assignable to attribute `rotki_notifier` on type `RotkiNotifier | None`
[error] invalid-assignment - :73:9 -
Old: Object of type `MockRotkiNotifier` is not assignable to attribute `rotki_notifier` of type `RotkiNotifier | None`
New: Object of type `MockRotkiNotifier` is not assignable to attribute `rotki_notifier` on type `RotkiNotifier | None`

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

schema_salad/tests/test_ref_resolver.py

[error] invalid-assignment - :132:9 -
Old: Object of type `Literal["linux2"]` is not assignable to attribute `platform` of type `Literal["linux"]`
New: Object of type `Literal["linux2"]` is not assignable to attribute `platform` on type `Literal["linux"]`

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

scipy/stats/_mstats_extras.py

[error] invalid-assignment - :181:13 - Invalid assignment to data descriptor attribute `flat` on type `ndarray[tuple[int], Unknown]` with custom `__set__` method

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

tests/test_downloader_handler_twisted_http11.py

[error] invalid-return-type - :27:16 - Return type does not match returned value: expected `type[DownloadHandlerProtocol]`, found `<class 'HTTP11DownloadHandler'>`

tests/test_downloader_handler_twisted_http10.py

[error] invalid-return-type - :26:16 - Return type does not match returned value: expected `type[DownloadHandlerProtocol]`, found `<class 'HTTP10DownloadHandler'>`

tests/test_downloader_handler_twisted_http2.py

[error] invalid-return-type - :48:16 - Return type does not match returned value: expected `type[DownloadHandlerProtocol]`, found `<class 'H2DownloadHandler'>`

tests/test_downloadermiddleware_httpproxy.py

[error] invalid-assignment - :29:9 -
Old: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `environ` of type `_Environ[str]`
New: Object of type `dict[Unknown, Unknown]` is not assignable to attribute `environ` on type `_Environ[str]`

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

sphinx/transforms/i18n.py

[error] invalid-assignment - :88:9 -
Old: Object of type `None` is not assignable to attribute `current_source` of type `str`
New: Object of type `None` is not assignable to attribute `current_source` on type `str`
[error] invalid-assignment - :88:30 -
Old: Object of type `None` is not assignable to attribute `current_line` of type `str`
New: Object of type `None` is not assignable to attribute `current_line` on type `str`

sphinx/util/docutils.py

[error] invalid-assignment - :891:9 -
Old: Object of type `None` is not assignable to attribute `current_source` of type `str`
New: Object of type `None` is not assignable to attribute `current_source` on type `str`
[error] invalid-assignment - :891:35 -
Old: Object of type `None` is not assignable to attribute `current_line` of type `str`
New: Object of type `None` is not assignable to attribute `current_line` on type `str`

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

strawberry/cli/commands/export_schema.py

[error] invalid-argument-type - :32:32 - Argument to function `print_schema` is incorrect: Expected `BaseSchema`, found `Schema`

strawberry/cli/debug_server.py

[error] invalid-argument-type - :25:33 - Argument to bound method `__init__` is incorrect: Expected `BaseSchema`, found `Schema`

strawberry/experimental/pydantic/utils.py

[error] invalid-argument-type - :54:51 - Argument to function `fields` is incorrect: Expected `DataclassInstance`, found `type`

strawberry/types/base.py

[error] invalid-return-type - :333:16 - Return type does not match returned value: expected `type[WithStrawberryObjectDefinition]`, found `type`

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

sympy/polys/series/ring.py

[error] invalid-assignment - :54:9 - Object of type `PythonPowerSeriesRingZZ` is not assignable to `PowerSeriesRingProto[@Todo(unknown type subscript), MPZ]`
[error] invalid-assignment - :59:9 - Object of type `FlintPowerSeriesRingZZ` is not assignable to `PowerSeriesRingProto[Unknown, MPZ]`
[error] invalid-assignment - :65:9 - Object of type `PythonPowerSeriesRingQQ` is not assignable to `PowerSeriesRingProto[@Todo(unknown type subscript), MPQ]`
[error] invalid-assignment - :70:9 - Object of type `FlintPowerSeriesRingQQ` is not assignable to `PowerSeriesRingProto[Unknown, MPQ]`

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

src/trio/_util.py

[error] invalid-assignment - :221:17 -
Old: Invalid assignment to data descriptor attribute `__name__` on type `<Protocol with members '__name__'>` with custom `__set__` method
New: Property `__name__` defined in `<Protocol with members '__name__'>` is read-only

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

src/urllib3/contrib/emscripten/__init__.py

[error] invalid-assignment - :13:5 - Object of type `<class 'EmscriptenHTTPConnection'>` is not assignable to attribute `ConnectionCls` of type `type[BaseHTTPConnection]`
[error] invalid-assignment - :14:5 - Object of type `<class 'EmscriptenHTTPSConnection'>` is not assignable to attribute `ConnectionCls` of type `type[BaseHTTPSConnection]`

src/urllib3/connectionpool.py

[error] invalid-assignment - :173:5 - Object of type `<class 'HTTPConnection'>` is not assignable to `type[BaseHTTPConnection]`
[error] invalid-assignment - :978:5 - Object of type `<class 'HTTPSConnection'>` is not assignable to `type[BaseHTTPSConnection]`

src/urllib3/http2/__init__.py

[error] invalid-assignment - :35:5 - Object of type `<class 'HTTP2Connection'>` is not assignable to attribute `ConnectionCls` of type `type[BaseHTTPSConnection]`

src/urllib3/util/ssl_.py

[error] invalid-assignment - :301:9 -
Old: Object of type `int | (Unknown & ~None)` is not assignable to attribute `minimum_version` of type `TLSVersion`
New: Object of type `int | (Unknown & ~None)` is not assignable to attribute `minimum_version` on type `TLSVersion`
[error] invalid-assignment - :306:9 -
Old: Object of type `int | (Unknown & ~None)` is not assignable to attribute `maximum_version` of type `TLSVersion`
New: Object of type `int | (Unknown & ~None)` is not assignable to attribute `maximum_version` on type `TLSVersion`
[error] invalid-assignment - :356:9 -
Old: Object of type `int` is not assignable to attribute `verify_mode` of type `VerifyMode`
New: Object of type `int` is not assignable to attribute `verify_mode` on type `VerifyMode`
[error] invalid-assignment - :360:9 -
Old: Object of type `int` is not assignable to attribute `verify_mode` of type `VerifyMode`
New: Object of type `int` is not assignable to attribute `verify_mode` on type `VerifyMode`

test/conftest.py

[warning] unused-ignore-comment - :381:68 - Unused blanket `type: ignore` directive
[error] invalid-assignment - :387:13 -
Old: Object of type `None | <class 'HTTPConnection'>` is not assignable to attribute `ConnectionCls` of type `type[BaseHTTPConnection]`
New: Object of type `None | <class 'HTTPConnection'>` is not assignable to attribute `ConnectionCls` on type `type[@Todo(type[T] for protocols)]`

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

src/werkzeug/utils.py

[error] invalid-assignment - :512:9 -
Old: Object of type `(int & ~((...) -> object)) | (((str | None, /) -> int | None) & ~((...) -> object)) | (@Todo(Type::Intersection.call()) & ~None)` is not assignable to attribute `max_age` of type `int | None`
New: Object of type `(int & ~((...) -> object)) | (((str | None, /) -> int | None) & ~((...) -> object)) | (@Todo(Type::Intersection.call()) & ~None)` is not assignable to attribute `max_age` on type `int | None`

tests/test_datastructures.py

[error] invalid-assignment - :1009:9 -
Old: Object of type `Literal[False]` is not assignable to attribute `no_cache` of type `str | Literal[True] | None`
New: Object of type `Literal[False]` is not assignable to attribute `no_cache` on type `str | Literal[True] | None`

tests/test_http.py

[error] invalid-assignment - :141:9 -
Old: Object of type `float` is not assignable to attribute `max_age` of type `int | None`
New: Object of type `float` is not assignable to attribute `max_age` on type `int | None`
[error] invalid-assignment - :144:9 -
Old: Object of type `float` is not assignable to attribute `s_maxage` of type `int | None`
New: Object of type `float` is not assignable to attribute `s_maxage` on type `int | None`

tests/test_security.py

[error] invalid-assignment - :66:5 -
Old: Object of type `Literal["*"]` is not assignable to attribute `_os_alt_seps` of type `list[str]`
New: Object of type `Literal["*"]` is not assignable to attribute `_os_alt_seps` on type `list[str]`

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

zerver/decorator.py

[error] invalid-assignment - :886:17 -
Old: Object of type `QueryDict` is not assignable to attribute `POST` of type `_ImmutableQueryDict`
New: Object of type `QueryDict` is not assignable to attribute `POST` on type `_ImmutableQueryDict`