You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes were detected when running on open source projects
attrs (https://github.com/python-attrs/attrs)
- tests/test_validators.py:1143:64: error[unresolved-attribute] Object of type `(Any, Attribute[Unknown | int], Unknown | int, /) -> Any` has no attribute `exc_types`+ tests/test_validators.py:1143:64: error[unresolved-attribute] Object of type `(Any, Attribute[Any], Any, /) -> Any` has no attribute `exc_types`
spack (https://github.com/spack/spack)
+ lib/spack/spack/binary_distribution.py:2681:18: warning[deprecated] The function `getcode` is deprecated: Deprecated since Python 3.9. Use `addinfourl.status` attribute instead.+ lib/spack/spack/binary_distribution.py:2836:18: warning[deprecated] The function `getcode` is deprecated: Deprecated since Python 3.9. Use `addinfourl.status` attribute instead.+ lib/spack/spack/oci/oci.py:228:14: warning[deprecated] The function `getcode` is deprecated: Deprecated since Python 3.9. Use `addinfourl.status` attribute instead.- lib/spack/spack/vendor/ruamel/yaml/comments.py:543:32: error[invalid-argument-type] Argument to function `__delitem__` is incorrect: Expected `SupportsIndex | slice[Any, Any, Any]`, found `Unknown | None`+ lib/spack/spack/vendor/ruamel/yaml/comments.py:543:32: error[invalid-argument-type] Argument to function `__delitem__` is incorrect: Expected `SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None]`, found `Unknown | None`- Found 4337 diagnostics+ Found 4340 diagnostics
beartype (https://github.com/beartype/beartype)
- beartype/_util/kind/sequence/utilseqmake.py:44:17: error[invalid-assignment] Object of type `Sequence[Unknown]` is not assignable to `list[Unknown]`- Found 515 diagnostics+ Found 514 diagnostics
werkzeug (https://github.com/pallets/werkzeug)
+ src/werkzeug/datastructures/etag.py:102:49: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive+ src/werkzeug/datastructures/structures.py:193:72: warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive+ src/werkzeug/sansio/response.py:612:54: error[unresolved-attribute] Object of type `object` has no attribute `to_header`- src/werkzeug/sansio/response.py:610:25: error[invalid-argument-type] Method `__getitem__` of type `bound method WWWAuthenticate.__getitem__(key: str) -> str | None` cannot be called with key of type `slice[Literal[1], None, None]` on object of type `WWWAuthenticate`- src/werkzeug/sansio/response.py:610:25: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> object, (s: slice[Never, Never, Never], /) -> Top[list[Unknown]]]` cannot be called with key of type `slice[Literal[1], None, None]` on object of type `Top[list[Unknown]]`- Found 411 diagnostics+ Found 412 diagnostics
aiortc (https://github.com/aiortc/aiortc)
- src/aiortc/rtcpeerconnection.py:1237:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> MediaDescription, (s: slice[Any, Any, Any], /) -> list[MediaDescription]]` cannot be called with key of type `None` on object of type `list[MediaDescription]`+ src/aiortc/rtcpeerconnection.py:1237:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> MediaDescription, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[MediaDescription]]` cannot be called with key of type `None` on object of type `list[MediaDescription]`
scrapy (https://github.com/scrapy/scrapy)
- tests/test_feedexport.py:1777:25: error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex, /) -> int, (key: slice[Any, Any, Any], /) -> bytes]` cannot be called with key of type `Literal["format"]` on object of type `bytes`+ tests/test_feedexport.py:1777:25: error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex, /) -> int, (key: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> bytes]` cannot be called with key of type `Literal["format"]` on object of type `bytes`
paasta (https://github.com/yelp/paasta)
- paasta_tools/contrib/bounce_log_latency_parser.py:48:54: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`+ paasta_tools/contrib/bounce_log_latency_parser.py:48:54: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`- paasta_tools/contrib/bounce_log_latency_parser.py:49:43: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`+ paasta_tools/contrib/bounce_log_latency_parser.py:49:43: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`- paasta_tools/contrib/bounce_log_latency_parser.py:50:43: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[Any, Any, Any], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`+ paasta_tools/contrib/bounce_log_latency_parser.py:50:43: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Unknown, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Unknown]]` cannot be called with key of type `float` on object of type `list[Unknown]`
ignite (https://github.com/pytorch/ignite)
- tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_accuracy.py:317:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_accuracy.py:375:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_accuracy.py:376:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_accuracy.py:444:33: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_classification_report.py:28:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_classification_report.py:102:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_classification_report.py:103:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_epoch_metric.py:171:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_fbeta.py:135:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_average_precision.py:189:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_average_precision.py:190:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:68:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:69:17: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:90:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_mean_pairwise_distance.py:91:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_metrics_lambda.py:440:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_metrics_lambda.py:441:28: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_metrics_lambda.py:489:13: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`+ tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[int | float]`- tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`+ tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[str]`- tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`+ tests/ignite/metrics/test_precision.py:351:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], slice[None, None, None]]` on object of type `list[Any]`- tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_precision.py:403:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[str]`- tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[Any, Any, Any], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`+ tests/ignite/metrics/test_precision.py:404:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> Any, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[Any]]` cannot be called with key of type `tuple[slice[Any, Any, Any], ellipsis]` on object of type `list[Any]`- tests/ignite/metrics/test_psnr.py:103:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[Any, Any, Any], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0], ellipsis]` on object of type `list[int | float]`+ tests/ignite/metrics/test_psnr.py:103:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> int | float, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[int | float]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0], ellipsis]` on object of type `list[int | float]`- tests/ignite/metrics/test_psnr.py:103:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[Any, Any, Any], /) -> list[str]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0], ellipsis]` on object of type `list[str]`+ tests/ignite/metrics/test_psnr.py:103:21: error[invalid-argument-type] Method `__getitem__` of type `Overload[(i: SupportsIndex, /) -> str, (s: slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[str]]` cannot be called with key of type `tuple[slice[None, None, None], Literal[0], ellipsis]` on object of type
... (truncated 1164 lines) ...
Memory usage changes were detected when running on open source projects
Alex Waygood approved these changes 10 minutes ago
Does your approval imply that you expected this kind of effect on the ecosystem? (I was planning to take a look at the impact still, but would skip that if you expected those changes based on reviewing the corresponding typeshed PRs…)
I skimmed through it (on my phone) — it looks to me like making Container contravariant for us has a bigger impact than for other type checkers, but that is the kind of ecosystem diff I'd expect from that change. It might have more of an impact for us because we don't support solving type variables in implicit subtypes of generic protocols yet, only explicit subclasses of generic protocols.
I am on holiday and on my phone though, so i can't say i gave the ecosystem results a thorough review 😆 but if there is a bug in either ty or typeshed, i think I'd still probably advocate landing this as-is and then investigating as a followup
The first change has a favorable ecosystem impact as far as I can tell. The second change should not result in new diagnostics, if I understand correctly. The previous signature of (async)contextmanager was deprecated and a new overload was added. So it's a bit interesting to me that we see new diagnostics now, but they all seem correct.
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
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.
Close and reopen this PR to trigger CI