Skip to content

Conversation

sterliakov
Copy link
Collaborator

Fixes #19920 if primer does not have any objections

@sterliakov sterliakov force-pushed the bugfix/gh-19920-overload-tupleness-change-crash branch from 277ee69 to 6ff817f Compare October 10, 2025 23:28

This comment has been minimized.

Copy link
Contributor

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

hydpy (https://github.com/hydpy-dev/hydpy)
+ hydpy/core/testtools.py:2376: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/sequencetools.py:2405: error: Argument 1 to "full" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/parametertools.py:2722: error: Argument 1 to "full" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/itemtools.py:486: error: Argument 1 to "full" has incompatible type "tuple[int] | tuple[int, int] | tuple[()]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/itemtools.py:961: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/itemtools.py:1300: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int] | tuple[int, int] | tuple[()]"; expected "tuple[()]"  [arg-type]
+ hydpy/core/devicetools.py:2626: error: No overload variant of "__add__" of "Index" matches argument type "timedelta"  [operator]
+ hydpy/core/devicetools.py:2626: note: Possible overload variants:
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, str, /) -> Never
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, complex | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[str, ndarray[tuple[Any, ...], dtype[Any]]] | SequenceNotStr[Any] | Index[Any], /) -> Index[Any]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, Index[Never], /) -> Index[Any]
+ hydpy/core/devicetools.py:2626: note:     def [T_COMPLEX: complex] __add__(self, T_COMPLEX | Sequence[T_COMPLEX] | Index[T_COMPLEX], /) -> Index[T_COMPLEX]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]], /) -> Index[bool]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, ndarray[tuple[Any, ...], dtype[integer[Any]]], /) -> Index[int]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, ndarray[tuple[Any, ...], dtype[floating[Any]]], /) -> Index[float]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], /) -> Index[complex]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, builtins.bool | Sequence[builtins.bool] | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[integer[Any]]] | Index[builtins.bool], /) -> Index[int]
+ hydpy/core/devicetools.py:2626: note:     def [T_INT: int] __add__(self, int | Sequence[int] | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[integer[Any]]] | ndarray[tuple[Any, ...], dtype[floating[Any]]] | Index[T_INT], /) -> Index[float]
+ hydpy/core/devicetools.py:2626: note:     def [T_COMPLEX: complex] __add__(self, T_COMPLEX | Sequence[T_COMPLEX] | ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[integer[Any]]] | ndarray[tuple[Any, ...], dtype[floating[Any]]] | ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]] | Index[T_COMPLEX], /) -> Index[complex]
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | ndarray[tuple[Any, ...], dtype[integer[Any]]] | ndarray[tuple[Any, ...], dtype[floating[Any]]] | ndarray[tuple[Any, ...], dtype[complexfloating[Any, Any]]], /) -> Never
+ hydpy/core/devicetools.py:2626: note:     def __add__(self, str | Sequence[str] | ndarray[tuple[Any, ...], dtype[str_]] | Index[str], /) -> Index[str]
+ hydpy/auxs/ppolytools.py:238: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]
+ hydpy/auxs/ppolytools.py:239: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]
+ hydpy/auxs/ppolytools.py:240: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]

optuna (https://github.com/optuna/optuna)
+ optuna/samplers/_tpe/parzen_estimator.py:188: error: Argument 1 to "full" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ optuna/_gp/optim_mixed.py:289: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ tests/hypervolume_tests/test_box_decomposition.py:123: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ tests/hypervolume_tests/test_box_decomposition.py:132: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ tests/samplers_tests/test_nsgaii.py:939: error: Argument 1 to "full" has incompatible type "Any | None"; expected "SupportsIndex"  [arg-type]

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/utilities/callables.py:579: error: Incompatible types in assignment (expression has type "list[None]", variable has type "list[Optional[expr]]")  [assignment]
- src/prefect/utilities/callables.py:579: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
- src/prefect/utilities/callables.py:579: note: Consider using "Sequence" instead, which is covariant

pydantic (https://github.com/pydantic/pydantic)
- pydantic/aliases.py:29: error: Incompatible types in assignment (expression has type "list[str]", variable has type "list[int | str]")  [assignment]
- pydantic/aliases.py:29: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
- pydantic/aliases.py:29: note: Consider using "Sequence" instead, which is covariant
- pydantic/aliases.py:29: error: Argument 1 to "list" has incompatible type "tuple[str | int, ...]"; expected "Iterable[str]"  [arg-type]
+ pydantic/aliases.py:29: error: Argument 1 to "list" has incompatible type "tuple[str | int, ...]"; expected "Iterable[int]"  [arg-type]

colour (https://github.com/colour-science/colour)
+ colour/adaptation/datasets/cat.py:279: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/io/luts/resolve_cube.py:241: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/io/luts/iridas_cube.py:182: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/colorimetry/tristimulus_values.py:727: error: Argument 2 to "reshape" has incompatible type "tuple[int, Any]"; expected "tuple[()]"  [arg-type]
+ colour/io/fichet2021.py:617: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, Any]"; expected "tuple[()]"  [arg-type]
+ colour/recovery/jakob2019.py:1239: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/volume/tests/test_spectrum.py:228: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/volume/tests/test_pointer_gamut.py:58: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/volume/tests/test_mesh.py:73: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/volume/tests/test_macadam_limits.py:58: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/utilities/tests/test_array.py:1720: error: Argument 1 to "tile" has incompatible type "ndarray[tuple[Any, ...], dtype[float64]]"; expected "_SupportsArray[dtype[signedinteger[Any]]] | _NestedSequence[_SupportsArray[dtype[signedinteger[Any]]]]"  [arg-type]
+ colour/temperature/tests/test_robertson1968.py:178: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_robertson1968.py:237: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_robertson1968.py:287: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_robertson1968.py:343: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_planck1900.py:81: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_planck1900.py:144: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_ohno2013.py:138: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_ohno2013.py:201: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_ohno2013.py:251: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_ohno2013.py:301: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_mccamy1992.py:72: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_mccamy1992.py:135: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_krystek1985.py:80: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_krystek1985.py:143: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_kang2002.py:81: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_kang2002.py:144: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_hernandez1999.py:72: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_hernandez1999.py:135: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_cie_d.py:78: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/temperature/tests/test_cie_d.py:138: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:530: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:538: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:605: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:613: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:678: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:684: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:767: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:775: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:836: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:842: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:900: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:906: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:951: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:957: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:999: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1005: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1063: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1069: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1148: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1154: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1207: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1213: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1272: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1278: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1429: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1434: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1566: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/phenomena/tests/test_rayleigh.py:1571: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1153: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1159: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1238: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1244: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1323: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1329: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1408: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1414: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1495: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1501: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1580: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1586: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1665: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1671: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1759: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1778: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1867: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1886: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:1949: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:2042: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_munsell.py:2053: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_hexadecimal.py:68: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/notation/tests/test_hexadecimal.py:138: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_yrg.py:69: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_yrg.py:139: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_yrg.py:210: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_yrg.py:280: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:75: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:146: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:217: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:290: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:365: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_sucs.py:424: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_ragoo2021.py:71: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_ragoo2021.py:151: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_prolab.py:69: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_prolab.py:147: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_osa_ucs.py:69: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_osa_ucs.py:156: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_oklab.py:69: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_oklab.py:147: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_jzazbz.py:90: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_jzazbz.py:193: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_jzazbz.py:271: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_jzazbz.py:347: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_ipt.py:65: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_ipt.py:136: error: Argument 2 to "reshape" has incompatible type "tuple[int, int, int]"; expected "tuple[()]"  [arg-type]
+ colour/models/tests/test_ipt.py:209: error: Argument 2 to "reshape" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]

... (truncated 504 lines) ...

altair (https://github.com/vega/altair)
+ altair/utils/data.py:203: error: No overload variant of "from_native" matches argument types "NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | SupportsGeoInterface | altair.utils.core.DataFrameLike", "bool"  [call-overload]
+ altair/utils/data.py:203: note: Possible overload variants:
+ altair/utils/data.py:203: note:     def [SeriesT: Series[Any]] from_native(native_object: SeriesT, **kwds: Any) -> SeriesT
+ altair/utils/data.py:203: note:     def [DataFrameT: DataFrame[Any]] from_native(native_object: DataFrameT, **kwds: Any) -> DataFrameT
+ altair/utils/data.py:203: note:     def [LazyFrameT: LazyFrame[Any]] from_native(native_object: LazyFrameT, **kwds: Any) -> LazyFrameT
+ altair/utils/data.py:203: note:     def [DataFrameT: DataFrame[Any], LazyFrameT: LazyFrame[Any]] from_native(native_object: DataFrameT | LazyFrameT, **kwds: Any) -> DataFrameT | LazyFrameT
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoSeriesT: NativeSeries] from_native(native_object: IntoDataFrameT | IntoSeriesT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT] | Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoSeriesT: NativeSeries] from_native(native_object: IntoDataFrameT | IntoSeriesT, *, strict: Literal[False], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT] | Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[False], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, strict: Literal[False], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoLazyFrameT: NativeLazyFrame, IntoSeriesT: NativeSeries] from_native(native_object: IntoDataFrameT | IntoLazyFrameT | IntoSeriesT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT] | LazyFrame[IntoLazyFrameT] | Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoSeriesT: NativeSeries] from_native(native_object: IntoSeriesT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[True], allow_series: None = ...) -> Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoLazyFrameT: NativeLazyFrame] from_native(native_object: IntoLazyFrameT, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> LazyFrame[IntoLazyFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, strict: Literal[False], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[True] | None = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoLazyFrameT: NativeLazyFrame] from_native(native_object: IntoLazyFrameT, *, strict: Literal[True] | None = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> LazyFrame[IntoLazyFrameT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[True] | None = ..., eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def from_native(native_object: NativeDataFrame | NativeLazyFrame | _NativeIbis | NativeSeries, *, strict: Literal[True] | None = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[Any] | LazyFrame[Any] | Series[Any]
+ altair/utils/data.py:203: note:     def [IntoSeriesT: NativeSeries] from_native(native_object: IntoSeriesT, *, strict: Literal[True] | None = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[True], allow_series: None = ...) -> Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, strict: Literal[True] | None = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT | NativeSeries, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoSeriesT: NativeSeries] from_native(native_object: IntoDataFrameT | IntoSeriesT, *, pass_through: Literal[True], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT] | Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, pass_through: Literal[True], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, pass_through: Literal[True], eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoLazyFrameT: NativeLazyFrame, IntoSeriesT: NativeSeries] from_native(native_object: IntoDataFrameT | IntoLazyFrameT | IntoSeriesT, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[IntoDataFrameT] | LazyFrame[IntoLazyFrameT] | Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoSeriesT: NativeSeries] from_native(native_object: IntoSeriesT, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[True], allow_series: None = ...) -> Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike, IntoLazyFrameT: NativeLazyFrame] from_native(native_object: IntoDataFrameT | IntoLazyFrameT, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT] | LazyFrame[IntoLazyFrameT]
+ altair/utils/data.py:203: note:     def [T] from_native(native_object: T, *, pass_through: Literal[True], eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> T
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, pass_through: Literal[False] = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[True], series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, pass_through: Literal[False] = ..., eager_only: Literal[True], eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def from_native(native_object: NativeDataFrame | NativeLazyFrame | _NativeIbis | NativeSeries, *, pass_through: Literal[False] = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: Literal[True]) -> DataFrame[Any] | LazyFrame[Any] | Series[Any]
+ altair/utils/data.py:203: note:     def [IntoSeriesT: NativeSeries] from_native(native_object: IntoSeriesT, *, pass_through: Literal[False] = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[True], allow_series: None = ...) -> Series[IntoSeriesT]
+ altair/utils/data.py:203: note:     def [IntoDataFrameT: NativeDataFrame | DataFrameLike] from_native(native_object: IntoDataFrameT, *, pass_through: Literal[False] = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> DataFrame[IntoDataFrameT]
+ altair/utils/data.py:203: note:     def [IntoLazyFrameT: NativeLazyFrame] from_native(native_object: IntoLazyFrameT, *, pass_through: Literal[False] = ..., eager_only: Literal[False] = ..., eager_or_interchange_only: Literal[False] = ..., series_only: Literal[False] = ..., allow_series: None = ...) -> LazyFrame[IntoLazyFrameT]
+ altair/utils/data.py:203: note:     def from_native(native_object: Any, *, pass_through: bool, eager_only: bool, eager_or_interchange_only: bool = ..., series_only: bool, allow_series: bool | None) -> Any
+ altair/utils/data.py:208: error: Unsupported operand types for * ("float" and "int")  [operator]
+ altair/utils/data.py:208: error: Argument 1 to "len" has incompatible type "dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | SupportsGeoInterface | altair.utils.core.DataFrameLike | Any"; expected "Sized"  [arg-type]
+ altair/utils/data.py:209: error: Argument 1 to "len" has incompatible type "dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | SupportsGeoInterface | altair.utils.core.DataFrameLike | Any"; expected "Sized"  [arg-type]
+ altair/utils/data.py:210: error: Value of type "dict[Any, Any] | NativeDataFrame | narwhals.stable.v1.typing.DataFrameLike | SupportsGeoInterface | altair.utils.core.DataFrameLike | Any" is not indexable  [index]

scrapy (https://github.com/scrapy/scrapy)
+ tests/test_pipeline_images.py:312: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[str]"  [arg-type]
+ tests/test_pipeline_images.py:313: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[dict[str, str]]"  [arg-type]
+ tests/test_pipeline_images.py:315: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[str]"  [arg-type]
+ tests/test_pipeline_images.py:316: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[dict[str, str]]"  [arg-type]
+ tests/test_pipeline_files.py:368: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[str]"  [arg-type]
+ tests/test_pipeline_files.py:369: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[dict[str, str]]"  [arg-type]
+ tests/test_pipeline_files.py:371: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[str]"  [arg-type]
+ tests/test_pipeline_files.py:372: error: Argument "default" has incompatible type "type[list[_T]]"; expected "list[dict[str, str]]"  [arg-type]

core (https://github.com/home-assistant/core)
+ homeassistant/components/ambient_network/config_flow.py:80: error: "bytes" has no attribute "get"  [attr-defined]

imagehash (https://github.com/JohannesBuchner/imagehash)
+ imagehash/__init__.py:446: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]

pytest (https://github.com/pytest-dev/pytest)
+ src/_pytest/config/argparsing.py:459: error: Argument 2 to "parse_known_args" of "ArgumentParser" has incompatible type "Namespace | None"; expected "Namespace"  [arg-type]

pandas (https://github.com/pandas-dev/pandas)
+ pandas/core/missing.py:855: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ pandas/core/arrays/masked.py:172: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ pandas/core/arrays/arrow/array.py:2747: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int]"; expected "tuple[int]"  [arg-type]
+ pandas/io/pytables.py:4824: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, Any]"; expected "tuple[()]"  [arg-type]
+ pandas/io/parsers/python_parser.py:440: error: Argument 1 to "view" of "ndarray" has incompatible type "type[unsignedinteger[_8Bit]]"; expected "type[numpy.bool[builtins.bool]] | dtype[numpy.bool[builtins.bool]] | _SupportsDType[dtype[numpy.bool[builtins.bool]]]"  [arg-type]
+ pandas/io/parsers/python_parser.py:440: note: Only class variables allowed for class object access on protocols, dtype is an instance variable of "unsignedinteger"
+ pandas/io/json/_normalize.py:602: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]
+ pandas/core/frame.py:11517: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ pandas/core/internals/construction.py:534: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[Any, int]"; expected "tuple[()]"  [arg-type]
+ pandas/core/indexes/base.py:4269: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]

trio (https://github.com/python-trio/trio)
+ src/trio/_core/_tests/test_run.py:2424: error: Unused "type: ignore" comment  [unused-ignore]
+ src/trio/_core/_tests/test_run.py:2425: error: Argument 1 to "acapture" has incompatible type "Callable[[Outcome[object]], Coroutine[Any, Any, object]]"; expected "Callable[[Outcome[object]], Awaitable[str]]"  [arg-type]

arviz (https://github.com/arviz-devs/arviz)
+ arviz/data/io_pyjags.py:310: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[Any, Any, int]"; expected "tuple[()]"  [arg-type]

jax (https://github.com/google/jax)
+ jax/_src/mesh_utils.py:832: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/_src/dtypes.py:228: error: Argument 1 to "dtype" has incompatible type "type[floating[_32Bit]]"; expected "type[float64] | dtype[float64] | _SupportsDType[dtype[float64]]"  [arg-type]
+ jax/_src/dtypes.py:228: note: Only class variables allowed for class object access on protocols, dtype is an instance variable of "floating"
+ jax/_src/dispatch.py:364: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/_src/interpreters/pxla.py:1132: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ jax/_src/interpreters/pxla.py:2241: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/_src/custom_partitioning.py:590: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/_src/debugging.py:619: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/experimental/colocated_python/api.py:135: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]
+ jax/experimental/mosaic/gpu/fragmented_array.py:2199: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, ...]"; expected "tuple[()]"  [arg-type]

scipy (https://github.com/scipy/scipy)
+ scipy/sparse/tests/test_coo.py:1239: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int, int]"; expected "tuple[int, int]"  [arg-type]
+ scipy/sparse/tests/test_coo.py:1282: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int, int, int, int]"; expected "tuple[int, int]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:769: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:770: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:771: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:772: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:773: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:774: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:775: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:776: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]
+ scipy/linalg/tests/test_solvers.py:777: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]

dedupe (https://github.com/dedupeio/dedupe)
+ dedupe/convenience.py:44: error: Argument "dtype" to "array" has incompatible type "type[unsignedinteger[_64Bit]]"; expected "type[signedinteger[Any]] | dtype[signedinteger[Any]] | _SupportsDType[dtype[signedinteger[Any]]]"  [arg-type]
+ dedupe/convenience.py:44: note: Only class variables allowed for class object access on protocols, dtype is an instance variable of "unsignedinteger"
+ dedupe/convenience.py:96: error: Argument 1 to "reshape" of "ndarray" has incompatible type "tuple[int, int]"; expected "tuple[()]"  [arg-type]

materialize (https://github.com/MaterializeInc/materialize)
+ misc/python/materialize/cli/mzcompose.py:948: error: Argument 2 to "parse_known_args" of "ArgumentParser" has incompatible type "Namespace | None"; expected "Namespace"  [arg-type]

static-frame (https://github.com/static-frame/static-frame)
+ static_frame/core/util.py:1417: error: Argument "dtype" to "__call__" of "_ConstructorEmpty" has incompatible type "dtype[Any] | None"; expected "None"  [arg-type]
+ static_frame/core/series_mapping.py:76: error: Argument 1 to "iter" has incompatible type "IndexBase"; expected "SupportsIter[Iterator[TVKeys]]"  [arg-type]
+ static_frame/core/series_mapping.py:76: note: Following member(s) of "IndexBase" have conflicts:
+ static_frame/core/series_mapping.py:76: note:     Expected:
+ static_frame/core/series_mapping.py:76: note:         def __iter__(self) -> Iterator[TVKeys]
+ static_frame/core/series_mapping.py:76: note:     Got:
+ static_frame/core/series_mapping.py:76: note:         def __iter__(self) -> Iterator[TLabel]

xarray (https://github.com/pydata/xarray)
+ xarray/core/dataset.py: note: In member "_validate_indexers" of class "Dataset":
+ xarray/core/dataset.py:2639: error: Argument 1 to "__call__" of "_ConstructorEmpty" has incompatible type "tuple[int]"; expected "tuple[()]"  [arg-type]

openlibrary (https://github.com/internetarchive/openlibrary)
+ openlibrary/solr/data_provider.py: note: In member "get_work_reading_log" of class "LegacyDataProvider":
+ openlibrary/solr/data_provider.py:309: error: Argument 1 to "sum" has incompatible type "dict_values[str, object]"; expected "Iterable[bool]"  [arg-type]

nox (https://github.com/wntrblm/nox)
+ nox/_option_set.py:64: error: Argument "validator" to "field" has incompatible type "Callable[[Any, Attribute[Optional[str]], Optional[str]], Any]"; expected "Union[Callable[[Any, Attribute[Optional[Literal['auto', 'never', 'always']]], Optional[Literal['auto', 'never', 'always']]], Any], Sequence[Callable[[Any, Attribute[Optional[Literal['auto', 'never', 'always']]], Optional[Literal['auto', 'never', 'always']]], Any]], None]"  [arg-type]
+ nox/_option_set.py:75: error: Argument "validator" to "field" has incompatible type "Callable[[Any, Attribute[Optional[str]], Optional[str]], Any]"; expected "Union[Callable[[Any, Attribute[Optional[Literal['no', 'yes', 'never', 'always']]], Optional[Literal['no', 'yes', 'never', 'always']]], Any], Sequence[Callable[[Any, Attribute[Optional[Literal['no', 'yes', 'never', 'always']]], Optional[Literal['no', 'yes', 'never', 'always']]], Any]], None]"  [arg-type]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mypy crashes on async tuple to tuple assignment

1 participant