Ecosystem report

Old: main (merge base) 4e67a219 New: 21857/merge 28b27ae6
Lint Rule Removed Added Changed
Total 9 10 9
invalid-argument-type 5 3 4
unused-ignore-comment 0 5 0
no-matching-overload 4 0 0
possibly-missing-attribute 0 0 4
unsupported-base 0 2 0
invalid-assignment 0 0 1
Project Removed Added Changed
Total 9 10 9
xarray 1 0 4
static-frame 0 1 2
Expression 0 2 0
beartype 0 2 0
freqtrade 1 0 1
meson 2 0 0
pandera 1 1 0
dulwich 0 1 0
jax 0 1 0
mitmproxy 1 0 0
nox 1 0 0
pandas 0 0 1
pydantic 1 0 0
pylox 1 0 0
python-chess 0 1 0
scipy 0 0 1
starlette 0 1 0

Expression (https://github.com/cognitedata/Expression)

tests/test_option_builder.py

[error] invalid-argument-type - :231:5 - Argument to bound method `__call__` is incorrect: Expected `() -> Generator[int | None, int, int | None] | Generator[int | None, None, int | None]`, found `def fn() -> Generator[int, None, None]`

tests/test_result_builder.py

[error] invalid-argument-type - :238:5 - Argument to bound method `__call__` is incorrect: Expected `() -> Generator[int | None, int, int | None] | Generator[int | None, None, int | None]`, found `def fn() -> Generator[int, None, None]`

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

beartype/claw/_package/clawpkgtrie.py

[warning] unsupported-base - :66:29 - Unsupported class base with type `<class 'dict[str, PackagesTrieBlacklist]'> | <class 'dict[str, Divergent]'>`
[warning] unsupported-base - :247:29 - Unsupported class base with type `<class 'dict[str, PackagesTrieWhitelist]'> | <class 'dict[str, Divergent]'>`

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

dulwich/pack.py

[error] invalid-argument-type - :2735:42 - Argument to function `sort_objects_for_delta` is incorrect: Expected `Iterator[ShaFile] | Iterator[tuple[ShaFile, tuple[int, bytes | None] | None]]`, found `Iterator[tuple[ShaFile, tuple[int, bytes | None]]]`

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

freqtrade/freqai/data_kitchen.py

[error] invalid-argument-type - :179 -
Old: Argument to function `__new__` is incorrect: Expected `Sequence[Unknown] | Iterable[Sequence[Unknown] | ndarray[tuple[int], dtype[Any]] | Series[Any] | ... omitted 3 union elements] | Series[Any] | ... omitted 4 union elements`, found `Unknown | _Buffer | _SupportsArray[dtype[Any]] | ... omitted 7 union elements`
New: Argument to function `__new__` is incorrect: Expected `Sequence[Unknown] | ndarray[tuple[int], dtype[Any]] | Series[Any] | ... omitted 5 union elements`, found `Unknown | _Buffer | _SupportsArray[dtype[Any]] | ... omitted 7 union elements`

freqtrade/optimize/optimize_reports/optimize_reports.py

[error] invalid-argument-type - :288:90 - Argument to bound method `from_records` is incorrect: Expected `Iterable[SequenceNotStr[Any]] | Iterable[Mapping[Unknown, Any]] | Mapping[Unknown, Any] | Mapping[Unknown, SequenceNotStr[Any]]`, found `list[Unknown] | (DataFrame & Top[list[Unknown]])`

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

jax/_src/pallas/core.py

[warning] unused-ignore-comment - :1159:45 - Unused blanket `type: ignore` directive

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

mesonbuild/programs.py

[error] no-matching-overload - :90:35 - No overload of bound method `join` matches arguments
[error] no-matching-overload - :105:16 - No overload of bound method `join` matches arguments

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

mitmproxy/utils/arg_check.py

[error] no-matching-overload - :143:29 - No overload of bound method `join` matches arguments

nox (https://github.com/wntrblm/nox)

nox/_parametrize.py

[error] invalid-argument-type - :153:37 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Param | Iterable[Any | Param | Iterable[Any]]]`, found `(Iterable[Param | Iterable[Any]] & tuple[object, ...]) | (Param & tuple[object, ...]) | (Iterable[Any] & tuple[object, ...]) | ... omitted 3 union elements`

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

pandas/core/indexes/multi.py

[error] invalid-argument-type - :587 -
Old: Argument to function `tuples_to_object_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[object_]]`, found `(ndarray[tuple[object, ...], dtype[object]] & ~Index) | ndarray[tuple[Any, ...], dtype[Any]]`
New: Argument to function `tuples_to_object_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[object_]]`, found `(Collection[tuple[Hashable, ...]] & ndarray[tuple[object, ...], dtype[object]] & ~Index) | ndarray[tuple[Any, ...], dtype[Any]]`

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

pandera/engines/pandas_engine.py

[warning] unused-ignore-comment - :1380:58 - Unused blanket `type: ignore` directive

pandera/typing/pandas.py

[error] invalid-argument-type - :381:45 - Argument to bound method `from_records` is incorrect: Expected `Iterable[SequenceNotStr[Any]] | Iterable[Mapping[Unknown, Any]] | Mapping[Unknown, Any] | Mapping[Unknown, SequenceNotStr[Any]]`, found `ndarray[tuple[Any, ...], dtype[Any]] | list[tuple[Any, ...]] | dict[Any, Any] | DataFrame`

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

pydantic/v1/env_settings.py

[error] invalid-argument-type - :223:29 - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | PathLike[Unknown] | Unknown | (list[str | PathLike[Unknown]] & PathLike[object]) | (tuple[str | PathLike[Unknown], ...] & PathLike[object])`

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

pylox/containers/array.py

[error] no-matching-overload - :69:16 - No overload of bound method `join` matches arguments

python-chess (https://github.com/niklasf/python-chess)

chess/engine.py

[warning] unused-ignore-comment - :908:39 - Unused blanket `type: ignore` directive

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

subprojects/highs/src/highspy/highs.py

[error] invalid-assignment - :1185 -
Old: Object of type `ndarray[tuple[object, ...], dtype[object]]` is not assignable to `ndarray[Any, dtype[object_]]`
New: Object of type `(Iterable[highs_var | highs_linear_expression] & ndarray[tuple[object, ...], dtype[object]]) | (ndarray[Any, dtype[object_]] & ndarray[tuple[object, ...], dtype[object]])` is not assignable to `ndarray[Any, dtype[object_]]`

starlette (https://github.com/encode/starlette)

starlette/datastructures.py

[warning] unused-ignore-comment - :399:48 - Unused blanket `type: ignore` directive

static-frame (https://github.com/static-frame/static-frame)

static_frame/core/frame.py

[warning] unused-ignore-comment - :3494:70 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_frame.py

[error] invalid-argument-type - :293 -
Old: Argument to bound method `__init__` is incorrect: Expected `Iterable[Iterable[Any]] | TypeBlocks | Frame | Series[Any, Any]`, found `None`
New: Argument to bound method `__init__` is incorrect: Expected `Iterable[Iterable[Any]] | ndarray[Any, Any] | Frame | Series[Any, Any]`, found `None`

static_frame/test/unit/test_type_blocks.py

[error] invalid-argument-type - :31 -
Old: Argument to bound method `from_blocks` is incorrect: Expected `Iterable[ndarray[Any, Any]]`, found `tuple[Literal[3], Literal[4]]`
New: Argument to bound method `from_blocks` is incorrect: Expected `ndarray[Any, Any] | Iterable[ndarray[Any, Any]]`, found `tuple[Literal[3], Literal[4]]`

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

xarray/core/datatree.py

[error] invalid-argument-type - :1341:13 - Argument to function `__new__` is incorrect: Expected `Iterable[tuple[str | Unknown, _CoordWrapper]]`, found `Iterable[tuple[str, Unknown]] | ItemsView[str, DataArray | Variable | Any | ... omitted 9 union elements] | dict_items[Unknown, Unknown]`

xarray/core/variable.py

[warning] possibly-missing-attribute - :952 -
Old: Attribute `shape` may be missing on object of type `(T_DuckArray@_copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]]`
New: Attribute `shape` may be missing on object of type `(T_DuckArray@_copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | _NestedSequence[int | float | complex | bytes | str]`
[warning] possibly-missing-attribute - :954 -
Old: Attribute `shape` may be missing on object of type `(T_DuckArray@_copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]]`
New: Attribute `shape` may be missing on object of type `(T_DuckArray@_copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | _NestedSequence[int | float | complex | bytes | str]`
[warning] possibly-missing-attribute - :2907 -
Old: Attribute `shape` may be missing on object of type `(T_DuckArray@copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]]`
New: Attribute `shape` may be missing on object of type `(T_DuckArray@copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | _NestedSequence[int | float | complex | bytes | str]`
[warning] possibly-missing-attribute - :2909 -
Old: Attribute `shape` may be missing on object of type `(T_DuckArray@copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]]`
New: Attribute `shape` may be missing on object of type `(T_DuckArray@copy & ~None) | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | _NestedSequence[int | float | complex | bytes | str]`