Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Dec 29, 2024

Python 3.7 has been dead for a long time, people can use PEP 570
Let's see primer, this will probably need to be a config option

For fixes in mypy's codebase, see #18356

hauntsaninja and others added 2 commits December 28, 2024 17:50
Python 3.7 has been dead for a long time, people can use PEP 570.
Let's see primer, this might need to be an option
hauntsaninja added a commit to hauntsaninja/mypy that referenced this pull request Dec 29, 2024
@github-actions

This comment has been minimized.

cdce8p pushed a commit to cdce8p/mypy that referenced this pull request Dec 29, 2024
cdce8p pushed a commit to cdce8p/mypy that referenced this pull request Dec 29, 2024
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@ilevkivskyi
Copy link
Member

Note that there is the same lenient behavior in protocols (originally motivated by a parity with this nominal subtyping behaviour), you may want to test that one as well.

@JukkaL
Copy link
Collaborator

JukkaL commented Dec 30, 2024

My current thinking is that we'd add a new error code for LSP violations caused by argument names only (a sub error code of override). It would be disabled by default, but we might enable it by default one day (likely not very soon). Maybe --strict should enable it?

@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Diff from mypy_primer, showing the effect of this PR on open source code:

beartype (https://github.com/beartype/beartype)
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:251: error: Signature of "append" incompatible with supertype "typing.MutableSequence"  [override]
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:251: note:      Superclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:251: note:          def append(self, value: Any) -> None
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:251: note:      Subclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:251: note:          def append(self, obj: Any) -> Never
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:261: error: Signature of "extend" incompatible with supertype "typing.MutableSequence"  [override]
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:261: note:      Superclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:261: note:          def extend(self, values: Iterable[Any]) -> None
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:261: note:      Subclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:261: note:          def extend(self, obj: Any) -> Never
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:266: error: Signature of "pop" incompatible with supertype "typing.MutableSequence"  [override]
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:266: note:      Superclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:266: note:          def pop(self, index: int = ...) -> Any
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:266: note:      Subclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:266: note:          def pop(self, *args: Any) -> Never
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:271: error: Signature of "remove" incompatible with supertype "typing.MutableSequence"  [override]
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:271: note:      Superclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:271: note:          def remove(self, value: Any) -> None
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:271: note:      Subclass:
+ beartype/_util/cache/pool/utilcachepoollistfixed.py:271: note:          def remove(self, *args: Any) -> Never
+ beartype/typing/_typingpep544.py:253: error: Signature of "__instancecheck__" incompatible with supertype "abc.ABCMeta"  [override]
+ beartype/typing/_typingpep544.py:253: note:      Superclass:
+ beartype/typing/_typingpep544.py:253: note:          def __instancecheck__(cls, instance: Any) -> bool
+ beartype/typing/_typingpep544.py:253: note:      Subclass:
+ beartype/typing/_typingpep544.py:253: note:          def __instancecheck__(cls, obj: Any) -> bool

spack (https://github.com/spack/spack)
+ lib/spack/spack/cmd/info.py:160: error: Signature of "format_name" incompatible with supertype "Formatter"  [override]
+ lib/spack/spack/cmd/info.py:160: note:      Superclass:
+ lib/spack/spack/cmd/info.py:160: note:          def format_name(self, element: Any) -> str
+ lib/spack/spack/cmd/info.py:160: note:      Subclass:
+ lib/spack/spack/cmd/info.py:160: note:          def format_name(self, dep: Dependency) -> str
+ lib/spack/spack/cmd/info.py:163: error: Signature of "format_values" incompatible with supertype "Formatter"  [override]
+ lib/spack/spack/cmd/info.py:163: note:      Superclass:
+ lib/spack/spack/cmd/info.py:163: note:          def format_values(self, element: Any) -> str
+ lib/spack/spack/cmd/info.py:163: note:      Subclass:
+ lib/spack/spack/cmd/info.py:163: note:          def format_values(self, dep: Dependency) -> str
+ lib/spack/spack/cmd/info.py:539: error: Signature of "format_name" incompatible with supertype "Formatter"  [override]
+ lib/spack/spack/cmd/info.py:539: note:      Superclass:
+ lib/spack/spack/cmd/info.py:539: note:          def format_name(self, element: Any) -> str
+ lib/spack/spack/cmd/info.py:539: note:      Subclass:
+ lib/spack/spack/cmd/info.py:539: note:          def format_name(self, variant: Variant) -> str
+ lib/spack/spack/cmd/info.py:544: error: Signature of "format_values" incompatible with supertype "Formatter"  [override]
+ lib/spack/spack/cmd/info.py:544: note:      Superclass:
+ lib/spack/spack/cmd/info.py:544: note:          def format_values(self, element: Any) -> str
+ lib/spack/spack/cmd/info.py:544: note:      Subclass:
+ lib/spack/spack/cmd/info.py:544: note:          def format_values(self, variant: Variant) -> str
+ lib/spack/spack/cmd/info.py:556: error: Signature of "format_description" incompatible with supertype "Formatter"  [override]
+ lib/spack/spack/cmd/info.py:556: note:      Superclass:
+ lib/spack/spack/cmd/info.py:556: note:          def format_description(self, element: Any) -> str
+ lib/spack/spack/cmd/info.py:556: note:      Subclass:
+ lib/spack/spack/cmd/info.py:556: note:          def format_description(self, variant: Variant) -> str

com2ann (https://github.com/ilevkivskyi/com2ann)
+ src/com2ann.py:155: error: Signature of "visit_Assign" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:155: note:      Superclass:
+ src/com2ann.py:155: note:          def visit_Assign(self, node: Assign) -> Any
+ src/com2ann.py:155: note:      Subclass:
+ src/com2ann.py:155: note:          def visit_Assign(self, s: Assign) -> None
+ src/com2ann.py:191: error: Signature of "visit_For" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:191: note:      Superclass:
+ src/com2ann.py:191: note:          def visit_For(self, node: For) -> Any
+ src/com2ann.py:191: note:      Subclass:
+ src/com2ann.py:191: note:          def visit_For(self, o: For) -> None
+ src/com2ann.py:194: error: Signature of "visit_AsyncFor" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:194: note:      Superclass:
+ src/com2ann.py:194: note:          def visit_AsyncFor(self, node: AsyncFor) -> Any
+ src/com2ann.py:194: note:      Subclass:
+ src/com2ann.py:194: note:          def visit_AsyncFor(self, o: AsyncFor) -> None
+ src/com2ann.py:197: error: Signature of "visit_With" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:197: note:      Superclass:
+ src/com2ann.py:197: note:          def visit_With(self, node: With) -> Any
+ src/com2ann.py:197: note:      Subclass:
+ src/com2ann.py:197: note:          def visit_With(self, o: With) -> None
+ src/com2ann.py:200: error: Signature of "visit_AsyncWith" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:200: note:      Superclass:
+ src/com2ann.py:200: note:          def visit_AsyncWith(self, node: AsyncWith) -> Any
+ src/com2ann.py:200: note:      Subclass:
+ src/com2ann.py:200: note:          def visit_AsyncWith(self, o: AsyncWith) -> None
+ src/com2ann.py:208: error: Signature of "visit_FunctionDef" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:208: note:      Superclass:
+ src/com2ann.py:208: note:          def visit_FunctionDef(self, node: FunctionDef) -> Any
+ src/com2ann.py:208: note:      Subclass:
+ src/com2ann.py:208: note:          def visit_FunctionDef(self, fdef: FunctionDef) -> None
+ src/com2ann.py:211: error: Signature of "visit_AsyncFunctionDef" incompatible with supertype "ast.NodeVisitor"  [override]
+ src/com2ann.py:211: note:      Superclass:
+ src/com2ann.py:211: note:          def visit_AsyncFunctionDef(self, node: AsyncFunctionDef) -> Any
+ src/com2ann.py:211: note:      Subclass:
+ src/com2ann.py:211: note:          def visit_AsyncFunctionDef(self, fdef: AsyncFunctionDef) -> None

hydpy (https://github.com/hydpy-dev/hydpy)
+ hydpy/core/importtools.py:717: error: Signature of "__set_name__" incompatible with supertype "_DoctestAdder"  [override]
+ hydpy/core/importtools.py:717: note:      Superclass:
+ hydpy/core/importtools.py:717: note:          def __set_name__(self, objtype: type[Model], name: str) -> None
+ hydpy/core/importtools.py:717: note:      Subclass:
+ hydpy/core/importtools.py:717: note:          def __set_name__(self, owner: type[Model], name: str) -> None
+ hydpy/core/devicetools.py:224: error: Signature of "add" incompatible with supertype "typing.MutableSet"  [override]
+ hydpy/core/devicetools.py:224: note:      Superclass:
+ hydpy/core/devicetools.py:224: note:          def add(self, value: str) -> None
+ hydpy/core/devicetools.py:224: note:      Subclass:
+ hydpy/core/devicetools.py:224: note:          def add(self, name: Any) -> None

spark (https://github.com/apache/spark)
+ python/pyspark/logger/logger.py:159: error: Signature of "addHandler" incompatible with supertype "logging.Logger"  [override]
+ python/pyspark/logger/logger.py:159: note:      Superclass:
+ python/pyspark/logger/logger.py:159: note:          def addHandler(self, hdlr: Handler) -> None
+ python/pyspark/logger/logger.py:159: note:      Subclass:
+ python/pyspark/logger/logger.py:159: note:          def addHandler(self, handler: Handler) -> None
+ python/pyspark/sql/types.py:388: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:388: note:      Superclass:
+ python/pyspark/sql/types.py:388: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:388: note:      Subclass:
+ python/pyspark/sql/types.py:388: note:          def toInternal(self, d: date) -> int
+ python/pyspark/sql/types.py:392: error: Signature of "fromInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:392: note:      Superclass:
+ python/pyspark/sql/types.py:392: note:          def fromInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:392: note:      Subclass:
+ python/pyspark/sql/types.py:392: note:          def fromInternal(self, v: int) -> date
+ python/pyspark/sql/types.py:416: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:416: note:      Superclass:
+ python/pyspark/sql/types.py:416: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:416: note:      Subclass:
+ python/pyspark/sql/types.py:416: note:          def toInternal(self, t: time) -> int
+ python/pyspark/sql/types.py:425: error: Signature of "fromInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:425: note:      Superclass:
+ python/pyspark/sql/types.py:425: note:          def fromInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:425: note:      Subclass:
+ python/pyspark/sql/types.py:425: note:          def fromInternal(self, nano: int) -> time
+ python/pyspark/sql/types.py:455: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:455: note:      Superclass:
+ python/pyspark/sql/types.py:455: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:455: note:      Subclass:
+ python/pyspark/sql/types.py:455: note:          def toInternal(self, dt: datetime) -> int
+ python/pyspark/sql/types.py:462: error: Signature of "fromInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:462: note:      Superclass:
+ python/pyspark/sql/types.py:462: note:          def fromInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:462: note:      Subclass:
+ python/pyspark/sql/types.py:462: note:          def fromInternal(self, ts: int) -> datetime
+ python/pyspark/sql/types.py:483: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:483: note:      Superclass:
+ python/pyspark/sql/types.py:483: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:483: note:      Subclass:
+ python/pyspark/sql/types.py:483: note:          def toInternal(self, dt: datetime) -> int
+ python/pyspark/sql/types.py:488: error: Signature of "fromInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:488: note:      Superclass:
+ python/pyspark/sql/types.py:488: note:          def fromInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:488: note:      Subclass:
+ python/pyspark/sql/types.py:488: note:          def fromInternal(self, ts: int) -> datetime
+ python/pyspark/sql/types.py:642: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:642: note:      Superclass:
+ python/pyspark/sql/types.py:642: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:642: note:      Subclass:
+ python/pyspark/sql/types.py:642: note:          def toInternal(self, geography: Any) -> Any
+ python/pyspark/sql/types.py:740: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:740: note:      Superclass:
+ python/pyspark/sql/types.py:740: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:740: note:      Subclass:
+ python/pyspark/sql/types.py:740: note:          def toInternal(self, geometry: Any) -> Any
+ python/pyspark/sql/types.py:838: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:838: note:      Superclass:
+ python/pyspark/sql/types.py:838: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:838: note:      Subclass:
+ python/pyspark/sql/types.py:838: note:          def toInternal(self, dt: timedelta) -> int | None
+ python/pyspark/sql/types.py:842: error: Signature of "fromInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:842: note:      Superclass:
+ python/pyspark/sql/types.py:842: note:          def fromInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:842: note:      Subclass:
+ python/pyspark/sql/types.py:842: note:          def fromInternal(self, micros: int) -> timedelta | None
+ python/pyspark/sql/types.py:1884: error: Signature of "toInternal" incompatible with supertype "DataType"  [override]
+ python/pyspark/sql/types.py:1884: note:      Superclass:
+ python/pyspark/sql/types.py:1884: note:          def toInternal(self, obj: Any) -> Any
+ python/pyspark/sql/types.py:1884: note:      Subclass:
+ python/pyspark/sql/types.py:1884: note:          def toInternal(self, variant: Any) -> Any
+ python/pyspark/sql/connect/client/retries.py:337: error: Signature of "can_retry" incompatible with supertype "RetryPolicy"  [override]
+ python/pyspark/sql/connect/client/retries.py:337: note:      Superclass:
+ python/pyspark/sql/connect/client/retries.py:337: note:          def can_retry(self, exception: BaseException) -> bool
+ python/pyspark/sql/connect/client/retries.py:337: note:      Subclass:
+ python/pyspark/sql/connect/client/retries.py:337: note:          def can_retry(self, e: BaseException) -> bool
+ python/pyspark/pandas/indexes/multi.py:835: error: Signature of "drop" incompatible with supertype "pyspark.pandas.indexes.base.Index"  [override]
+ python/pyspark/pandas/indexes/multi.py:835: note:      Superclass:
+ python/pyspark/pandas/indexes/multi.py:835: note:          def drop(self, labels: list[Any]) -> Index
+ python/pyspark/pandas/indexes/multi.py:835: note:      Subclass:
+ python/pyspark/pandas/indexes/multi.py:835: note:          def drop(self, codes: list[Any], level: int | Any | tuple[Any, ...] | None = ...) -> MultiIndex
+ python/pyspark/pandas/indexes/multi.py:1247: error: Signature of "factorize" incompatible with supertype "pyspark.pandas.base.IndexOpsMixin"  [override]
+ python/pyspark/pandas/indexes/multi.py:1247: note:      Superclass:
+ python/pyspark/pandas/indexes/multi.py:1247: note:          def factorize(self, sort: bool = ..., use_na_sentinel: bool = ...) -> tuple[MultiIndex, Index[Any]]
+ python/pyspark/pandas/indexes/multi.py:1247: note:      Subclass:
+ python/pyspark/pandas/indexes/multi.py:1247: note:          def factorize(self, sort: bool = ..., na_sentinel: int | None = ...) -> tuple[MultiIndex, Index[Any]]
+ python/pyspark/pandas/window.py:578: error: Signature of "quantile" incompatible with supertype "RollingAndExpanding"  [override]
+ python/pyspark/pandas/window.py:578: note:      Superclass:
+ python/pyspark/pandas/window.py:578: note:          def quantile(self, q: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:578: note:      Subclass:
+ python/pyspark/pandas/window.py:578: note:          def quantile(self, quantile: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:1252: error: Signature of "quantile" incompatible with supertype "RollingAndExpanding"  [override]
+ python/pyspark/pandas/window.py:1252: note:      Superclass:
+ python/pyspark/pandas/window.py:1252: note:          def quantile(self, q: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:1252: note:      Subclass:
+ python/pyspark/pandas/window.py:1252: note:          def quantile(self, quantile: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:1670: error: Signature of "quantile" incompatible with supertype "RollingAndExpanding"  [override]
+ python/pyspark/pandas/window.py:1670: note:      Superclass:
+ python/pyspark/pandas/window.py:1670: note:          def quantile(self, q: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:1670: note:      Subclass:
+ python/pyspark/pandas/window.py:1670: note:          def quantile(self, quantile: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:2225: error: Signature of "quantile" incompatible with supertype "RollingAndExpanding"  [override]
+ python/pyspark/pandas/window.py:2225: note:      Superclass:
+ python/pyspark/pandas/window.py:2225: note:          def quantile(self, q: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/pandas/window.py:2225: note:      Subclass:
+ python/pyspark/pandas/window.py:2225: note:          def quantile(self, quantile: float, accuracy: int = ...) -> FrameLike
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: error: Signature of "_create_torchrun_command" incompatible with supertype "pyspark.ml.torch.distributor.TorchDistributor"  [override]
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:      Superclass:
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:          @staticmethod
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:          def _create_torchrun_command(input_params: dict[str, Any], path_to_train_file: str, *args: Any) -> list[str]
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:      Subclass:
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:          @staticmethod
+ python/pyspark/ml/deepspeed/deepspeed_distributor.py:113: note:          def _create_torchrun_command(input_params: dict[str, Any], train_path: str, *args: Any) -> list[str]
+ python/pyspark/ml/connect/classification.py:393: error: Signature of "_load_extra_metadata" incompatible with supertype "pyspark.ml.connect.io_utils.ParamsReadWrite"  [override]
+ python/pyspark/ml/connect/classification.py:393: note:      Superclass:
+ python/pyspark/ml/connect/classification.py:393: note:          def _load_extra_metadata(self, metadata: dict[str, Any]) -> None
+ python/pyspark/ml/connect/classification.py:393: note:      Subclass:
+ python/pyspark/ml/connect/classification.py:393: note:          def _load_extra_metadata(self, extra_metadata: dict[str, Any]) -> None
+ python/pyspark/mllib/classification.py:233: error: Signature of "predict" incompatible with supertype "LinearClassificationModel"  [override]
+ python/pyspark/mllib/classification.py:233: note:      Superclass:
+ python/pyspark/mllib/classification.py:233: note:          @overload
+ python/pyspark/mllib/classification.py:233: note:          def predict(self, test: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> int | float
+ python/pyspark/mllib/classification.py:233: note:          @overload
+ python/pyspark/mllib/classification.py:233: note:          def predict(self, test: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[int | float]
+ python/pyspark/mllib/classification.py:233: note:      Subclass:
+ python/pyspark/mllib/classification.py:233: note:          @overload
+ python/pyspark/mllib/classification.py:233: note:          def predict(self, x: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> int | float
+ python/pyspark/mllib/classification.py:233: note:          @overload
+ python/pyspark/mllib/classification.py:233: note:          def predict(self, x: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[int | float]
+ python/pyspark/mllib/classification.py:590: error: Signature of "predict" incompatible with supertype "LinearClassificationModel"  [override]
+ python/pyspark/mllib/classification.py:590: note:      Superclass:
+ python/pyspark/mllib/classification.py:590: note:          @overload
+ python/pyspark/mllib/classification.py:590: note:          def predict(self, test: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> int | float
+ python/pyspark/mllib/classification.py:590: note:          @overload
+ python/pyspark/mllib/classification.py:590: note:          def predict(self, test: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[int | float]
+ python/pyspark/mllib/classification.py:590: note:      Subclass:
+ python/pyspark/mllib/classification.py:590: note:          @overload
+ python/pyspark/mllib/classification.py:590: note:          def predict(self, x: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> int | float
+ python/pyspark/mllib/classification.py:590: note:          @overload
+ python/pyspark/mllib/classification.py:590: note:          def predict(self, x: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[int | float]
+ python/pyspark/mllib/feature.py:663: error: Signature of "transform" incompatible with supertype "JavaVectorTransformer"  [override]
+ python/pyspark/mllib/feature.py:663: note:      Superclass:
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, vector: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> Vector
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, vector: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[Vector]
+ python/pyspark/mllib/feature.py:663: note:      Subclass:
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, x: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> Vector
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, x: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[Vector]
+ python/pyspark/mllib/feature.py:663: error: Signature of "transform" incompatible with supertype "VectorTransformer"  [override]
+ python/pyspark/mllib/feature.py:663: note:      Superclass:
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, vector: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> Vector
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, vector: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[Vector]
+ python/pyspark/mllib/feature.py:663: note:      Subclass:
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, x: ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]) -> Vector
+ python/pyspark/mllib/feature.py:663: note:          @overload
+ python/pyspark/mllib/feature.py:663: note:          def transform(self, x: RDD[ndarray[tuple[Any, ...], dtype[Any]] | Vector | list[float] | tuple[float, ...]]) -> RDD[Vector]

psycopg (https://github.com/psycopg/psycopg)
+ psycopg/psycopg/types/enum.py:103: error: Signature of "dump" incompatible with supertype "psycopg.adapt.Dumper"  [override]
+ psycopg/psycopg/types/enum.py:103: note:      Superclass:
+ psycopg/psycopg/types/enum.py:103: note:          def dump(self, obj: Any) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:103: note:      Subclass:
+ psycopg/psycopg/types/enum.py:103: note:          def dump(self, value: E) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:103: error: Signature of "dump" incompatible with supertype "psycopg.abc.Dumper"  [override]
+ psycopg/psycopg/types/enum.py:103: note:      Superclass:
+ psycopg/psycopg/types/enum.py:103: note:          def dump(self, obj: Any) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:103: note:      Subclass:
+ psycopg/psycopg/types/enum.py:103: note:          def dump(self, value: E) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:116: error: Signature of "dump" incompatible with supertype "psycopg.adapt.Dumper"  [override]
+ psycopg/psycopg/types/enum.py:116: note:      Superclass:
+ psycopg/psycopg/types/enum.py:116: note:          def dump(self, obj: Any) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:116: note:      Subclass:
+ psycopg/psycopg/types/enum.py:116: note:          def [E: Enum] dump(self, value: E) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:116: error: Signature of "dump" incompatible with supertype "psycopg.abc.Dumper"  [override]
+ psycopg/psycopg/types/enum.py:116: note:      Superclass:
+ psycopg/psycopg/types/enum.py:116: note:          def dump(self, obj: Any) -> bytes | bytearray | memoryview[int] | None
+ psycopg/psycopg/types/enum.py:116: note:      Subclass:
+ psycopg/psycopg/types/enum.py:116: note:          def [E: Enum] dump(self, value: E) -> bytes | bytearray | memoryview[int] | None

tornado (https://github.com/tornadoweb/tornado)
+ tornado/iostream.py:1555: error: Signature of "_is_connreset" incompatible with supertype "BaseIOStream"  [override]
+ tornado/iostream.py:1555: note:      Superclass:
+ tornado/iostream.py:1555: note:          def _is_connreset(self, exc: BaseException) -> bool
+ tornado/iostream.py:1555: note:      Subclass:
+ tornado/iostream.py:1555: note:          def _is_connreset(self, e: BaseException) -> bool
+ tornado/web.py:2456: error: Signature of "data_received" incompatible with supertype "tornado.httputil.HTTPMessageDelegate"  [override]
+ tornado/web.py:2456: note:      Superclass:
+ tornado/web.py:2456: note:          def data_received(self, chunk: bytes) -> Awaitable[None] | None
+ tornado/web.py:2456: note:      Subclass:
+ tornado/web.py:2456: note:          def data_received(self, data: bytes) -> Awaitable[None] | None
+ tornado/simple_httpclient.py:588: error: Signature of "headers_received" incompatible with supertype "tornado.httputil.HTTPMessageDelegate"  [override]
+ tornado/simple_httpclient.py:588: note:      Superclass:
+ tornado/simple_httpclient.py:588: note:          def headers_received(self, start_line: RequestStartLine | ResponseStartLine, headers: HTTPHeaders) -> Awaitable[None] | None
+ tornado/simple_httpclient.py:588: note:      Subclass:
+ tornado/simple_httpclient.py:588: note:          def headers_received(self, first_line: ResponseStartLine | RequestStartLine, headers: HTTPHeaders) -> Coroutine[Any, Any, None]
+ tornado/websocket.py:1511: error: Signature of "headers_received" incompatible with supertype "tornado.simple_httpclient._HTTPConnection"  [override]
+ tornado/websocket.py:1511: note:      Superclass:
+ tornado/websocket.py:1511: note:          def headers_received(self, first_line: ResponseStartLine | RequestStartLine, headers: HTTPHeaders) -> Coroutine[Any, Any, None]
+ tornado/websocket.py:1511: note:      Subclass:
+ tornado/websocket.py:1511: note:          def headers_received(self, start_line: RequestStartLine | ResponseStartLine, headers: HTTPHeaders) -> Coroutine[Any, Any, None]

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ pymongo/synchronous/aggregation.py:215: error: Signature of "_cursor_collection" incompatible with supertype "_AggregationCommand"  [override]
+ pymongo/synchronous/aggregation.py:215: note:      Superclass:
+ pymongo/synchronous/aggregation.py:215: note:          def _cursor_collection(self, cursor_doc: Mapping[str, Any]) -> Collection[Any]
+ pymongo/synchronous/aggregation.py:215: note:      Subclass:
+ pymongo/synchronous/aggregation.py:215: note:          def _cursor_collection(self, cursor: Mapping[str, Any]) -> Collection[Any]
+ pymongo/synchronous/aggregation.py:248: error: Signature of "_cursor_collection" incompatible with supertype "_AggregationCommand"  [override]
+ pymongo/synchronous/aggregation.py:248: note:      Superclass:
+ pymongo/synchronous/aggregation.py:248: note:          def _cursor_collection(self, cursor_doc: Mapping[str, Any]) -> Collection[Any]
+ pymongo/synchronous/aggregation.py:248: note:      Subclass:
+ pymongo/synchronous/aggregation.py:248: note:          def _cursor_collection(self, cursor: Mapping[str, Any]) -> Collection[Any]
+ pymongo/asynchronous/aggregation.py:215: error: Signature of "_cursor_collection" incompatible with supertype "_AggregationCommand"  [override]
+ pymongo/asynchronous/aggregation.py:215: note:      Superclass:
+ pymongo/asynchronous/aggregation.py:215: note:          def _cursor_collection(self, cursor_doc: Mapping[str, Any]) -> AsyncCollection[Any]
+ pymongo/asynchronous/aggregation.py:215: note:      Subclass:
+ pymongo/asynchronous/aggregation.py:215: note:          def _cursor_collection(self, cursor: Mapping[str, Any]) -> AsyncCollection[Any]
+ pymongo/asynchronous/aggregation.py:248: error: Signature of "_cursor_collection" incompatible with supertype "_AggregationCommand"  [override]
+ pymongo/asynchronous/aggregation.py:248: note:      Superclass:
+ pymongo/asynchronous/aggregation.py:248: note:          def _cursor_collection(self, cursor_doc: Mapping[str, Any]) -> AsyncCollection[Any]
+ pymongo/asynchronous/aggregation.py:248: note:      Subclass:
+ pymongo/asynchronous/aggregation.py:248: note:          def _cursor_collection(self, cursor: Mapping[str, Any]) -> AsyncCollection[Any]

prefect (https://github.com/PrefectHQ/prefect)
+ src/prefect/server/events/messaging.py:38: error: Signature of "__aexit__" incompatible with supertype "prefect.server.utilities.messaging.Publisher"  [override]
+ src/prefect/server/events/messaging.py:38: note:      Superclass:
+ src/prefect/server/events/messaging.py:38: note:          def __aexit__(self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None) -> Coroutine[Any, Any, None]
+ src/prefect/server/events/messaging.py:38: note:      Subclass:
+ src/prefect/server/events/messaging.py:38: note:          def __aexit__(self, *args: Any) -> Coroutine[Any, Any, None]
+ src/prefect/events/worker.py:74: error: Signature of "_prepare_item" incompatible with supertype "prefect._internal.concurrency.services.QueueService"  [override]
+ src/prefect/events/worker.py:74: note:      Superclass:
+ src/prefect/events/worker.py:74: note:          def _prepare_item(self, item: Event) -> Event
+ src/prefect/events/worker.py:74: note:      Subclass:
+ src/prefect/events/worker.py:74: note:          def _prepare_item(self, event: Event) -> Event
+ src/prefect/events/worker.py:78: error: Signature of "_handle" incompatible with supertype "prefect._internal.concurrency.services.QueueService"  [override]
+ src/prefect/events/worker.py:78: note:      Superclass:
+ src/prefect/events/worker.py:78: note:          def _handle(self, item: Event) -> Coroutine[Any, Any, None]
+ src/prefect/events/worker.py:78: note:      Subclass:
+ src/prefect/events/worker.py:78: note:          def _handle(self, event: Event) -> Coroutine[Any, Any, Any]
+ src/prefect/events/worker.py:78: error: Signature of "_handle" incompatible with supertype "prefect._internal.concurrency.services._QueueServiceBase"  [override]
+ src/prefect/events/worker.py:78: note:      Superclass:
+ src/prefect/events/worker.py:78: note:          def _handle(self, item: Any) -> Coroutine[Any, Any, Any]
+ src/prefect/events/worker.py:78: note:      Subclass:
+ src/prefect/events/worker.py:78: note:          def _handle(self, event: Event) -> Coroutine[Any, Any, Any]

pylox (https://github.com/sco1/pylox)
+ pylox/containers/base.py:61: error: Signature of "get" incompatible with supertype "pylox.callable.LoxInstance"  [override]
+ pylox/containers/base.py:61: note:      Superclass:
+ pylox/containers/base.py:61: note:          def get(self, name: Token) -> Any
+ pylox/containers/base.py:61: note:      Subclass:
+ pylox/containers/base.py:61: note:          def get(self, method_name: Token) -> LoxCallable
+ pylox/containers/base.py:71: error: Signature of "set" incompatible with supertype "pylox.callable.LoxInstance"  [override]
+ pylox/containers/base.py:71: note:      Superclass:
+ pylox/containers/base.py:71: note:          def set(self, name: Token, value: Any) -> None
+ pylox/containers/base.py:71: note:      Subclass:
+ pylox/containers/base.py:71: note:          def set(self, name: Token, val: Any) -> None
+ pylox/containers/array.py:162: error: Signature of "get" incompatible with supertype "pylox.callable.LoxInstance"  [override]
+ pylox/containers/array.py:162: note:      Superclass:
+ pylox/containers/array.py:162: note:          def get(self, name: Token) -> Any
+ pylox/containers/array.py:162: note:      Subclass:
+ pylox/containers/array.py:162: note:          def get(self, method_name: Token) -> LoxCallable

bandersnatch (https://github.com/pypa/bandersnatch)
+ src/bandersnatch_storage_plugins/s3.py: note: In member "symlink" of class "S3Storage":
+ src/bandersnatch_storage_plugins/s3.py:435: error: Signature of "symlink" incompatible with supertype "bandersnatch.storage.Storage"  [override]
+ src/bandersnatch_storage_plugins/s3.py:435: note:      Superclass:
+ src/bandersnatch_storage_plugins/s3.py:435: note:          def symlink(self, source: Path | str, dest: Path | str) -> None
+ src/bandersnatch_storage_plugins/s3.py:435: note:      Subclass:
+ src/bandersnatch_storage_plugins/s3.py:435: note:          def symlink(self, src: Path | str, dest: Path | str) -> None

aiohttp (https://github.com/aio-libs/aiohttp)
+ aiohttp/web_urldispatcher.py:494:5: error: Signature of "raw_match" incompatible with supertype "AbstractResource"  [override]
+ aiohttp/web_urldispatcher.py:494:5: note:      Superclass:
+ aiohttp/web_urldispatcher.py:494:5: note:          def raw_match(self, path: str) -> bool
+ aiohttp/web_urldispatcher.py:494:5: note:      Subclass:
+ aiohttp/web_urldispatcher.py:494:5: note:          def raw_match(self, prefix: str) -> bool

meson (https://github.com/mesonbuild/meson)
+ mesonbuild/arglist.py:332:5: error: Signature of "append" incompatible with supertype "typing.MutableSequence"  [override]
+ mesonbuild/arglist.py:332:5: note:      Superclass:
+ mesonbuild/arglist.py:332:5: note:          def append(self, value: str) -> None
+ mesonbuild/arglist.py:332:5: note:      Subclass:
+ mesonbuild/arglist.py:332:5: note:          def append(self, arg: str) -> None
+ mesonbuild/arglist.py:335:5: error: Signature of "extend" incompatible with supertype "typing.MutableSequence"  [override]
+ mesonbuild/arglist.py:335:5: note:      Superclass:
+ mesonbuild/arglist.py:335:5: note:          def extend(self, values: Iterable[str]) -> None
+ mesonbuild/arglist.py:335:5: note:      Subclass:
+ mesonbuild/arglist.py:335:5: note:          def extend(self, args: Iterable[str]) -> None
+ mesonbuild/options.py:441:5: error: Signature of "toint" incompatible with supertype "_UserIntegerBase"  [override]
+ mesonbuild/options.py:441:5: note:      Superclass:
+ mesonbuild/options.py:441:5: note:          def toint(self, v: str) -> int
+ mesonbuild/options.py:441:5: note:      Subclass:
+ mesonbuild/options.py:441:5: note:          def toint(self, valuestring: str) -> int
+ mesonbuild/options.py:472:5: error: Signature of "toint" incompatible with supertype "_UserIntegerBase"  [override]
+ mesonbuild/options.py:472:5: note:      Superclass:
+ mesonbuild/options.py:472:5: note:          def toint(self, v: str) -> int
+ mesonbuild/options.py:472:5: note:      Subclass:
+ mesonbuild/options.py:472:5: note:          def toint(self, valuestring: str) -> int
+ mesonbuild/linkers/linkers.py:861:5: error: Signature of "get_std_shared_module_args" incompatible with supertype "DynamicLinker"  [override]
+ mesonbuild/linkers/linkers.py:861:5: note:      Superclass:
+ mesonbuild/linkers/linkers.py:861:5: note:          def get_std_shared_module_args(self, Target: BuildTarget) -> list[str]
+ mesonbuild/linkers/linkers.py:861:5: note:      Subclass:
+ mesonbuild/linkers/linkers.py:861:5: note:          def get_std_shared_module_args(self, target: BuildTarget) -> list[str]
+ mesonbuild/compilers/swift.py:94:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/swift.py:94:5: note:      Superclass:
+ mesonbuild/compilers/swift.py:94:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/swift.py:94:5: note:      Subclass:
+ mesonbuild/compilers/swift.py:94:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/cuda.py:747:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/cuda.py:747:5: note:      Superclass:
+ mesonbuild/compilers/cuda.py:747:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/cuda.py:747:5: note:      Subclass:
+ mesonbuild/compilers/cuda.py:747:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/cs.py:51:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/cs.py:51:5: note:      Superclass:
+ mesonbuild/compilers/cs.py:51:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/cs.py:51:5: note:      Subclass:
+ mesonbuild/compilers/cs.py:51:5: note:          def get_output_args(self, fname: str) -> list[str]
+ mesonbuild/compilers/cs.py:82:5: error: Signature of "get_pch_name" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/cs.py:82:5: note:      Superclass:
+ mesonbuild/compilers/cs.py:82:5: note:          def get_pch_name(self, name: str) -> str
+ mesonbuild/compilers/cs.py:82:5: note:      Subclass:
+ mesonbuild/compilers/cs.py:82:5: note:          def get_pch_name(self, header_name: str) -> str
+ mesonbuild/compilers/c.py:577:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.mixins.clike.CLikeCompiler"  [override]
+ mesonbuild/compilers/c.py:577:5: note:      Superclass:
+ mesonbuild/compilers/c.py:577:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:577:5: note:      Subclass:
+ mesonbuild/compilers/c.py:577:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/c.py:577:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/c.py:577:5: note:      Superclass:
+ mesonbuild/compilers/c.py:577:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:577:5: note:      Subclass:
+ mesonbuild/compilers/c.py:577:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/c.py:624:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.mixins.clike.CLikeCompiler"  [override]
+ mesonbuild/compilers/c.py:624:5: note:      Superclass:
+ mesonbuild/compilers/c.py:624:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:624:5: note:      Subclass:
+ mesonbuild/compilers/c.py:624:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/c.py:624:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/c.py:624:5: note:      Superclass:
+ mesonbuild/compilers/c.py:624:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:624:5: note:      Subclass:
+ mesonbuild/compilers/c.py:624:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/c.py:669:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.mixins.clike.CLikeCompiler"  [override]
+ mesonbuild/compilers/c.py:669:5: note:      Superclass:
+ mesonbuild/compilers/c.py:669:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:669:5: note:      Subclass:
+ mesonbuild/compilers/c.py:669:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/compilers/c.py:669:5: error: Signature of "get_output_args" incompatible with supertype "mesonbuild.compilers.compilers.Compiler"  [override]
+ mesonbuild/compilers/c.py:669:5: note:      Superclass:
+ mesonbuild/compilers/c.py:669:5: note:          def get_output_args(self, outputname: str) -> list[str]
+ mesonbuild/compilers/c.py:669:5: note:      Subclass:
+ mesonbuild/compilers/c.py:669:5: note:          def get_output_args(self, target: str) -> list[str]
+ mesonbuild/ast/interpreter.py:338:5: error: Signature of "evaluate_dictstatement" incompatible with supertype "mesonbuild.interpreterbase.interpreterbase.InterpreterBase"  [override]
+ mesonbuild/ast/interpreter.py:338:5: note:      Superclass:
+ mesonbuild/ast/interpreter.py:338:5: note:          def evaluate_dictstatement(self, cur: DictNode) -> InterpreterObject
+ mesonbuild/ast/interpreter.py:338:5: note:      Subclass:
+ mesonbuild/ast/interpreter.py:338:5: note:          def evaluate_dictstatement(self, node: DictNode) -> None
+ mesonbuild/mintro.py:34:5: error: Signature of "default" incompatible with supertype "json.encoder.JSONEncoder"  [override]
+ mesonbuild/mintro.py:34:5: note:      Superclass:
+ mesonbuild/mintro.py:34:5: note:          def default(self, o: Any) -> Any
+ mesonbuild/mintro.py:34:5: note:      Subclass:
+ mesonbuild/mintro.py:34:5: note:          def default(self, obj: Any) -> Any
+ mesonbuild/dependencies/hdf5.py:138:5: error: Signature of "_sanitize_version" incompatible with supertype "mesonbuild.dependencies.configtool.ConfigToolDependency"  [override]
+ mesonbuild/dependencies/hdf5.py:138:5: note:      Superclass:
+ mesonbuild/dependencies/hdf5.py:138:5: note:          def _sanitize_version(self, version: str) -> str
+ mesonbuild/dependencies/hdf5.py:138:5: note:      Subclass:
+ mesonbuild/dependencies/hdf5.py:138:5: note:          def _sanitize_version(self, ver: str) -> str
+ mesonbuild/rewriter.py:266:5: error: Signature of "remove_regex" incompatible with supertype "MTypeBase"  [override]
+ mesonbuild/rewriter.py:266:5: note:      Superclass:
+ mesonbuild/rewriter.py:266:5: note:          def remove_regex(self, value: Any) -> None
+ mesonbuild/rewriter.py:266:5: note:      Subclass:
+ mesonbuild/rewriter.py:266:5: note:          def remove_regex(self, regex: str) -> None
+ mesonbuild/mtest.py:703:5: error: Signature of "log_subtest" incompatible with supertype "TestLogger"  [override]
+ mesonbuild/mtest.py:703:5: note:      Superclass:
+ mesonbuild/mtest.py:703:5: note:          def log_subtest(self, harness: TestHarness, test: TestRun, s: str, res: TestResult) -> None
+ mesonbuild/mtest.py:703:5: note:      Subclass:
+ mesonbuild/mtest.py:703:5: note:          def log_subtest(self, harness: TestHarness, test: TestRun, s: str, result: TestResult) -> None
+ mesonbuild/mtest.py:831:5: error: Signature of "log" incompatible with supertype "TestLogger"  [override]
+ mesonbuild/mtest.py:831:5: note:      Superclass:
+ mesonbuild/mtest.py:831:5: note:          def log(self, harness: TestHarness, result: TestRun) -> None
+ mesonbuild/mtest.py:831:5: note:      Subclass:
+ mesonbuild/mtest.py:831:5: note:          def log(self, harness: TestHarness, test: TestRun) -> None

starlette (https://github.com/encode/starlette)
+ tests/test_authentication.py:27: error: Signature of "authenticate" incompatible with supertype "starlette.authentication.AuthenticationBackend"  [override]
+ tests/test_authentication.py:27: note:      Superclass:
+ tests/test_authentication.py:27: note:          def authenticate(self, conn: HTTPConnection) -> Coroutine[Any, Any, tuple[AuthCredentials, BaseUser] | None]
+ tests/test_authentication.py:27: note:      Subclass:
+ tests/test_authentication.py:27: note:          def authenticate(self, request: HTTPConnection) -> Coroutine[Any, Any, tuple[AuthCredentials, SimpleUser] | None]

altair (https://github.com/vega/altair)
+ altair/expr/core.py:232: error: Signature of "__setattr__" incompatible with supertype "altair.utils.schemapi.SchemaBase"  [override]
+ altair/expr/core.py:232: note:      Superclass:
+ altair/expr/core.py:232: note:          def __setattr__(self, item: Any, val: Any) -> None
+ altair/expr/core.py:232: note:      Subclass:
+ altair/expr/core.py:232: note:          def __setattr__(self, attr: Any, val: Any) -> None

scrapy (https://github.com/scrapy/scrapy)
+ scrapy/pipelines/__init__.py:38: error: Signature of "_add_middleware" incompatible with supertype "scrapy.middleware.MiddlewareManager"  [override]
+ scrapy/pipelines/__init__.py:38: note:      Superclass:
+ scrapy/pipelines/__init__.py:38: note:          def _add_middleware(self, mw: Any) -> None
+ scrapy/pipelines/__init__.py:38: note:      Subclass:
+ scrapy/pipelines/__init__.py:38: note:          def _add_middleware(self, pipe: Any) -> None

schemathesis (https://github.com/schemathesis/schemathesis)
+ src/schemathesis/specs/openapi/schemas.py: note: In member "_get_operation_map" of class "OpenApiSchema":
+ src/schemathesis/specs/openapi/schemas.py:151: error: Signature of "_get_operation_map" incompatible with supertype "schemathesis.schemas.BaseSchema"  [override]
+ src/schemathesis/specs/openapi/schemas.py:151: note:      Superclass:
+ src/schemathesis/specs/openapi/schemas.py:151: note:          def _get_operation_map(self, key: str) -> APIOperationMap
+ src/schemathesis/specs/openapi/schemas.py:151: note:      Subclass:
+ src/schemathesis/specs/openapi/schemas.py:151: note:          def _get_operation_map(self, path: str) -> APIOperationMap

core (https://github.com/home-assistant/core)
+ homeassistant/components/lovelace/resources.py:153: error: Signature of "ws_list_item" incompatible with supertype "homeassistant.helpers.collection.StorageCollectionWebsocket"  [override]
+ homeassistant/components/lovelace/resources.py:153: note:      Superclass:
+ homeassistant/components/lovelace/resources.py:153: note:          def ws_list_item(self, hass: HomeAssistant, connection: ActiveConnection, msg: dict[Any, Any]) -> None
+ homeassistant/components/lovelace/resources.py:153: note:      Subclass:
+ homeassistant/components/lovelace/resources.py:153: note:          @staticmethod
+ homeassistant/components/lovelace/resources.py:153: note:          def ws_list_item(HomeAssistant, ActiveConnection, dict[str, Any], /) -> None
+ homeassistant/components/london_underground/config_flow.py:36: error: Signature of "async_get_options_flow" incompatible with supertype "homeassistant.config_entries.ConfigFlow"  [override]
+ homeassistant/components/london_underground/config_flow.py:36: note:      Superclass:
+ homeassistant/components/london_underground/config_flow.py:36: note:          @staticmethod
+ homeassistant/components/london_underground/config_flow.py:36: note:          def async_get_options_flow(config_entry: ConfigEntry[Any]) -> OptionsFlow
+ homeassistant/components/london_underground/config_flow.py:36: note:      Subclass:
+ homeassistant/components/london_underground/config_flow.py:36: note:          @staticmethod
+ homeassistant/components/london_underground/config_flow.py:36: note:          def async_get_options_flow(_: ConfigEntry[Any]) -> LondonUndergroundOptionsFlow
+ homeassistant/components/irm_kmi/config_flow.py:48: error: Signature of "async_get_options_flow" incompatible with supertype "homeassistant.config_entries.ConfigFlow"  [override]
+ homeassistant/components/irm_kmi/config_flow.py:48: note:      Superclass:
+ homeassistant/components/irm_kmi/config_flow.py:48: note:          @staticmethod
+ homeassistant/components/irm_kmi/config_flow.py:48: note:          def async_get_options_flow(config_entry: ConfigEntry[Any]) -> OptionsFlow
+ homeassistant/components/irm_kmi/config_flow.py:48: note:      Subclass:
+ homeassistant/components/irm_kmi/config_flow.py:48: note:          @staticmethod
+ homeassistant/components/irm_kmi/config_flow.py:48: note:          def async_get_options_flow(_config_entry: ConfigEntry[IrmKmiCoordinator]) -> OptionsFlow


... (truncated 2166 lines) ...```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants