Ecosystem report

Old: main (merge base) 2b5d34f7 → New: 23335/merge 731cb580
Lint Rule Removed Added Changed
Total 3 1 38
invalid-argument-type 1 1 25
unresolved-attribute 0 0 5
type-assertion-failure 1 0 3
invalid-assignment 0 0 2
invalid-return-type 1 0 1
not-iterable 0 0 1
unsupported-operator 0 0 1
Project Removed Added Changed
Total 3 1 38
vision 1 0 12
jax 0 0 5
pandas-stubs 1 0 3
rich 0 0 4
scipy 0 0 3
bokeh 1 1 0
ibis 0 0 2
rotki 0 0 2
colour 0 0 1
dd-trace-py 0 0 1
meson 0 0 1
pandas 0 0 1
pylox 0 0 1
scikit-learn 0 0 1
spack 0 0 1
Expression flaky 0 0 0
materialize flaky 0 0 0
porcupine flaky 0 0 0
prefect flaky 0 0 0
pydantic flaky 0 0 0

bokeh (https://github.com/bokeh/bokeh)

src/bokeh/layouts.py

[error] invalid-return-type - Return type does not match returned value: expected `list[L@_parse_children_arg]`, found `list[L@_parse_children_arg | list[L@_parse_children_arg]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[L@_parse_children_arg]`, found `tuple[L@_parse_children_arg | list[L@_parse_children_arg], ...]`

colour (https://github.com/colour-science/colour)

colour/utilities/verbose.py

[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `(Unknown & ~None) | <class 'str'> | bool`
[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `bool | (Unknown & ~None) | <class 'str'>`

dd-trace-py (https://github.com/DataDog/dd-trace-py)

tests/tracer/test_span.py

[error] invalid-argument-type - Argument to bound method `set_metric` is incorrect: Expected `int | float`, found `Unknown | None | dict[Unknown, Unknown] | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `set_metric` is incorrect: Expected `int | float`, found `int | float | complex | ... omitted 6 union elements`

ibis (https://github.com/ibis-project/ibis)

ibis/selectors.py

[error] invalid-return-type - Return type does not match returned value: expected `frozenset[str]`, found `frozenset[str | Buffer | Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `frozenset[str]`, found `frozenset[Unknown | str | Buffer]`
[error] invalid-assignment - Object of type `frozenset[str | Unknown]` is not assignable to `tuple[str | Column, ...]`
[error] invalid-assignment - Object of type `frozenset[Unknown | str]` is not assignable to `tuple[str | Column, ...]`

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

jax/_src/pallas/hlo_interpreter.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | Unknown | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/_src/pallas/mosaic/interpret/interpret_pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | Unknown | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/_src/pallas/pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | Unknown | DynamicGridDim`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`

jax/collect_profile.py

[error] unresolved-attribute - Attribute `glob` is not defined on `PathLike[str]`, `int`, `str`, `bytes`, `PathLike[bytes]` in union `Unknown | PathLike[str] | int | ... omitted 3 union elements`
[error] unresolved-attribute - Attribute `glob` is not defined on `PathLike[str]`, `int`, `str`, `bytes`, `PathLike[bytes]` in union `PathLike[str] | Unknown | int | ... omitted 3 union elements`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Unknown | PathLike[str] | int | ... omitted 3 union elements` and `Literal["remote.trace.json.gz"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `PathLike[str] | Unknown | int | ... omitted 3 union elements` and `Literal["remote.trace.json.gz"]`

meson (https://github.com/mesonbuild/meson)

mesonbuild/dependencies/cuda.py

[error] invalid-argument-type - Argument to function `version_compare_many` is incorrect: Expected `str`, found `Unknown | str | None`
[error] invalid-argument-type - Argument to function `version_compare_many` is incorrect: Expected `str`, found `str | None | Unknown`

pandas (https://github.com/pandas-dev/pandas)

pandas/core/methods/describe.py

[error] not-iterable - Object of type `Unknown | Sized` may not be iterable
[error] not-iterable - Object of type `Sized | Unknown` may not be iterable

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)

tests/indexes/test_categoricalindex.py

[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`

tests/series/test_series.py

[error] type-assertion-failure - Type `Series[Timestamp]` does not match asserted type `Unknown`

pylox (https://github.com/sco1/pylox)

pylox/containers/array.py

[error] invalid-assignment - Object of type `deque[Unknown | None]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`
[error] invalid-assignment - Object of type `deque[None | Unknown]` is not assignable to attribute `fields` of type `dict[Unknown, Unknown]`

rich (https://github.com/Textualize/rich)

tests/test_tools.py

[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`

rotki (https://github.com/rotki/rotki)

rotkehlchen/tests/unit/test_makerdao.py

[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | Unknown | dict[Unknown | str, Unknown | Balance]]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | dict[Unknown | str, Unknown | Balance] | Unknown]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | Unknown | dict[Unknown | str, Unknown | Balance]]`
[error] invalid-argument-type - Argument is incorrect: Expected `defaultdict[Asset, defaultdict[str, Balance]]`, found `defaultdict[Asset | Unknown, defaultdict[str, Balance] | Balance | dict[Unknown | str, Unknown | Balance] | Unknown]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/utils/tests/test_multiclass.py

[error] unresolved-attribute - Attribute `toarray` is not defined on `list[Unknown | list[Unknown | int]] & SparseABC`, `ndarray[tuple[Any, ...], dtype[Any]] & SparseABC`, `_NotAnArray & SparseABC`, `list[Unknown | int] & SparseABC`, `list[Unknown | str] & SparseABC`, `list[Unknown | list[Unknown | str]] & SparseABC`, `list[Unknown] & SparseABC`, `list[Unknown | int | float] & SparseABC`, `list[Unknown | list[Unknown]] & SparseABC`, `list[Unknown | tuple[()]] & SparseABC`, `list[Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]] & SparseABC`, `list[Unknown | set[Unknown | int]] & SparseABC`, `list[Unknown | frozenset[int | Unknown]] & SparseABC`, `list[Unknown | dict[Unknown | int, Unknown | str]] & SparseABC` in union `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (ndarray[tuple[Any, ...], dtype[Any]] & SparseABC) | ... omitted 12 union elements`
[error] unresolved-attribute - Attribute `toarray` is not defined on `list[Unknown | list[Unknown | int]] & SparseABC`, `ndarray[tuple[Any, ...], dtype[Any]] & SparseABC`, `_NotAnArray & SparseABC`, `list[Unknown | int] & SparseABC`, `list[Unknown | str] & SparseABC`, `list[Unknown | list[Unknown | str]] & SparseABC`, `list[Unknown] & SparseABC`, `list[Unknown | int | float] & SparseABC`, `list[Unknown | list[Unknown]] & SparseABC`, `list[Unknown | tuple[()]] & SparseABC`, `list[Unknown | ndarray[tuple[Any, ...], dtype[Unknown]]] & SparseABC`, `list[Unknown | set[Unknown | int]] & SparseABC`, `list[Unknown | frozenset[Unknown | int]] & SparseABC`, `list[Unknown | dict[Unknown | int, Unknown | str]] & SparseABC` in union `(Unknown & SparseABC) | (list[Unknown | list[Unknown | int]] & SparseABC) | (ndarray[tuple[Any, ...], dtype[Any]] & SparseABC) | ... omitted 12 union elements`

scipy (https://github.com/scipy/scipy)

subprojects/array_api_compat/array_api_compat/array_api_compat/common/_linalg.py

[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `dtype` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `tuple[Any, ...] | Any`
[error] unresolved-attribute - Attribute `max` is not defined on `tuple[Any, ...]` in union `Any | tuple[Any, ...]`

spack (https://github.com/spack/spack)

lib/spack/spack/detection/path.py

[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[bytes | Unknown | int | ... omitted 3 union elements]`
[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | str | bytes | ... omitted 3 union elements]`

vision (https://github.com/pytorch/vision)

test/test_transforms_v2.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`