Skip to content

[ty] Narrow bound method overloads by receiver#24707

Draft
charliermarsh wants to merge 2 commits intomainfrom
charlie/bind-selfs
Draft

[ty] Narrow bound method overloads by receiver#24707
charliermarsh wants to merge 2 commits intomainfrom
charlie/bind-selfs

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

@charliermarsh charliermarsh commented Apr 18, 2026

Summary

Given:

from typing import overload

class Base:
    @overload
    def convert(self: "Base", x: int) -> int: ...

    @overload
    def convert(self: "Child", x: str) -> str: ...

    def convert(self, x: int | str) -> int | str:
        return x

class Child(Base): ...

On main, we treat Base().convert as if both overloads are still possible, including the overload that requires self: "Child".

After this PR:

reveal_type(Base().convert)
# bound method Base.convert(x: int) -> int

reveal_type(Child().convert)
# Overload[(x: int) -> int, (x: str) -> str]

So Base().convert("x") is no longer considered valid via narrowing on the actual receiver type.

@astral-sh-bot astral-sh-bot Bot added the ty Multi-file analysis & type inference label Apr 18, 2026
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 18, 2026

Typing conformance results

No changes detected ✅

Current numbers
The percentage of diagnostics emitted that were expected errors held steady at 87.94%. The percentage of expected errors that received a diagnostic held steady at 83.36%. The number of fully passing files held steady at 79/133.

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 18, 2026

Memory usage report

Summary

Project Old New Diff Outcome
prefect 702.82MB 703.83MB +0.14% (1.01MB)
sphinx 258.60MB 258.95MB +0.13% (351.02kB)
trio 116.46MB 116.55MB +0.08% (91.84kB)
flake8 47.68MB 47.71MB +0.06% (27.39kB)

Significant changes

Click to expand detailed breakdown

prefect

Name Old New Diff Outcome
BoundMethodType<'db>::bound_signatures_ 0.00B 633.41kB +633.41kB (new)
self_type_assignable_to 0.00B 337.85kB +337.85kB (new)
Type<'db>::apply_specialization_ 3.68MB 4.01MB +8.93% (336.88kB)
BoundMethodType<'db>::into_callable_type_ 319.59kB 216.95kB -32.12% (102.64kB)
infer_scope_types_impl 54.66MB 54.60MB -0.11% (62.96kB)
infer_definition_types 89.94MB 89.88MB -0.06% (56.29kB)
infer_expression_types_impl 62.72MB 62.68MB -0.07% (47.73kB)
Type<'db>::try_call_dunder_get_ 10.58MB 10.56MB -0.18% (19.36kB)
CallableType 2.15MB 2.14MB -0.46% (10.05kB)
StaticClassLiteral<'db>::implicit_attribute_inner_ 10.06MB 10.07MB +0.09% (9.58kB)
infer_expression_type_impl 13.40MB 13.41MB +0.07% (8.97kB)
is_redundant_with_impl 2.00MB 2.00MB -0.33% (6.76kB)
self_type_assignable_to::interned_arguments 0.00B 5.81kB +5.81kB (new)
GenericAlias<'db>::variance_of_ 579.59kB 584.98kB +0.93% (5.39kB)
all_narrowing_constraints_for_expression 7.21MB 7.21MB +0.05% (4.03kB)
... 32 more

sphinx

Name Old New Diff Outcome
BoundMethodType<'db>::bound_signatures_ 0.00B 572.08kB +572.08kB (new)
BoundMethodType<'db>::into_callable_type_ 277.68kB 172.12kB -38.01% (105.55kB)
infer_expression_types_impl 20.61MB 20.56MB -0.21% (44.55kB)
infer_definition_types 23.56MB 23.53MB -0.13% (31.69kB)
infer_scope_types_impl 15.36MB 15.33MB -0.17% (26.27kB)
self_type_assignable_to 0.00B 4.24kB +4.24kB (new)
CallableType 1.12MB 1.11MB -0.29% (3.30kB)
Type<'db>::try_call_dunder_get_ 4.86MB 4.86MB -0.06% (2.87kB)
is_redundant_with_impl 930.76kB 928.31kB -0.26% (2.45kB)
check_file_impl 4.69MB 4.69MB -0.05% (2.44kB)
infer_expression_type_impl 2.90MB 2.90MB -0.06% (1.92kB)
class_mro_literals 316.00B 2.20kB +611.39% (1.89kB)
self_type_assignable_to::interned_arguments 0.00B 1.50kB +1.50kB (new)
StaticClassLiteral<'db>::implicit_attribute_inner_ 2.36MB 2.36MB -0.05% (1.15kB)
Type<'db>::member_lookup_with_policy_ 6.84MB 6.84MB -0.02% (1.11kB)
... 28 more

trio

Name Old New Diff Outcome
BoundMethodType<'db>::bound_signatures_ 0.00B 138.83kB +138.83kB (new)
BoundMethodType<'db>::into_callable_type_ 73.05kB 44.51kB -39.08% (28.55kB)
infer_expression_types_impl 6.98MB 6.97MB -0.14% (10.32kB)
infer_definition_types 7.55MB 7.55MB -0.05% (3.84kB)
infer_scope_types_impl 4.71MB 4.71MB -0.04% (2.10kB)
Type<'db>::try_call_dunder_get_ 1.34MB 1.34MB -0.15% (2.03kB)
ClassType<'db>::into_callable_ 7.78kB 5.78kB -25.75% (2.00kB)
self_type_assignable_to 0.00B 1.66kB +1.66kB (new)
is_redundant_with_impl 248.50kB 247.32kB -0.47% (1.17kB)
self_type_assignable_to::interned_arguments 0.00B 1.03kB +1.03kB (new)
class_mro_literals 476.00B 1.29kB +177.31% (844.00B)
infer_expression_type_impl 1.30MB 1.30MB -0.04% (576.00B)
cached_protocol_interface 121.90kB 122.34kB +0.37% (456.00B)
loop_header_reachability 130.43kB 130.10kB -0.25% (336.00B)
Type<'db>::apply_specialization_ 704.68kB 704.99kB +0.04% (320.00B)
... 12 more

flake8

Name Old New Diff Outcome
BoundMethodType<'db>::bound_signatures_ 0.00B 45.93kB +45.93kB (new)
BoundMethodType<'db>::into_callable_type_ 27.19kB 13.71kB -49.57% (13.48kB)
infer_definition_types 1.86MB 1.85MB -0.22% (4.15kB)
infer_expression_types_impl 1.03MB 1.03MB -0.23% (2.43kB)
self_type_assignable_to 0.00B 1.34kB +1.34kB (new)
infer_scope_types_impl 983.70kB 982.66kB -0.11% (1.04kB)
class_mro_literals 0.00B 1.04kB +1.04kB (new)
Type<'db>::try_call_dunder_get_ 367.09kB 366.37kB -0.20% (744.00B)
CallableType 168.82kB 168.19kB -0.37% (648.00B)
self_type_assignable_to::interned_arguments 0.00B 576.00B +576.00B (new)
Type<'db>::apply_specialization_ 208.81kB 209.20kB +0.19% (400.00B)
Type<'db>::apply_specialization_::interned_arguments 199.38kB 199.77kB +0.20% (400.00B)
ClassType<'db>::nearest_disjoint_base_ 3.01kB 3.39kB +12.45% (384.00B)
self_type_overlaps 0.00B 312.00B +312.00B (new)
UnionType<'db>::from_two_elements_::interned_arguments 15.47kB 15.21kB -1.67% (264.00B)
... 4 more

@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 18, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
invalid-argument-type 0 10 249
type-assertion-failure 0 83 79
unsupported-operator 0 82 0
no-matching-overload 0 63 0
invalid-method-override 2 35 0
unused-ignore-comment 7 0 0
invalid-assignment 0 1 1
invalid-return-type 0 2 0
Total 9 276 329

Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.

Showing a random sample of 164 of 614 changes. See the HTML report for the full diff.

Raw diff sample (164 of 614 changes)
apprise (https://github.com/caronc/apprise)
- apprise/plugins/notificationapi.py:828:17 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["email"]` on object of type `str`
+ apprise/plugins/notificationapi.py:828:17 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["email"]` on object of type `str`
- apprise/plugins/whatsapp.py:380:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["components"]` on object of type `str`
+ apprise/plugins/whatsapp.py:380:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["components"]` on object of type `str`

build (https://github.com/pypa/build)
- tests/test_integration.py:150:17 error[no-matching-overload] No overload of constructor `filter.__new__` matches arguments

cloud-init (https://github.com/canonical/cloud-init)
- cloudinit/netinfo.py:596:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["ip"]` on object of type `str`
+ cloudinit/netinfo.py:596:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["ip"]` on object of type `str`
- cloudinit/sources/helpers/openstack.py:300:27 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["random_seed"]` on object of type `str`
+ cloudinit/sources/helpers/openstack.py:300:27 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["random_seed"]` on object of type `str`
- tests/unittests/helpers.py:331:9 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["network"]` on object of type `str`
+ tests/unittests/helpers.py:331:9 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["network"]` on object of type `str`
- tests/unittests/sources/test_cloudsigma.py:70:13 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["ssh_public_key"]` on object of type `str`
+ tests/unittests/sources/test_cloudsigma.py:70:13 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["ssh_public_key"]` on object of type `str`
- tests/unittests/sources/test_cloudsigma.py:90:35 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["cloudinit-user-data"]` on object of type `str`
+ tests/unittests/sources/test_cloudsigma.py:90:35 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["cloudinit-user-data"]` on object of type `str`
- tests/unittests/sources/test_configdrive.py:645:13 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["mykey"]` on object of type `str`
+ tests/unittests/sources/test_configdrive.py:645:13 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["mykey"]` on object of type `str`
- tests/unittests/test_ds_identify.py:1313:35 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["usr/lib/vmware-tools/plugins/vmsvc/libdeployPkgPlugin.so"]` on object of type `str`
+ tests/unittests/test_ds_identify.py:1313:35 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["usr/lib/vmware-tools/plugins/vmsvc/libdeployPkgPlugin.so"]` on object of type `str`

core (https://github.com/home-assistant/core)
- homeassistant/components/forked_daapd/media_player.py:415:32 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["volume"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:415:32 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["volume"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:423:18 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["id"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:423:18 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["id"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:504:16 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["title"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:504:16 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["title"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:509:16 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["artist"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:509:16 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["artist"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:516:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["data_kind"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:516:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["data_kind"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:517:20 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["title"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:517:20 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["title"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:747:13 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["length_ms"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:747:13 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["length_ms"]` on object of type `str`
- homeassistant/components/forked_daapd/media_player.py:767:27 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["uri"]` on object of type `str`
+ homeassistant/components/forked_daapd/media_player.py:767:27 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["uri"]` on object of type `str`
- homeassistant/helpers/storage.py:460:30 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["data"]` on object of type `str`
+ homeassistant/helpers/storage.py:460:30 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["data"]` on object of type `str`

cwltool (https://github.com/common-workflow-language/cwltool)
- mypy-stubs/rdflib/namespace/__init__.pyi:38:9 error[invalid-method-override] Invalid override of method `__getitem__`: Definition is incompatible with `str.__getitem__`
- cwltool/checker.py:115:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["type"]` on object of type `str`
+ cwltool/checker.py:115:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- cwltool/checker.py:121:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["type"]` on object of type `str`
+ cwltool/checker.py:121:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- cwltool/checker.py:121:40 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["type"]` on object of type `str`
+ cwltool/checker.py:121:40 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- cwltool/main.py:310:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["items"]` on object of type `str`
+ cwltool/main.py:310:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["items"]` on object of type `str`
- cwltool/main.py:310:58 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["items"]` on object of type `str`
+ cwltool/main.py:310:58 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["items"]` on object of type `str`
- cwltool/main.py:318:16 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["type"]` on object of type `str`
+ cwltool/main.py:318:16 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["type"]` on object of type `str`
- cwltool/pack.py:30:38 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["run"]` on object of type `str`
+ cwltool/pack.py:30:38 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["run"]` on object of type `str`
- cwltool/pack.py:32:26 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["run"]` on object of type `str`
+ cwltool/pack.py:32:26 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["run"]` on object of type `str`
- cwltool/pack.py:48:35 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["id"]` on object of type `str`
+ cwltool/pack.py:48:35 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["id"]` on object of type `str`
- cwltool/process.py:1069:58 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["requirements"]` on object of type `str`
+ cwltool/process.py:1069:58 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["requirements"]` on object of type `str`
- cwltool/process.py:1071:37 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["requirements"]` on object of type `str`
+ cwltool/process.py:1071:37 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["requirements"]` on object of type `str`
- tests/test_examples.py:363:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["checksum"]` on object of type `str`
+ tests/test_examples.py:363:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["checksum"]` on object of type `str`

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- tests/contrib/litellm/test_litellm_llmobs.py:127:36 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["description"]` on object of type `str`
+ tests/contrib/litellm/test_litellm_llmobs.py:127:36 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["description"]` on object of type `str`
- tests/contrib/litellm/test_litellm_llmobs.py:128:31 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["parameters"]` on object of type `str`
+ tests/contrib/litellm/test_litellm_llmobs.py:128:31 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parameters"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:251:33 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["parts"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:251:33 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parts"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:251:33 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["text"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:251:33 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["text"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:386:46 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["location"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:386:46 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["location"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:698:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["parts"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:698:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parts"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:811:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["text"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:811:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["text"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:872:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["parts"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:872:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["parts"]` on object of type `str`
- tests/contrib/vertexai/test_vertexai_llmobs.py:908:25 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["text"]` on object of type `str`
+ tests/contrib/vertexai/test_vertexai_llmobs.py:908:25 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["text"]` on object of type `str`
- tests/llmobs/test_experiments.py:3727:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["tag_operations"]` on object of type `str`
+ tests/llmobs/test_experiments.py:3727:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["tag_operations"]` on object of type `str`
- tests/llmobs/test_experiments.py:3745:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["tags"]` on object of type `str`
+ tests/llmobs/test_experiments.py:3745:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["tags"]` on object of type `str`

django-stubs (https://github.com/typeddjango/django-stubs)
- django-stubs/core/files/base.pyi:58:9 error[invalid-method-override] Invalid override of method `write`: Definition is incompatible with `IO.write`

dulwich (https://github.com/dulwich/dulwich)
- dulwich/cli.py:801:9 error[invalid-method-override] Invalid override of method `write`: Definition is incompatible with `IO.write`

freqtrade (https://github.com/freqtrade/freqtrade)
- freqtrade/data/btanalysis/trade_parallelism.py:121:46 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["order_filled_timestamp"]` on object of type `str`
+ freqtrade/data/btanalysis/trade_parallelism.py:121:46 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["order_filled_timestamp"]` on object of type `str`
- freqtrade/data/btanalysis/trade_parallelism.py:125:49 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["order_filled_timestamp"]` on object of type `str`
+ freqtrade/data/btanalysis/trade_parallelism.py:125:49 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["order_filled_timestamp"]` on object of type `str`
- freqtrade/data/btanalysis/trade_parallelism.py:126:47 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["amount"]` on object of type `str`
+ freqtrade/data/btanalysis/trade_parallelism.py:126:47 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["amount"]` on object of type `str`
- freqtrade/rpc/telegram.py:408:44 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["open"]` on object of type `str`
+ freqtrade/rpc/telegram.py:408:44 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["open"]` on object of type `str`
- freqtrade/templates/FreqaiExampleStrategy.py:290:24 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["close"]` on object of type `str`
+ freqtrade/templates/FreqaiExampleStrategy.py:290:24 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["close"]` on object of type `str`

graphql-core (https://github.com/graphql-python/graphql-core)
- src/graphql/validation/rules/possible_type_extensions.py:48:29 error[invalid-assignment] Object of type `str | bytes` is not assignable to `str | None`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
- bson/son.py:135:9 error[invalid-method-override] Invalid override of method `setdefault`: Definition is incompatible with `MutableMapping.setdefault`

mypy (https://github.com/python/mypy)
- mypy/typeshed/stdlib/codecs.pyi:302:9 error[invalid-method-override] Invalid override of method `writelines`: Definition is incompatible with `IO.writelines`
- mypy/typeshed/stdlib/weakref.pyi:181:9 error[invalid-method-override] Invalid override of method `update`: Definition is incompatible with `MutableMapping.update`

pandas (https://github.com/pandas-dev/pandas)
- pandas/tests/io/json/test_json_table_schema.py:677:19 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["name"]` on object of type `str`
+ pandas/tests/io/json/test_json_table_schema.py:677:19 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["name"]` on object of type `str`

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
+ pandas-stubs/core/indexes/timedeltas.pyi:121:75 warning[unused-ignore-comment] Unused `ty: ignore` directive
+ pandas-stubs/core/indexes/timedeltas.pyi:147:77 warning[unused-ignore-comment] Unused `ty: ignore` directive
- tests/indexes/bool/test_add.py:56:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
+ tests/indexes/bool/test_add.py:56:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float]`
- tests/indexes/bool/test_add.py:57:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float | complex]`
+ tests/indexes/bool/test_add.py:57:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float | complex]`
- tests/indexes/bool/test_mul.py:39:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Index[bool]` and `Literal[True]`
- tests/indexes/bool/test_mul.py:47:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal[True]` and `Index[bool]`
- tests/indexes/complex/test_add.py:55:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float | complex]`
+ tests/indexes/complex/test_add.py:55:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float | complex]`
- tests/indexes/complex/test_add.py:58:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float | complex]`
+ tests/indexes/complex/test_add.py:58:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float | complex]`
- tests/indexes/float/test_add.py:57:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
+ tests/indexes/float/test_add.py:57:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float]`
- tests/indexes/int/test_add.py:55:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int]`
+ tests/indexes/int/test_add.py:55:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int]`
- tests/indexes/int/test_add.py:57:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[int | float]`
+ tests/indexes/int/test_add.py:57:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[int | float]`
- tests/indexes/int/test_floordiv.py:36:11 error[type-assertion-failure] Type `Index[int | float]` does not match asserted type `Index[int]`
- tests/indexes/int/test_floordiv.py:44:11 error[type-assertion-failure] Type `Index[int | float]` does not match asserted type `Index[int]`
- tests/indexes/str/test_add.py:65:11 error[type-assertion-failure] Type `Index[Unknown]` does not match asserted type `Index[str]`
+ tests/indexes/str/test_add.py:65:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Index[str]`
- tests/indexes/str/test_mul.py:41:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Index[str]` and `Literal[True]`
- tests/indexes/str/test_mul.py:44:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Index[str]` and `float`
- tests/indexes/str/test_mul.py:51:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal[1]` and `Index[str]`
- tests/indexes/str/test_mul.py:54:15 error[unsupported-operator] Operator `*` is not supported between objects of type `complex` and `Index[str]`
- tests/indexes/str/test_mul.py:67:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Index[str]` and `list[int]`
- tests/indexes/str/test_mul.py:72:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Index[str]` and `list[timedelta]`
- tests/indexes/str/test_mul.py:75:15 error[unsupported-operator] Operator `*` is not supported between objects of type `list[bool]` and `Index[str]`
- tests/indexes/str/test_mul.py:81:15 error[unsupported-operator] Operator `*` is not supported between objects of type `list[timedelta]` and `Index[str]`
- tests/series/bool/test_add.py:21:23 error[unsupported-operator] Operator `+` is not supported between objects of type `Series[bool]` and `Literal[True]`
- tests/series/bool/test_add.py:31:23 error[no-matching-overload] No overload of bound method `Series.add` matches arguments
- tests/series/bool/test_add.py:48:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_add.py:63:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_add.py:78:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[bool]`
+ tests/series/bool/test_add.py:78:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_add.py:79:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int]`
+ tests/series/bool/test_add.py:79:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int]`
- tests/series/bool/test_add.py:95:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[bool]`
+ tests/series/bool/test_add.py:95:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_add.py:96:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int]`
+ tests/series/bool/test_add.py:96:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int]`
- tests/series/bool/test_add.py:100:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[bool]`
+ tests/series/bool/test_add.py:100:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_mul.py:48:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal[True]` and `Series[bool]`
- tests/series/bool/test_mul.py:56:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_mul.py:64:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[bool]`
- tests/series/bool/test_mul.py:64:23 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/complex/test_add.py:91:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/complex/test_add.py:91:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float | complex]`
- tests/series/complex/test_add.py:93:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/complex/test_add.py:93:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float | complex]`
- tests/series/complex/test_add.py:115:9 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/complex/test_add.py:115:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float | complex]`
- tests/series/complex/test_mul.py:174:9 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/complex/test_mul.py:174:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float | complex]`
- tests/series/float/test_add.py:80:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
+ tests/series/float/test_add.py:80:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float]`
- tests/series/float/test_add.py:100:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
+ tests/series/float/test_add.py:100:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float]`
- tests/series/int/test_add.py:79:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int]`
+ tests/series/int/test_add.py:79:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int]`
- tests/series/int/test_add.py:80:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float]`
+ tests/series/int/test_add.py:80:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float]`
- tests/series/int/test_add.py:104:9 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[int | float | complex]`
+ tests/series/int/test_add.py:104:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float | complex]`
- tests/series/int/test_floordiv.py:36:11 error[type-assertion-failure] Type `Series[int | float]` does not match asserted type `Series[int]`
- tests/series/str/test_add.py:32:23 error[unsupported-operator] Operator `+` is not supported between objects of type `Series[str]` and `Literal["right"]`
- tests/series/str/test_add.py:40:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_add.py:81:15 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_add.py:102:9 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Never`
+ tests/series/str/test_add.py:102:9 error[type-assertion-failure] Type `Unknown` does not match asserted type `Never`
- tests/series/str/test_add.py:117:11 error[type-assertion-failure] Type `Series[Unknown]` does not match asserted type `Series[str]`
+ tests/series/str/test_add.py:117:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_mul.py:51:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_mul.py:60:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_mul.py:69:23 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/str/test_mul.py:72:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/str/test_mul.py:103:23 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/str/test_mul.py:106:9 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/str/test_mul.py:111:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/str/test_mul.py:112:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[str]`
- tests/series/str/test_mul.py:115:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/str/test_mul.py:117:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/str/test_mul.py:193:15 error[unsupported-operator] Operator `*` is not supported between objects of type `DatetimeIndex` and `Series[str]`
- tests/series/timedelta/test_floordiv.py:51:23 error[unsupported-operator] Operator `//` is not supported between objects of type `timedelta` and `Series[Timedelta]`
- tests/series/timedelta/test_floordiv.py:68:11 error[type-assertion-failure] Type `Series[Timedelta]` does not match asserted type `Series[int]`
- tests/series/timedelta/test_floordiv.py:196:11 error[type-assertion-failure] Type `Series[Timedelta]` does not match asserted type `Series[int]`
- tests/series/timedelta/test_mul.py:36:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Series[Timedelta]` and `float`
- tests/series/timedelta/test_mul.py:41:15 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal[True]` and `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:42:23 error[unsupported-operator] Operator `*` is not supported between objects of type `Literal[1]` and `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:48:9 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/timedelta/test_mul.py:50:23 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/timedelta/test_mul.py:52:9 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/timedelta/test_mul.py:55:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/timedelta/test_mul.py:56:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:59:9 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/timedelta/test_mul.py:68:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:75:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:76:23 error[unsupported-operator] Operator `*` is not supported between objects of type `list[int | float]` and `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:85:9 error[no-matching-overload] No overload of bound method `Series.mul` matches arguments
- tests/series/timedelta/test_mul.py:89:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Timedelta]`
- tests/series/timedelta/test_mul.py:90:23 error[no-matching-overload] No overload of bound method `Series.rmul` matches arguments
- tests/series/timedelta/test_mul.py:122:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[Timedelta]`
- tests/series/timedelta/test_truediv.py:50:23 error[unsupported-operator] Operator `/` is not supported between objects of type `timedelta` and `Series[Timedelta]`
- tests/series/timedelta/test_truediv.py:72:11 error[type-assertion-failure] Type `Series[Timedelta]` does not match asserted type `Series[int | float]`
- tests/series/timedelta/test_truediv.py:80:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float]`
- tests/series/timedelta/test_truediv.py:226:11 error[type-assertion-failure] Type `Series[Timedelta]` does not match asserted type `Series[int | float]`
- tests/series/timedelta/test_truediv.py:234:11 error[type-assertion-failure] Type `Series[Timedelta]` does not match asserted type `Series[int | float]`
- tests/series/timedelta/test_truediv.py:242:11 error[type-assertion-failure] Type `Unknown` does not match asserted type `Series[int | float]`

pandera (https://github.com/pandera-dev/pandera)
- pandera/api/pandas/model.py:271:17 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["name"]` on object of type `str`
+ pandera/api/pandas/model.py:271:17 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["name"]` on object of type `str`

pip (https://github.com/pypa/pip)
- src/pip/_vendor/rich/_null_file.py:59:9 error[invalid-method-override] Invalid override of method `write`: Definition is incompatible with `IO.write`
- src/pip/_vendor/urllib3/_collections.py:275:9 error[invalid-method-override] Invalid override of method `setdefault`: Definition is incompatible with `MutableMapping.setdefault`

prefect (https://github.com/PrefectHQ/prefect)
- src/integrations/prefect-dbt/prefect_dbt/cloud/jobs.py:626:31 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["results"]` on object of type `str`
+ src/integrations/prefect-dbt/prefect_dbt/cloud/jobs.py:626:31 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["results"]` on object of type `str`

pyodide (https://github.com/pyodide/pyodide)
- src/py/_pyodide/_core_docs.py:1191:9 error[invalid-method-override] Invalid override of method `update`: Definition is incompatible with `MutableMapping.update`

rich (https://github.com/Textualize/rich)
- rich/_null_file.py:59:9 error[invalid-method-override] Invalid override of method `write`: Definition is incompatible with `IO.write`

schema_salad (https://github.com/common-workflow-language/schema_salad)
- schema_salad/jsonld_context.py:211:30 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `str` on object of type `str`
+ schema_salad/jsonld_context.py:211:30 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `str` on object of type `str`
- schema_salad/schema.py:543:56 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["name"]` on object of type `str`
+ schema_salad/schema.py:543:56 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["name"]` on object of type `str`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)
- src/scikit_build_core/settings/skbuild_schema.py:65:5 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["generate"]` on object of type `str`
+ src/scikit_build_core/settings/skbuild_schema.py:65:5 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["generate"]` on object of type `str`
- src/scikit_build_core/settings/skbuild_schema.py:81:5 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["metadata"]` on object of type `str`
+ src/scikit_build_core/settings/skbuild_schema.py:81:5 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["metadata"]` on object of type `str`

scipy (https://github.com/scipy/scipy)
- scipy/optimize/tests/test__shgo.py:1225:12 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `Literal["catol"]` on object of type `str`
+ scipy/optimize/tests/test__shgo.py:1225:12 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `Literal["catol"]` on object of type `str`

scipy-stubs (https://github.com/scipy/scipy-stubs)
+ scipy-stubs/sparse/_dok.pyi:157:9 error[invalid-method-override] Invalid override of method `fromkeys`: Definition is incompatible with `dict.fromkeys`
+ scipy-stubs/sparse/_dok.pyi:739:185 error[unused-ignore-comment] Unused `ty: ignore` directive

spack (https://github.com/spack/spack)
- lib/spack/spack/vendor/markupsafe/__init__.py:198:9 error[invalid-method-override] Invalid override of method `rpartition`: Definition is incompatible with `str.rpartition`

sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/util/matching.py:112:12 error[invalid-return-type] Return type does not match returned value: expected `list[str]`, found `list[_T@filter]`

sympy (https://github.com/sympy/sympy)
- sympy/printing/aesaracode.py:219:16 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> LiteralString, (key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str]` cannot be called with key of type `tuple[str, str]` on object of type `str`
+ sympy/printing/aesaracode.py:219:16 error[invalid-argument-type] Method `__getitem__` of type `bound method str.__getitem__(key: SupportsIndex | slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> str` cannot be called with key of type `tuple[str, str]` on object of type `str`
- sympy/utilities/_compilation/runners.py:128:42 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`
- sympy/utilities/_compilation/runners.py:130:30 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `(str | Buffer, /) -> Match[str] | None | Match[bytes]`, found `Overload[(string: str, pos: int = 0, endpos: int = ...) -> Match[str] | None, (string: Buffer, pos: int = 0, endpos: int = ...) -> Match[bytes] | None, (string: str, pos: int = 0, endpos: int = ...) -> Match[str] | None]`
+ sympy/utilities/_compilation/runners.py:130:43 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `Iterable[str]`, found `Unknown | None`
- sympy/utilities/_compilation/runners.py:130:43 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`
- sympy/utilities/_compilation/runners.py:138:45 error[invalid-argument-type] Argument to constructor `map.__new__` is incorrect: Expected `Iterable[str | Buffer]`, found `Unknown | None`

urllib3 (https://github.com/urllib3/urllib3)
- src/urllib3/_collections.py:275:9 error[invalid-method-override] Invalid override of method `setdefault`: Definition is incompatible with `MutableMapping.setdefault`

xarray (https://github.com/pydata/xarray)
- xarray/core/indexing.py:406:19 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]], (key: str, /) -> ndarray[tuple[object, ...], dtype[Any]], (key: list[str], /) -> ndarray[tuple[object, ...], Unknown]]` cannot be called with key of type `int` on object of type `ndarray[tuple[object, ...], dtype[object]]`
+ xarray/core/indexing.py:406:19 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]]]` cannot be called with key of type `integer[Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`
- xarray/core/indexing.py:406:19 error[invalid-argument-type] Method `__getitem__` of type `Overload[(key: ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]] | tuple[ndarray[tuple[Any, ...], dtype[integer[Any] | numpy.bool[builtins.bool]]], ...], /) -> ndarray[tuple[Any, ...], dtype[object]], (key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any, (key: SupportsIndex | slice[Any, Any, Any] | EllipsisType | ... omitted 5 union elements, /) -> ndarray[tuple[Any, ...], dtype[object]], (key: str, /) -> ndarray[tuple[object, ...], dtype[Any]], (key: list[str], /) -> ndarray[tuple[object, ...], Unknown]]` cannot be called with key of type `slice[Any, Any, Any]` on object of type `ndarray[tuple[object, ...], dtype[object]]`

Full report with detailed diff (timing results)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 18, 2026

Merging this PR will improve performance by 19.83%

⚡ 3 improved benchmarks
✅ 50 untouched benchmarks
⏩ 60 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime static_frame 21.6 s 20.6 s +4.93%
WallTime pandas 67.7 s 64.6 s +4.89%
WallTime colour_science 50.3 s 41.9 s +19.83%

Comparing charlie/bind-selfs (c77ed0e) with main (810cab3)

Open in CodSpeed

Footnotes

  1. 60 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@charliermarsh charliermarsh added the bug Something isn't working label Apr 19, 2026
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot Bot commented Apr 19, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@charliermarsh charliermarsh force-pushed the charlie/bind-selfs branch 5 times, most recently from 1d57f74 to fd58449 Compare April 20, 2026 20:31
@charliermarsh charliermarsh marked this pull request as ready for review April 20, 2026 20:43
@charliermarsh charliermarsh marked this pull request as draft April 21, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants