Skip to content

[ty]: consolidate type[] types in a union when displaying them in diagnostics#22592

Merged
AlexWaygood merged 5 commits intoastral-sh:mainfrom
11happy:ty_1
Jan 15, 2026
Merged

[ty]: consolidate type[] types in a union when displaying them in diagnostics#22592
AlexWaygood merged 5 commits intoastral-sh:mainfrom
11happy:ty_1

Conversation

@11happy
Copy link
Contributor

@11happy 11happy commented Jan 15, 2026

Summary

This PR fixes astral-sh/ty#1598

Test Plan

Updated the mdtests, & added some new as well.

@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 15, 2026

Typing conformance

No changes

Typing conformance tests

@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 15, 2026

mypy_primer results

Changes were detected when running on open source projects
attrs (https://github.com/python-attrs/attrs)
- tests/test_make.py:2872:17: error[invalid-assignment] Object of type `type[tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15] | type[tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15]` is not assignable to `<class 'tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15'>`
+ tests/test_make.py:2872:17: error[invalid-assignment] Object of type `type[tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15 | tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15]` is not assignable to `<class 'tests.test_make.TestAutoDetect.<locals of function 'test_total_ordering'>.C @ tests/test_make.py:2858:15'>`

pydantic (https://github.com/pydantic/pydantic)
- pydantic/types.py:491:12: error[invalid-return-type] Return type does not match returned value: expected `type[int] | type[float]`, found `<special-form 'typing.Annotated[int | float, <metadata>]'>`
+ pydantic/types.py:491:12: error[invalid-return-type] Return type does not match returned value: expected `type[int | float]`, found `<special-form 'typing.Annotated[int | float, <metadata>]'>`
- pydantic/v1/main.py:1054:55: error[invalid-parameter-default] Default value of type `None` is not assignable to annotated parameter type `type[BaseModel] | type[Dataclass]`
+ pydantic/v1/main.py:1054:55: error[invalid-parameter-default] Default value of type `None` is not assignable to annotated parameter type `type[BaseModel | Dataclass]`

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/flow_runs.py:251:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo]] | type[Unknown]` is not assignable to `type[T@apause_flow_run] | None`
+ src/prefect/flow_runs.py:251:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo] | Unknown]` is not assignable to `type[T@apause_flow_run] | None`
- src/prefect/flow_runs.py:405:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo]] | type[Unknown]` is not assignable to `type[T@pause_flow_run] | None`
+ src/prefect/flow_runs.py:405:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo] | Unknown]` is not assignable to `type[T@pause_flow_run] | None`
- src/prefect/flow_runs.py:557:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo]] | type[Unknown]` is not assignable to `type[T@asuspend_flow_run] | None`
+ src/prefect/flow_runs.py:557:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo] | Unknown]` is not assignable to `type[T@asuspend_flow_run] | None`
- src/prefect/flow_runs.py:682:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo]] | type[Unknown]` is not assignable to `type[T@suspend_flow_run] | None`
+ src/prefect/flow_runs.py:682:26: error[invalid-assignment] Object of type `type[AutomaticRunInput[@Todo] | Unknown]` is not assignable to `type[T@suspend_flow_run] | None`

dd-trace-py (https://github.com/DataDog/dd-trace-py)
- tests/appsec/integrations/django_tests/django_app/views.py:120:27: error[invalid-argument-type] Argument to function `load` is incorrect: Expected `type[Loader] | type[BaseLoader] | type[FullLoader] | ... omitted 7 union elements`, found `Any | None`
+ tests/appsec/integrations/django_tests/django_app/views.py:120:27: error[invalid-argument-type] Argument to function `load` is incorrect: Expected `type[Loader | BaseLoader | FullLoader | ... omitted 7 types]`, found `Any | None`

strawberry (https://github.com/strawberry-graphql/strawberry)
- strawberry/types/field.py:350:28: error[invalid-assignment] Object of type `StrawberryType | type` is not assignable to `StrawberryType | type[WithStrawberryDefinition[StrawberryObjectDefinition]] | type[UNRESOLVED]`
+ strawberry/types/field.py:350:28: error[invalid-assignment] Object of type `StrawberryType | type` is not assignable to `StrawberryType | type[WithStrawberryDefinition[StrawberryObjectDefinition] | UNRESOLVED]`

scipy-stubs (https://github.com/scipy/scipy-stubs)
- tests/constants/test_constants.pyi:44:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:44:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:45:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:45:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:46:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:46:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:47:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:47:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:48:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:48:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:49:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:49:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:50:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:50:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:51:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:51:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:52:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:52:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:53:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:53:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:54:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:54:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:55:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:55:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:56:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:56:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:57:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:57:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:58:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:58:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:59:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:59:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:60:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:60:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:61:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:61:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:62:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:62:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:63:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:63:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:64:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:64:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:65:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:65:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:66:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:66:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:67:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:67:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:68:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:68:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:69:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:69:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:70:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:70:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:71:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:71:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:72:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:72:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:73:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:73:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:74:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:74:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:75:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:75:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:76:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:76:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:77:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:77:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:78:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:78:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:79:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:79:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:80:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:80:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:81:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:81:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:82:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:82:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:83:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:83:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:84:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:84:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:85:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:85:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:86:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:86:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:87:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:87:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:88:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:88:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:89:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:89:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:90:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:90:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:91:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:91:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:92:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:92:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:93:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:93:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:94:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:94:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:96:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:96:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:97:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:97:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:98:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:98:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:99:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:99:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:100:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:100:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:101:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:101:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:102:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:102:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:103:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:103:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:104:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:104:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:105:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:105:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:106:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:106:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:107:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:107:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:109:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:109:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:110:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:110:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:111:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:111:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:112:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:112:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:113:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:113:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:114:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:114:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:115:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:115:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:116:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:116:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:117:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:117:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:118:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:118:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:119:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:119:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:120:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:120:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:121:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:121:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:122:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:122:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:123:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:123:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:124:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:124:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:126:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:126:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:127:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:127:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:128:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:128:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:129:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:129:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:130:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:130:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:131:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:131:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:132:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:132:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:133:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:133:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:134:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:134:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:135:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:135:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:136:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:136:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:137:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:137:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:138:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:138:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:139:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:139:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:140:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:140:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:142:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:142:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:143:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:143:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:144:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:144:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:145:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:145:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:146:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:146:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:147:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:147:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:148:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:148:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:149:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:149:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:150:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:150:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:151:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:151:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:152:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:152:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:153:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:153:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:154:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:154:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:155:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:155:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:156:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:156:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:157:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:157:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:158:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:158:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:160:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:160:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:161:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:161:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:162:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:162:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:163:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:163:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:164:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:164:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:165:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:165:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:166:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:166:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:167:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:167:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:168:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:168:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:169:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:169:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:170:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:170:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:171:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:171:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:172:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:172:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:173:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:173:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:174:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:174:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:175:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:175:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:176:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:176:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:177:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:177:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:178:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:178:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:179:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:179:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:180:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:180:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:181:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:181:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:183:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:183:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:184:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:184:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:185:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:185:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:186:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:186:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:187:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:187:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:188:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:188:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:189:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:189:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:190:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:190:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:191:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:191:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:193:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:193:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:194:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:194:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:196:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:196:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:197:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:197:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/constants/test_constants.pyi:198:1: error[type-assertion-failure] Type `type[int] | type[float]` does not match asserted type `type[float]`
+ tests/constants/test_constants.pyi:198:1: error[type-assertion-failure] Type `type[int | float]` does not match asserted type `type[float]`
- tests/sparse/test_sputils.pyi:21:1: error[type-assertion-failure] Type `type[signedinteger[_32Bit]] | type[signedinteger[_64Bit]]` does not match asserted type `Unknown`
+ tests/sparse/test_sputils.pyi:21:1: error[type-assertion-failure] Type `type[signedinteger[_32Bit] | signedinteger[_64Bit]]` does not match asserted type `Unknown`

static-frame (https://github.com/static-frame/static-frame)
- static_frame/core/bus.py:671:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | Bottom[Series[Any, Any]] | ndarray[Never, Never] | ... omitted 6 union elements, object_]`
+ static_frame/core/bus.py:671:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[Bus[Any], object_]`, found `InterGetItemLocReduces[Bus[Any] | Bottom[Index[Any]] | Bottom[Series[Any, Any]] | ... omitted 6 union elements, object_]`
- static_frame/core/bus.py:675:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | ndarray[Never, Never] | TypeBlocks | ... omitted 6 union elements, object_ | Self@iloc]`
+ static_frame/core/bus.py:675:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemILocReduces[Bus[Any], object_]`, found `InterGetItemILocReduces[Bus[Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, object_ | Self@iloc]`
- static_frame/core/index.py:580:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Any | Bottom[Series[Any, Any]], TVDtype@Index]`
+ static_frame/core/index.py:580:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@loc, TVDtype@Index]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Any, TVDtype@Index]`
- static_frame/core/node_selector.py:526:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@InterfaceSelectQuartet, Any]`, found `InterGetItemLocReduces[Unknown | Bottom[Series[Any, Any]], Any]`
+ static_frame/core/node_selector.py:526:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemLocReduces[TVContainer_co@InterfaceSelectQuartet, Any]`, found `InterGetItemLocReduces[Bottom[Series[Any, Any]] | Unknown, Any]`
- static_frame/core/series.py:4072:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemILocReduces[SeriesHE[Any, Any], TVDtype@SeriesHE]`, found `InterGetItemILocReduces[Bottom[Series[Any, Any]] | ndarray[Never, Never] | TypeBlocks | ... omitted 7 union elements, TVDtype@SeriesHE]`
- static_frame/core/yarn.py:418:16: error[invalid-return-type] Return type does not match returned value: expected `InterGetItemILocReduces[Yarn[Any], object_]`, found `InterGetItemILocReduces[Yarn[Any] | Bottom[Index[Any]] | TypeBlocks | ... omitted 6 union elements, object_]`
+ static_f

... (truncated 48 lines) ...

No memory usage changes detected ✅

@AlexWaygood AlexWaygood added ecosystem-analyzer ty Multi-file analysis & type inference labels Jan 15, 2026
@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 15, 2026

ecosystem-analyzer results

Lint rule Added Removed Changed
type-assertion-failure 0 0 148
invalid-argument-type 0 1 19
invalid-assignment 0 0 11
invalid-return-type 0 3 5
possibly-missing-attribute 0 3 3
invalid-await 0 2 0
unresolved-attribute 0 0 2
invalid-parameter-default 0 0 1
unused-ignore-comment 1 0 0
Total 1 9 189

Full report with detailed diff (timing results)

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@AlexWaygood AlexWaygood enabled auto-merge (squash) January 15, 2026 15:01
@AlexWaygood AlexWaygood changed the title [ty]: consolidate type[] types in a union when displaying [ty]: consolidate type[] types in a union when displaying them in diagnostics Jan 15, 2026
@AlexWaygood AlexWaygood merged commit b2d57dd into astral-sh:main Jan 15, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecosystem-analyzer ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate type[] types in a union when displaying them

2 participants