Conversation
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: ibis (https://github.com/ibis-project/ibis)
- .../projects/ibis/ibis/backends/bigquery/tests/unit/udf/test_find.py
- .../projects/ibis/ibis/backends/bigquery/tests/unit/udf/test_find.py:11:17 - error: Cannot access attribute "value" for class "stmt"
- Attribute "value" is unknown (reportAttributeAccessIssue)
- 7342 errors, 238 warnings, 0 informations
+ 7341 errors, 238 warnings, 0 informations
sympy (https://github.com/sympy/sympy)
+ .../projects/sympy/sympy/solvers/diophantine/diophantine.py:2623:24 - error: Cannot access attribute "as_coefficients_dict" for class "Eq"
+ Attribute "as_coefficients_dict" is unknown (reportAttributeAccessIssue)
+ .../projects/sympy/sympy/solvers/diophantine/diophantine.py:2906:17 - error: Cannot access attribute "as_independent" for class "Eq"
+ Attribute "as_independent" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:313:18 - error: Argument of type "list[Iterator[Unknown]]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
+ .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:313:18 - error: Argument of type "list[Iterator[Unknown | Any]]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
+ .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:313:30 - error: Cannot access attribute "as_independent" for class "Basic"
+ Attribute "as_independent" is unknown (reportAttributeAccessIssue)
- .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:382:18 - error: Argument of type "list[Iterator[Unknown]]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
+ .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:382:18 - error: Argument of type "list[Iterator[Unknown | Any]]" cannot be assigned to parameter "iterable" of type "Iterable[list[bytes]]" in function "__init__" (reportArgumentType)
+ .../projects/sympy/sympy/solvers/diophantine/tests/test_diophantine.py:382:30 - error: Cannot access attribute "as_independent" for class "Basic"
+ Attribute "as_independent" is unknown (reportAttributeAccessIssue)
+ .../projects/sympy/sympy/solvers/ode/lie_group.py:618:61 - error: Operator "-" not supported for type "Unknown | Basic" (reportOperatorIssue)
- .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:467:28 - error: Argument of type "Unknown | None" cannot be assigned to parameter "expr" of type "Expr" in function "make_args"
+ .../projects/sympy/sympy/solvers/ode/nonhomogeneous.py:467:28 - error: Argument of type "Unknown | Expr | Any | Eq | None" cannot be assigned to parameter "expr" of type "Expr" in function "make_args"
- Type "Unknown | None" is not assignable to type "Expr"
+ Type "Unknown | Expr | Any | Eq | None" is not assignable to type "Expr"
- "None" is not assignable to "Expr" (reportArgumentType)
+ "Equality" is not assignable to "Expr" (reportArgumentType)
- .../projects/sympy/sympy/solvers/ode/ode.py:1370:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
+ .../projects/sympy/sympy/solvers/ode/ode.py:1370:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Unknown | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
- Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+ Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Unknown | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+ .../projects/sympy/sympy/solvers/ode/ode.py:1516:38 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1517:38 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1527:9 - error: No overloads for "update" match the provided arguments (reportCallIssue)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1527:12 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1527:19 - error: Argument of type "Unknown | dict[Unknown, Unknown] | None" cannot be assigned to parameter "m" of type "Iterable[tuple[str, Unknown]]" in function "update"
+ Type "Unknown | dict[Unknown, Unknown] | None" is not assignable to type "Iterable[tuple[str, Unknown]]"
+ "None" is incompatible with protocol "Iterable[tuple[str, Unknown]]"
+ "__iter__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1534:43 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1534:64 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1540:9 - error: No overloads for "update" match the provided arguments (reportCallIssue)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1540:12 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1540:19 - error: Argument of type "Unknown | dict[Unknown, Unknown] | None" cannot be assigned to parameter "m" of type "Iterable[tuple[str, Unknown]]" in function "update"
+ Type "Unknown | dict[Unknown, Unknown] | None" is not assignable to type "Iterable[tuple[str, Unknown]]"
+ "None" is incompatible with protocol "Iterable[tuple[str, Unknown]]"
+ "__iter__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1547:43 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1547:74 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1553:9 - error: No overloads for "update" match the provided arguments (reportCallIssue)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1553:12 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1553:19 - error: Argument of type "Unknown | dict[Unknown, Unknown] | None" cannot be assigned to parameter "m" of type "Iterable[tuple[str, Unknown]]" in function "update"
+ Type "Unknown | dict[Unknown, Unknown] | None" is not assignable to type "Iterable[tuple[str, Unknown]]"
+ "None" is incompatible with protocol "Iterable[tuple[str, Unknown]]"
+ "__iter__" is not present (reportArgumentType)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1560:49 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:1560:70 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
- .../projects/sympy/sympy/solvers/ode/ode.py:2899:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
+ .../projects/sympy/sympy/solvers/ode/ode.py:2899:17 - error: Argument of type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Unknown | Infinity | NegativeInfinity | Float | Number | Expr" cannot be assigned to parameter "value" of type "Zero" in function "__setitem__"
- Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+ Type "One | NegativeOne | Zero | Integer | NaN | ComplexInfinity | Rational | Unknown | Infinity | NegativeInfinity | Float | Number | Expr" is not assignable to type "Zero"
+ .../projects/sympy/sympy/solvers/ode/ode.py:3380:7 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3380:38 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3381:7 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3381:38 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3382:14 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3383:14 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3384:14 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3396:50 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3397:50 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3398:50 - error: Object of type "None" is not subscriptable (reportOptionalSubscript)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3438:5 - error: No overloads for "update" match the provided arguments (reportCallIssue)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3438:7 - error: "update" is not a known attribute of "None" (reportOptionalMemberAccess)
+ .../projects/sympy/sympy/solvers/ode/ode.py:3438:14 - error: Argument of type "Unknown | dict[Unknown, Unknown] | None" cannot be assigned to parameter "m" of type "Iterable[tuple[str, Unknown]]" in function "update"
+ Type "Unknown | dict[Unknown, Unknown] | None" is not assignable to type "Iterable[tuple[str, Unknown]]"
+ "None" is incompatible with protocol "Iterable[tuple[str, Unknown]]"
... (truncated 415 lines) ...
setuptools (https://github.com/pypa/setuptools)
- .../projects/setuptools/setuptools/depends.py:137:42 - warning: Argument of type "str | None" cannot be assigned to parameter "filename" of type "str | ReadableBuffer | PathLike[Any]" in function "compile"
+ .../projects/setuptools/setuptools/depends.py:137:42 - warning: Argument of type "str | None" cannot be assigned to parameter "filename" of type "str | bytes | PathLike[Any]" in function "compile"
- Type "str | None" is not assignable to type "str | ReadableBuffer | PathLike[Any]"
+ Type "str | None" is not assignable to type "str | bytes | PathLike[Any]"
- Type "None" is not assignable to type "str | ReadableBuffer | PathLike[Any]"
+ Type "None" is not assignable to type "str | bytes | PathLike[Any]"
+ "None" is not assignable to "bytes"
- "None" is incompatible with protocol "Buffer"
- "__buffer__" is not present
pip (https://github.com/pypa/pip)
- .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[Unknown, ...]" cannot be assigned to parameter "total" of type "int" in function "__init__"
+ .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[()]" cannot be assigned to parameter "total" of type "int" in function "__init__"
- Type "Unknown | tuple[Unknown, ...]" is not assignable to type "int"
+ Type "Unknown | tuple[()]" is not assignable to type "int"
- "tuple[Unknown, ...]" is not assignable to "int" (reportArgumentType)
+ "tuple[()]" is not assignable to "int" (reportArgumentType)
- .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[Unknown, ...]" cannot be assigned to parameter "backoff_factor" of type "int" in function "__init__"
+ .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[()]" cannot be assigned to parameter "backoff_factor" of type "int" in function "__init__"
- Type "Unknown | tuple[Unknown, ...]" is not assignable to type "int"
+ Type "Unknown | tuple[()]" is not assignable to type "int"
- "tuple[Unknown, ...]" is not assignable to "int" (reportArgumentType)
+ "tuple[()]" is not assignable to "int" (reportArgumentType)
- .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[Unknown, ...]" cannot be assigned to parameter "raise_on_redirect" of type "bool" in function "__init__"
+ .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[()]" cannot be assigned to parameter "raise_on_redirect" of type "bool" in function "__init__"
- Type "Unknown | tuple[Unknown, ...]" is not assignable to type "bool"
+ Type "Unknown | tuple[()]" is not assignable to type "bool"
- "tuple[Unknown, ...]" is not assignable to "bool" (reportArgumentType)
+ "tuple[()]" is not assignable to "bool" (reportArgumentType)
- .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[Unknown, ...]" cannot be assigned to parameter "raise_on_status" of type "bool" in function "__init__"
+ .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[()]" cannot be assigned to parameter "raise_on_status" of type "bool" in function "__init__"
- Type "Unknown | tuple[Unknown, ...]" is not assignable to type "bool"
+ Type "Unknown | tuple[()]" is not assignable to type "bool"
- "tuple[Unknown, ...]" is not assignable to "bool" (reportArgumentType)
+ "tuple[()]" is not assignable to "bool" (reportArgumentType)
- .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[Unknown, ...]" cannot be assigned to parameter "respect_retry_after_header" of type "bool" in function "__init__"
+ .../projects/pip/src/pip/_vendor/urllib3/util/retry.py:340:29 - error: Argument of type "Unknown | tuple[()]" cannot be assigned to parameter "respect_retry_after_header" of type "bool" in function "__init__"
- Type "Unknown | tuple[Unknown, ...]" is not assignable to type "bool"
+ Type "Unknown | tuple[()]" is not assignable to type "bool"
- "tuple[Unknown, ...]" is not assignable to "bool" (reportArgumentType)
+ "tuple[()]" is not assignable to "bool" (reportArgumentType)
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:38:12 - error: Type "tuple[_UnaryUnaryClientInterceptor, _UnaryStreamClientInterceptor, _StreamUnaryClientInterceptor, _StreamStreamClientInterceptor]" is not assignable to return type "Tuple[ClientInterceptor, ...]"
- "_UnaryUnaryClientInterceptor" is not assignable to "ClientInterceptor"
- "_UnaryStreamClientInterceptor" is not assignable to "ClientInterceptor"
- "_StreamUnaryClientInterceptor" is not assignable to "ClientInterceptor"
- "_StreamStreamClientInterceptor" is not assignable to "ClientInterceptor" (reportReturnType)
+ .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:239:15 - error: Method "intercept_unary_unary" overrides class "UnaryUnaryClientInterceptor" in an incompatible manner
+ Parameter 2 type mismatch: base parameter is type "(ClientCallDetails, _TRequest@intercept_unary_unary) -> Awaitable[UnaryUnaryCall[_TRequest@intercept_unary_unary, _TResponse@intercept_unary_unary]]", override parameter is type "(ClientCallDetails, Unknown) -> UnaryUnaryCall[Unknown, Unknown]"
+ Type "(ClientCallDetails, _TRequest@intercept_unary_unary) -> Awaitable[UnaryUnaryCall[_TRequest@intercept_unary_unary, _TResponse@intercept_unary_unary]]" is not assignable to type "(ClientCallDetails, Unknown) -> UnaryUnaryCall[Unknown, Unknown]"
+ Function return type "Awaitable[UnaryUnaryCall[Unknown, _TResponse@intercept_unary_unary]]" is incompatible with type "UnaryUnaryCall[Unknown, Unknown]"
+ "Awaitable[UnaryUnaryCall[Unknown, _TResponse@intercept_unary_unary]]" is not assignable to "UnaryUnaryCall[Unknown, Unknown]" (reportIncompatibleMethodOverride)
+ .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:254:15 - error: Method "intercept_unary_stream" overrides class "UnaryStreamClientInterceptor" in an incompatible manner
+ Parameter 2 type mismatch: base parameter is type "(ClientCallDetails, _TRequest@intercept_unary_stream) -> Awaitable[UnaryStreamCall[_TRequest@intercept_unary_stream, _TResponse@intercept_unary_stream]]", override parameter is type "(ClientCallDetails, Unknown) -> UnaryStreamCall[Unknown, Unknown]"
+ Type "(ClientCallDetails, _TRequest@intercept_unary_stream) -> Awaitable[UnaryStreamCall[_TRequest@intercept_unary_stream, _TResponse@intercept_unary_stream]]" is not assignable to type "(ClientCallDetails, Unknown) -> UnaryStreamCall[Unknown, Unknown]"
+ Function return type "Awaitable[UnaryStreamCall[Unknown, _TResponse@intercept_unary_stream]]" is incompatible with type "UnaryStreamCall[Unknown, Unknown]"
+ "Awaitable[UnaryStreamCall[Unknown, _TResponse@intercept_unary_stream]]" is not assignable to "UnaryStreamCall[Unknown, Unknown]" (reportIncompatibleMethodOverride)
+ Parameter 2 type mismatch: base parameter is type "(ClientCallDetails, AsyncIterable[_TRequest@intercept_stream_unary] | Iterable[_TRequest@intercept_stream_unary]) -> Awaitable[StreamUnaryCall[_TRequest@intercept_stream_unary, _TResponse@intercept_stream_unary]]", override parameter is type "(ClientCallDetails, Unknown) -> StreamUnaryCall[Unknown, Unknown]"
+ Type "(ClientCallDetails, AsyncIterable[_TRequest@intercept_stream_unary] | Iterable[_TRequest@intercept_stream_unary]) -> Awaitable[StreamUnaryCall[_TRequest@intercept_stream_unary, _TResponse@intercept_stream_unary]]" is not assignable to type "(ClientCallDetails, Unknown) -> StreamUnaryCall[Unknown, Unknown]"
+ Function return type "Awaitable[StreamUnaryCall[Unknown, _TResponse@intercept_stream_unary]]" is incompatible with type "StreamUnaryCall[Unknown, Unknown]"
- Return type mismatch: base method returns type "CoroutineType[Any, Any, AsyncIterable[Unknown] | UnaryStreamCall[Unknown, Unknown]]", override returns type "CoroutineType[Any, Any, StreamUnaryCall[Unknown, Unknown]]"
- "CoroutineType[Any, Any, StreamUnaryCall[Unknown, Unknown]]" is not assignable to "CoroutineType[Any, Any, 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]"
- Type "StreamUnaryCall[Unknown, Unknown]" is not assignable to type "AsyncIterable[Unknown] | UnaryStreamCall[Unknown, Unknown]"
- "StreamUnaryCall[Unknown, Unknown]" is incompatible with protocol "AsyncIterable[Unknown]"
- "StreamUnaryCall[Unknown, Unknown]" is not assignable to "UnaryStreamCall[Unknown, Unknown]" (reportIncompatibleMethodOverride)
+ "Awaitable[StreamUnaryCall[Unknown, _TResponse@intercept_stream_unary]]" is not assignable to "StreamUnaryCall[Unknown, Unknown]" (reportIncompatibleMethodOverride)
+ .../projects/dd-trace-py/ddtrace/contrib/internal/grpc/aio_client_interceptor.py:284:15 - error: Method "intercept_stream_stream" overrides class "StreamStreamClientInterceptor" in an incompatible manner
+ Parameter 2 type mismatch: base parameter is type "(ClientCallDetails, AsyncIterable[_TRequest@intercept_stream_stream] | Iterable[_TRequest@intercept_stream_stream]) -> Awaitable[StreamStreamCall[_TRequest@intercept_stream_stream, _TResponse@intercept_stream_stream]]", override parameter is type "(ClientCallDetails, Unknown) -> StreamStreamCall[Unknown, Unknown]"
+ Type "(ClientCallDetails, AsyncIterable[_TRequest@intercept_stream_stream] | Iterable[_TRequest@intercept_stream_stream]) -> Awaitable[StreamStreamCall[_TRequest@intercept_stream_stream, _TResponse@intercept_stream_stream]]" is not assignable to type "(ClientCallDetails, Unknown) -> StreamStreamCall[Unknown, Unknown]"
+ Function return type "Awaitable[StreamStreamCall[Unknown, _TResponse@intercept_stream_stream]]" is incompatible with type "StreamStreamCall[Unknown, Unknown]"
+ "Awaitable[StreamStreamCall[Unknown, _TResponse@intercept_stream_stream]]" is not assignable to "StreamStreamCall[Unknown, Unknown]" (reportIncompatibleMethodOverride)
- .../projects/dd-trace-py/tests/contrib/grpc_aio/test_grpc_aio.py:307:80 - error: Argument of type "list[DummyClientInterceptor]" cannot be assigned to parameter "interceptors" of type "Sequence[ClientInterceptor] | None" in function "secure_channel"
- Type "list[DummyClientInterceptor]" is not assignable to type "Sequence[ClientInterceptor] | None"
- "list[DummyClientInterceptor]" is not assignable to "Sequence[ClientInterceptor]"
- Type parameter "_T_co@Sequence" is covariant, but "DummyClientInterceptor" is not a subtype of "ClientInterceptor"
- "DummyClientInterceptor" is not assignable to "ClientInterceptor"
- "list[DummyClientInterceptor]" is not assignable to "None" (reportArgumentType)
- .../projects/dd-trace-py/tests/contrib/grpc_aio/test_grpc_aio.py:948:76 - error: Argument of type "list[StreamInterceptor]" cannot be assigned to parameter "interceptors" of type "Sequence[ClientInterceptor] | None" in function "insecure_channel"
- "StreamInterceptor" is not assignable to "ClientInterceptor" (reportArgumentType)
pydantic (https://github.com/pydantic/pydantic)
+ .../projects/pydantic/pydantic/errors.py
+ .../projects/pydantic/pydantic/errors.py:131:25 - error: Argument of type "str | Any | None" cannot be assigned to parameter "name" of type "str" in function "__init__"
+ Type "str | Any | None" is not assignable to type "str"
+ "None" is not assignable to "str" (reportArgumentType)
- 5 errors, 0 warnings, 0 informations
+ 6 errors, 0 warnings, 0 informations
mypy (https://github.com/python/mypy)
- .../projects/mypy/mypy/typeshed/stdlib/_frozen_importlib_external.pyi:134:7 - error: Base classes for class "SourcelessFileLoader" define method "get_filename" in incompatible way
- Parameter 2 name mismatch: base parameter is named "fullname", override parameter is named "name" (reportIncompatibleMethodOverride)
- .../projects/mypy/mypy/typeshed/stdlib/_frozen_importlib_external.pyi:134:7 - error: Base classes for class "SourcelessFileLoader" define method "load_module" in incompatible way
- Parameter 2 name mismatch: base parameter is named "fullname", override parameter is named "name" (reportIncompatibleMethodOverride)
- .../projects/mypy/mypy/typeshed/stdlib/ctypes/__init__.pyi
- .../projects/mypy/mypy/typeshed/stdlib/ctypes/__init__.pyi:26:46 - error: "SupportsLen" is unknown import symbol (reportAttributeAccessIssue)
- .../projects/mypy/mypy/typeshed/stdlib/importlib/abc.pyi
- .../projects/mypy/mypy/typeshed/stdlib/importlib/abc.pyi:117:9 - error: Method "get_filename" overrides class "FileLoader" in an incompatible manner
- Parameter 2 name mismatch: base parameter is named "name", override parameter is named "fullname" (reportIncompatibleMethodOverride)
- .../projects/mypy/mypy/typeshed/stdlib/importlib/abc.pyi:118:9 - error: Method "load_module" overrides class "FileLoader" in an incompatible manner
- Parameter 2 name mismatch: base parameter is named "name", override parameter is named "fullname" (reportIncompatibleMethodOverride)
- 1074 errors, 115 warnings, 0 informations
+ 1069 errors, 115 warnings, 0 informations
altair (https://github.com/vega/altair)
+ .../projects/altair/altair/utils/execeval.py
+ .../projects/altair/altair/utils/execeval.py:81:61 - error: Argument of type "str | ReadableBuffer | PathLike[Any]" cannot be assigned to parameter "filename" of type "str | bytes | PathLike[Any]" in function "compile"
+ Type "str | ReadableBuffer | PathLike[Any]" is not assignable to type "str | bytes | PathLike[Any]"
+ Type "ReadableBuffer" is not assignable to type "str | bytes | PathLike[Any]"
+ "Buffer" is not assignable to "str"
+ "Buffer" is not assignable to "bytes"
+ "Buffer" is incompatible with protocol "PathLike[Any]"
+ "__fspath__" is not present (reportArgumentType)
+ .../projects/altair/altair/utils/execeval.py:87:51 - error: Argument of type "str | ReadableBuffer | PathLike[Any]" cannot be assigned to parameter "filename" of type "str | bytes | PathLike[Any]" in function "compile"
+ Type "str | ReadableBuffer | PathLike[Any]" is not assignable to type "str | bytes | PathLike[Any]"
+ Type "ReadableBuffer" is not assignable to type "str | bytes | PathLike[Any]"
+ "Buffer" is not assignable to "str"
+ "Buffer" is not assignable to "bytes"
+ "Buffer" is incompatible with protocol "PathLike[Any]"
+ "__fspath__" is not present (reportArgumentType)
- 297 errors, 120 warnings, 0 informations
+ 299 errors, 120 warnings, 0 informations
rich (https://github.com/Textualize/rich)
- .../projects/rich/tests/test_traceback.py:238:13 - error: Method "__str__" overrides class "object" in an incompatible manner
+ .../projects/rich/tests/test_traceback.py:238:13 - error: Method "__str__" overrides class "BaseException" in an incompatible manner
|
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.