Ecosystem report

Old: main (merge base) 566c959a New: 21678/merge cc1c494d
Lint Rule Removed Added Changed
Total 42 2 7
invalid-argument-type 28 0 4
no-matching-overload 11 0 0
invalid-assignment 0 0 3
invalid-parameter-default 3 0 0
unused-ignore-comment 0 2 0
Project Removed Added Changed
Total 42 2 7
jax 31 0 6
xarray 11 2 1

jax (https://github.com/google/jax)

jax/_src/numpy/reductions.py

[error] invalid-argument-type - :2542:35 - Argument to function `broadcasted_iota` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'int'>`

jax/_src/cudnn/scaled_matmul_stablehlo.py

[error] invalid-argument-type - :689 -
Old: Argument to function `scaled_dot_general_transpose_rhs` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `Unknown | list[Unknown]`
New: Argument to function `scaled_dot_general_transpose_rhs` is incorrect: Expected `str | type[Any] | dtype[Any] | SupportsDType`, found `Unknown | list[Unknown]`

jax/_src/dtypes.py

[error] invalid-assignment - :637 -
Old: Object of type `(SupportsDType & tuple[object, ...]) | tuple[str | SupportsDType | dtype[Any], ...]` is not assignable to `tuple[str | SupportsDType | dtype[Any], ...]`
New: Object of type `(SupportsDType & tuple[object, ...]) | tuple[str | type[Any] | dtype[Any] | SupportsDType, ...]` is not assignable to `tuple[str | type[Any] | dtype[Any] | SupportsDType, ...]`

jax/_src/lax/lax.py

[error] invalid-argument-type - :5901 -
Old: Argument to function `dot_algorithm_attr` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `str | SupportsDType | dtype[Any] | None`
New: Argument to function `dot_algorithm_attr` is incorrect: Expected `str | type[Any] | dtype[Any] | SupportsDType`, found `str | type[Any] | dtype[Any] | SupportsDType | None`
[error] invalid-argument-type - :5901 -
Old: Argument to function `dot_algorithm_attr` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `str | SupportsDType | dtype[Any] | None`
New: Argument to function `dot_algorithm_attr` is incorrect: Expected `str | type[Any] | dtype[Any] | SupportsDType`, found `str | type[Any] | dtype[Any] | SupportsDType | None`

jax/_src/lax/linalg.py

[error] invalid-argument-type - :2707:19 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`
[error] invalid-argument-type - :2712:19 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`

jax/_src/lax/other.py

[error] invalid-argument-type - :224 -
Old: Argument to function `conv_general_dilated_patches` is incorrect: Expected `Precision | None`, found `None | Precision | str | SupportsDType | dtype[Any]`
New: Argument to function `conv_general_dilated_patches` is incorrect: Expected `Precision | None`, found `None | Precision | str | ... omitted 3 union elements`

jax/_src/numpy/array_methods.py

[error] invalid-argument-type - :566:41 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`

jax/_src/numpy/lax_numpy.py

[error] invalid-parameter-default - :5489:37 - Default value of type `<class 'float'>` is not assignable to annotated parameter type `str | SupportsDType | dtype[Any]`
[error] invalid-parameter-default - :5637:21 - Default value of type `<class 'float'>` is not assignable to annotated parameter type `str | SupportsDType | dtype[Any]`
[error] invalid-parameter-default - :5723:29 - Default value of type `<class 'float'>` is not assignable to annotated parameter type `str | SupportsDType | dtype[Any]`
[error] invalid-argument-type - :8269:60 - Argument to function `argmax` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'int'>`
[error] invalid-argument-type - :8330:60 - Argument to function `argmin` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'int'>`
[error] invalid-argument-type - :9021:40 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`
[error] invalid-argument-type - :9351:81 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `type`

jax/_src/numpy/ufuncs.py

[error] invalid-argument-type - :1204:40 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`
[error] invalid-argument-type - :1248:40 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`

jax/_src/pallas/mosaic_gpu/lowering.py

[error] invalid-argument-type - :2054:60 - Argument to function `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-assignment - :1407 -
Old: Object of type `str | SupportsDType | dtype[Any] | None` is not assignable to `dtype[Any]`
New: Object of type `str | type[Any] | dtype[Any] | SupportsDType | None` is not assignable to `dtype[Any]`

jax/_src/random.py

[error] invalid-argument-type - :816:47 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`

jax/_src/scipy/linalg.py

[error] invalid-argument-type - :2194:28 - Argument to function `broadcasted_iota` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'float'>`

jax/_src/tpu/linalg/eigh.py

[error] invalid-argument-type - :621:32 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`
[error] invalid-argument-type - :623:48 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`
[error] invalid-argument-type - :627:37 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`
[error] invalid-argument-type - :629:53 - Argument to function `_tri` is incorrect: Expected `str | SupportsDType | dtype[Any]`, found `<class 'bool'>`

jax/experimental/jax2tf/tests/flax_models/seq2seq_lstm.py

[error] invalid-argument-type - :83:41 - Argument to function `zeros` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`

jax/experimental/pallas/ops/gpu/attention.py

[error] invalid-argument-type - :662:68 - Argument to function `ones` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'bool'>`

jax/experimental/pallas/ops/gpu/transposed_ragged_dot_mgpu.py

[error] invalid-argument-type - :59:21 - Argument to function `zeros` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :60:12 - Argument to bound method `astype` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`

jax/experimental/sparse/bcoo.py

[error] invalid-argument-type - :582:94 - Argument to function `zeros` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :1122:53 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :1123:53 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :1124:85 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :1125:85 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :1758:34 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`
[error] invalid-argument-type - :2238:46 - Argument to function `array` is incorrect: Expected `str | SupportsDType | dtype[Any] | None`, found `<class 'int'>`

xarray (https://github.com/pydata/xarray)

xarray/core/common.py

[error] invalid-assignment - :1702 -
Old: Object of type `(_SupportsDType[dtype[Any]] & Top[Mapping[Unknown, object]]) | (str & Top[Mapping[Unknown, object]]) | (tuple[Any, SupportsIndex | Sequence[SupportsIndex]] & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements` is not assignable to `Mapping[Any, dtype[Any] | None | _SupportsDType[dtype[Any]] | ... omitted 4 union elements]`
New: Object of type `(type[Any] & Top[Mapping[Unknown, object]]) | (str & Top[Mapping[Unknown, object]]) | (tuple[Any, SupportsIndex | Sequence[SupportsIndex]] & Top[Mapping[Unknown, object]]) | ... omitted 4 union elements` is not assignable to `Mapping[Any, dtype[Any] | None | type[Any] | ... omitted 5 union elements]`

xarray/tests/test_dataarray.py

[error] no-matching-overload - :4157:18 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :4163:13 - No overload of function `full_like` matches arguments

xarray/tests/test_dataset.py

[error] no-matching-overload - :6905:18 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :6921:18 - No overload of function `full_like` matches arguments

xarray/tests/test_plot.py

[warning] unused-ignore-comment - :232:64 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1320:55 - Unused blanket `type: ignore` directive

xarray/tests/test_variable.py

[error] no-matching-overload - :2837:34 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :2844:13 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :2863:13 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :2883:26 - No overload of function `zeros_like` matches arguments
[error] no-matching-overload - :2883:55 - No overload of function `full_like` matches arguments
[error] no-matching-overload - :2890:26 - No overload of function `ones_like` matches arguments
[error] no-matching-overload - :2890:54 - No overload of function `full_like` matches arguments