Updated typeshed stubs to the latest version#10968
Merged
Conversation
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: bidict (https://github.com/jab/bidict)
- .../projects/bidict/bidict/_bidict.py:151:9 - error: Method "update" overrides class "MutableMapping" in an incompatible manner
- Parameter 2 type mismatch: base parameter is type "SupportsKeysAndGetItem[str, VT@MutableBidict]", override parameter is type "MapOrItems[KT@MutableBidict, VT@MutableBidict]"
- Type "SupportsKeysAndGetItem[str, VT@MutableBidict]" is not assignable to type "MapOrItems[KT@MutableBidict, VT@MutableBidict]"
- "SupportsKeysAndGetItem[str, VT@MutableBidict]" is incompatible with protocol "Iterable[tuple[KT@MutableBidict, VT@MutableBidict]]"
- "__iter__" is not present
- "SupportsKeysAndGetItem[str, VT@MutableBidict]" is incompatible with protocol "Maplike[KT@MutableBidict, VT@MutableBidict]"
- Type parameter "KT@Maplike" is invariant, but "str" is not the same as "KT@MutableBidict" (reportIncompatibleMethodOverride)
- 13 errors, 0 warnings, 0 informations
+ 12 errors, 0 warnings, 0 informations
aioredis (https://github.com/aio-libs/aioredis)
- .../projects/aioredis/aioredis/client.py:4158:30 - error: Argument of type "dict[ChannelT, Any | None]" cannot be assigned to parameter "m" of type "Iterable[tuple[ChannelT, PubSubHandler]]" in function "update"
+ .../projects/aioredis/aioredis/client.py:4158:30 - error: Argument of type "dict[ChannelT, Any | None]" cannot be assigned to parameter "m" of type "Iterable[tuple[str, PubSubHandler]]" in function "update"
- "dict[ChannelT, Any | None]" is not assignable to "Iterable[tuple[ChannelT, PubSubHandler]]"
+ "dict[ChannelT, Any | None]" is not assignable to "Iterable[tuple[str, PubSubHandler]]"
- Type parameter "_T_co@Iterable" is covariant, but "ChannelT" is not a subtype of "tuple[ChannelT, PubSubHandler]"
+ Type parameter "_T_co@Iterable" is covariant, but "ChannelT" is not a subtype of "tuple[str, PubSubHandler]"
- Type "ChannelT" is not assignable to type "tuple[ChannelT, PubSubHandler]"
+ Type "ChannelT" is not assignable to type "tuple[str, PubSubHandler]"
- "bytes" is not assignable to "tuple[ChannelT, PubSubHandler]" (reportArgumentType)
+ "bytes" is not assignable to "tuple[str, PubSubHandler]" (reportArgumentType)
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "bool | None" is not a subtype of "bool"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "bool | None" is not a subtype of "bool"
ibis (https://github.com/ibis-project/ibis)
- .../projects/ibis/ibis/common/annotations.py:264:26 - error: Cannot access attribute "_name" for class "Parameter*"
- Attribute "_name" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:266:17 - error: Cannot access attribute "_annotation" for class "Parameter*"
- Attribute "_annotation" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:267:45 - error: Cannot access attribute "_annotation" for class "Parameter*"
- Attribute "_annotation" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:270:17 - error: Cannot access attribute "_default" for class "Parameter*"
- Attribute "_default" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:271:21 - error: Cannot access attribute "_annotation" for class "Parameter*"
- Attribute "_annotation" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:272:51 - error: Cannot access attribute "_default" for class "Parameter*"
- Attribute "_default" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:274:49 - error: Cannot access attribute "_default" for class "Parameter*"
- Attribute "_default" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:276:17 - error: Cannot access attribute "_kind" for class "Parameter*"
- Attribute "_kind" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/annotations.py:278:19 - error: Cannot access attribute "_kind" for class "Parameter*"
- Attribute "_kind" is unknown (reportAttributeAccessIssue)
- .../projects/ibis/ibis/common/collections.py:140:41 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "Mapping[_KT_co@KeysView, Any]" in function "__init__"
+ .../projects/ibis/ibis/common/collections.py:140:41 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "Viewable[_KT_co@KeysView]" in function "__init__"
- "Mapping[K@Mapping, V@Mapping]*" is not assignable to "Mapping[_KT_co@KeysView, Any]" (reportArgumentType)
+ "Mapping[K@Mapping, V@Mapping]*" is incompatible with protocol "Viewable[_KT_co@KeysView]"
+ "__len__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> int"
+ Function return type "None" is incompatible with type "int"
+ "None" is not assignable to "int"
+ "__iter__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> Iterator[_T_co@Viewable]"
+ Function return type "None" is incompatible with type "Iterator[_T_co@Viewable]"
+ ... (reportArgumentType)
- .../projects/ibis/ibis/common/collections.py:143:42 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "Mapping[_KT_co@ItemsView, _VT_co@ItemsView]" in function "__init__"
+ .../projects/ibis/ibis/common/collections.py:143:42 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "SupportsGetItemViewable[_KT_co@ItemsView, _VT_co@ItemsView]" in function "__init__"
- "Mapping[K@Mapping, V@Mapping]*" is not assignable to "Mapping[_KT_co@ItemsView, _VT_co@ItemsView]" (reportArgumentType)
+ "Mapping[K@Mapping, V@Mapping]*" is incompatible with protocol "SupportsGetItemViewable[_KT_co@ItemsView, _VT_co@ItemsView]"
+ "__len__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> int"
+ Function return type "None" is incompatible with type "int"
+ "None" is not assignable to "int"
+ "__iter__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> Iterator[_KT@SupportsGetItemViewable]"
+ Function return type "None" is incompatible with type "Iterator[_KT@SupportsGetItemViewable]"
+ ... (reportArgumentType)
- .../projects/ibis/ibis/common/collections.py:146:43 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "Mapping[Any, _VT_co@ValuesView]" in function "__init__"
+ .../projects/ibis/ibis/common/collections.py:146:43 - error: Argument of type "Self@Mapping[K@Mapping, V@Mapping]" cannot be assigned to parameter "mapping" of type "SupportsGetItemViewable[Any, _VT_co@ValuesView]" in function "__init__"
- "Mapping[K@Mapping, V@Mapping]*" is not assignable to "Mapping[Any, _VT_co@ValuesView]" (reportArgumentType)
+ "Mapping[K@Mapping, V@Mapping]*" is incompatible with protocol "SupportsGetItemViewable[Any, _VT_co@ValuesView]"
+ "__len__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> int"
+ Function return type "None" is incompatible with type "int"
+ "None" is not assignable to "int"
+ "__iter__" is an incompatible type
+ Type "() -> None" is not assignable to type "() -> Iterator[_KT@SupportsGetItemViewable]"
+ Function return type "None" is incompatible with type "Iterator[_KT@SupportsGetItemViewable]"
+ ... (reportArgumentType)
- 7353 errors, 238 warnings, 0 informations
+ 7344 errors, 238 warnings, 0 informations
sympy (https://github.com/sympy/sympy)
- .../projects/sympy/sympy/crypto/crypto.py:88:10 - error: Operator "+" not supported for types "LiteralString | Unknown | str | list[Unknown | str]" and "LiteralString"
+ .../projects/sympy/sympy/crypto/crypto.py:88:10 - error: Operator "+" not supported for types "Unknown | str | list[Unknown | str]" and "Literal['0123456789']"
- Operator "+" not supported for types "list[Unknown | str]" and "LiteralString" (reportOperatorIssue)
+ Operator "+" not supported for types "list[Unknown | str]" and "Literal['0123456789']" (reportOperatorIssue)
- .../projects/sympy/sympy/crypto/crypto.py:277:11 - error: Operator "+" not supported for types "LiteralString | Unknown | str | list[Unknown | str]" and "LiteralString | Unknown | str | list[Unknown | str]"
+ .../projects/sympy/sympy/crypto/crypto.py:277:11 - error: Operator "+" not supported for types "Unknown | str | list[Unknown | str]" and "Unknown | str | list[Unknown | str]"
- Operator "+" not supported for types "LiteralString" and "list[Unknown | str]"
- Operator "+" not supported for types "list[Unknown | str]" and "LiteralString"
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:340:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:341:24 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:346:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:347:28 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:353:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:354:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:415:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:416:53 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:462:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:463:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:573:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:574:53 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:609:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:610:28 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:625:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:626:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:662:24 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:664:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:666:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:670:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:671:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:715:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:716:24 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:723:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:724:28 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:728:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:729:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:765:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:766:24 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:771:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:772:28 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:778:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:779:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:832:18 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:833:26 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:841:22 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:842:28 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:847:26 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:848:32 - error: Cannot access attribute "_input" for class "AutolevParser*"
- Attribute "_input" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:855:30 - error: Cannot access attribute "_errHandler" for class "AutolevParser*"
- Attribute "_errHandler" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/parsing/autolev/_antlr/autolevparser.py:856:36 - error: Cannot access attribute "_input" for class "AutolevParser*"
... (truncated 1200 lines) ...
paasta (https://github.com/yelp/paasta)
- .../projects/paasta/paasta_tools/api/api.py:319:18 - error: Import "gunicorn.app" could not be resolved (reportMissingImports)
+ .../projects/paasta/paasta_tools/api/api.py:319:18 - warning: Import "gunicorn.app" could not be resolved from source (reportMissingModuleSource)
+ .../projects/paasta/paasta_tools/api/api.py:319:38 - warning: Import "gunicorn.app.wsgiapp" could not be resolved from source (reportMissingModuleSource)
- 1180 errors, 110 warnings, 0 informations
+ 1179 errors, 112 warnings, 0 informations
strawberry (https://github.com/strawberry-graphql/strawberry)
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "GraphQLWSConsumer[None, None]" is not a subtype of "GraphQLWSConsumer[Context@GraphQLWSConsumer, RootValue@GraphQLWSConsumer]"
psycopg (https://github.com/psycopg/psycopg)
- .../projects/psycopg/tests/types/test_uuid.py:61:17 - error: Cannot access attribute "__slots__" for class "type[UUID]"
- Attribute "__slots__" is unknown (reportAttributeAccessIssue)
- 1757 errors, 110 warnings, 0 informations
+ 1756 errors, 110 warnings, 0 informations
prefect (https://github.com/PrefectHQ/prefect)
- .../projects/prefect/src/prefect/cli/dev.py:319:28 - error: Argument missing for parameter "detach" (reportCallIssue)
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "None" is not a subtype of "NoReturn"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "None" is not a subtype of "NoReturn"
- 5251 errors, 170 warnings, 0 informations
+ 5250 errors, 170 warnings, 0 informations
core (https://github.com/home-assistant/core)
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "bool" is not a subtype of "None"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "None" is not a subtype of "dict[str, Any]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "None" is not a subtype of "dict[str, Any]"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Unknown | list[dict[str, Any]] | None" is not a subtype of "list[dict[str, Any]]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Unknown | list[dict[str, Any]] | None" is not a subtype of "list[dict[str, Any]]"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "None" is not a subtype of "dict[str, Any]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "None" is not a subtype of "dict[str, Any]"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "Module("nextdns")" is not a subtype of "Module("nextdns")"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "BrowseMedia | None" is not a subtype of "BrowseMedia"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "BrowseMedia | None" is not a subtype of "BrowseMedia"
aiohttp (https://github.com/aio-libs/aiohttp)
+ .../projects/aiohttp/aiohttp/base_protocol.py
+ .../projects/aiohttp/aiohttp/base_protocol.py:10:17 - error: Type "tuple[Literal['_loop'], Literal['_paused'], Literal['_drain_waiter'], Literal['_connection_lost'], Literal['_reading_paused'], Literal['transport']]" is not assignable to declared type "tuple[()]"
+ "tuple[Literal['_loop'], Literal['_paused'], Literal['_drain_waiter'], Literal['_connection_lost'], Literal['_reading_paused'], Literal['transport']]" is not assignable to "tuple[()]"
+ Tuple size mismatch; expected 0 but received 6 (reportAssignmentType)
- .../projects/aiohttp/aiohttp/worker.py:12:6 - error: Import "gunicorn.config" could not be resolved (reportMissingImports)
+ .../projects/aiohttp/aiohttp/worker.py:12:6 - warning: Import "gunicorn.config" could not be resolved from source (reportMissingModuleSource)
- .../projects/aiohttp/aiohttp/worker.py:13:6 - error: Import "gunicorn.workers" could not be resolved (reportMissingImports)
+ .../projects/aiohttp/aiohttp/worker.py:13:6 - warning: Import "gunicorn.workers" could not be resolved from source (reportMissingModuleSource)
+ .../projects/aiohttp/aiohttp/worker.py:13:30 - warning: Import "gunicorn.workers.base" could not be resolved from source (reportMissingModuleSource)
+ .../projects/aiohttp/aiohttp/worker.py:75:26 - error: Expected 2 more positional arguments (reportCallIssue)
- 37 errors, 1 warning, 0 informations
+ 37 errors, 4 warnings, 0 informations
pip (https://github.com/pypa/pip)
- .../projects/pip/src/pip/_vendor/distlib/util.py:1717:23 - error: Cannot access attribute "config" for class "Configurator*"
- Attribute "config" is unknown (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/distlib/util.py:1719:18 - error: Cannot access attribute "config" for class "Configurator*"
- Attribute "config" is unknown (reportAttributeAccessIssue)
+ .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:44:12 - warning: Import "socks" could not be resolved from source (reportMissingModuleSource)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:96:26 - error: "create_connection" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:115:22 - error: "ProxyError" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:186:35 - error: "PROXY_TYPE_SOCKS5" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:189:35 - error: "PROXY_TYPE_SOCKS5" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:192:35 - error: "PROXY_TYPE_SOCKS4" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- .../projects/pip/src/pip/_vendor/urllib3/contrib/socks.py:195:35 - error: "PROXY_TYPE_SOCKS4" is not a known attribute of module "socks" (reportAttributeAccessIssue)
- 1107 errors, 27 warnings, 0 informations
+ 1099 errors, 28 warnings, 0 informations
zulip (https://github.com/zulip/zulip)
+ .../projects/zulip/zerver/views/registration.py:599:17 - error: No overloads for "update" match the provided arguments
+ Argument types: (Any) (reportCallIssue)
- 5012 errors, 344 warnings, 0 informations
+ 5013 errors, 344 warnings, 0 informations
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:181:13 - error: Argument of type "list[_MetadataKey]" cannot be assigned to parameter "metadata" of type "Metadata | None" in function "__init__"
+ .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:181:13 - error: Argument of type "list[_MetadataKey]" cannot be assigned to parameter "metadata" of type "Metadata | None" in function "__new__"
- Type parameter "_ReturnT_co@CoroutineType" is covariant, but "StreamUnaryCall[Unknown, Unknown]" is not a subtype of "AsyncIterable[Unknown] | UnaryStreamCall[Unknown, Unknown]"
+ Type parameter "_ReturnT_nd_co@CoroutineType" is covariant, but "StreamUnaryCall[Unknown, Unknown]" is not a subtype of "AsyncIterable[Unknown] | UnaryStreamCall[Unknown, Unknown]"
+ .../projects/dd-trace-py/ddtrace/vendor/psutil/_common.py:29:5 - error: "AF_INET6" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
+ .../projects/dd-trace-py/ddtrace/vendor/psutil/_common.py:33:5 - error: "AF_UNIX" is declared as Final and cannot be reassigned (reportGeneralTypeIssues)
+ .../projects/dd-trace-py/tests/contrib/langchain/test_langchain_llmobs.py:83:9 - error: Argument of type "Literal['assistant']" cannot be assigned to parameter "value" of type "_ANY" in function "__setitem__"
+ "Literal['assistant']" is not assignable to "_ANY" (reportArgumentType)
- Return type mismatch: base method returns type "None", override returns type "tuple[Connection[Cursor], DummyTracer] | None"
+ Return type mismatch: base method returns type "None", override returns type "tuple[connect, DummyTracer] | None"
- Type "tuple[Connection[Cursor], DummyTracer] | None" is not assignable to type "None"
+ Type "tuple[connect, DummyTracer] | None" is not assignable to type "None"
- "tuple[Connection[Cursor], DummyTracer]" is not assignable to "None" (reportIncompatibleMethodOverride)
... (truncated 179 lines) ...``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.