Ecosystem report

Old: main (merge base) e9719d42 → New: 26389/merge d40321c2
Lint Rule Removed Added Changed
Total 1 26 7
invalid-argument-type 0 13 1
no-matching-overload 0 10 0
unresolved-attribute 0 1 2
unsupported-operator 0 0 3
invalid-assignment 0 2 0
not-iterable 0 0 1
unused-type-ignore-comment 1 0 0
Project Removed Added Changed
Total 1 26 7
scipy 0 12 0
scikit-learn 0 4 2
mongo-python-driver 0 4 0
core 0 0 3
beartype 0 2 0
pandas 0 2 0
sympy 0 1 1
freqtrade 0 0 1
manticore 0 1 0
pyppeteer 1 0 0

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

beartype/bite/collection/infercollectionitems.py

[error] invalid-argument-type - Argument to function `make_hint_pep484604_union` is incorrect: Expected `Sequence[TypeForm[Any]]`, found `tuple[object, ...]`
[error] invalid-argument-type - Argument to function `make_hint_pep484604_union` is incorrect: Expected `Sequence[TypeForm[Any]]`, found `tuple[object, ...]`

core (https://github.com/home-assistant/core)

homeassistant/components/tasmota/light.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.HS]` and `set[ColorMode] | None | set[Unknown]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.HS]` and `set[ColorMode] | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.WHITE]` and `set[ColorMode] | None | set[Unknown]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.WHITE]` and `set[ColorMode] | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.COLOR_TEMP]` and `set[ColorMode] | None | set[Unknown]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal[ColorMode.COLOR_TEMP]` and `set[ColorMode] | None`

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

freqtrade/optimize/analysis/lookahead.py

[error] invalid-argument-type - Argument to function `LookaheadAnalysis.get_result` is incorrect: Expected `DataFrame`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to function `LookaheadAnalysis.get_result` is incorrect: Expected `DataFrame`, found `dict[str, DataFrame]`

manticore (https://github.com/trailofbits/manticore)

tests/other/test_smtlibv2.py

[error] invalid-argument-type - Argument to bound method `set.add` is incorrect: Expected `<class 'Expression'> | <class 'BoolOperation'> | <class 'BitVecOperation'> | ... omitted 4 union elements`, found `type`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

pymongo/asynchronous/mongo_client.py

[error] invalid-argument-type - Argument to bound method `AsyncMongoClient._init_based_on_options` is incorrect: Expected `Collection[tuple[str, int]]`, found `set[Unknown | tuple[str, int | None]] & ~AlwaysFalsy`
[error] invalid-argument-type - Argument to bound method `AsyncMongoClient._init_based_on_options` is incorrect: Expected `Collection[tuple[str, int]]`, found `set[Unknown | tuple[str, int | None]] & ~AlwaysFalsy`

pymongo/synchronous/mongo_client.py

[error] invalid-argument-type - Argument to bound method `MongoClient._init_based_on_options` is incorrect: Expected `Collection[tuple[str, int]]`, found `set[Unknown | tuple[str, int | None]] & ~AlwaysFalsy`
[error] invalid-argument-type - Argument to bound method `MongoClient._init_based_on_options` is incorrect: Expected `Collection[tuple[str, int]]`, found `set[Unknown | tuple[str, int | None]] & ~AlwaysFalsy`

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

pandas/core/internals/construction.py

[error] invalid-argument-type - Argument to function `construct_1d_arraylike_from_scalar` is incorrect: Expected `str | bytes | date | ... omitted 10 union elements`, found `object`
[error] invalid-assignment - Invalid subscript assignment with key of type `int` and value of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]` on object of type `list[int | float]`

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

pyppeteer/launcher.py

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

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

sklearn/linear_model/_logistic.py

[error] no-matching-overload - No overload of function `tile` matches arguments

sklearn/linear_model/tests/test_logistic.py

[error] unresolved-attribute - Attribute `shape` is not defined on `list[Unknown]`, `int`, `float` in union `list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | int | float`
[error] unresolved-attribute - Attribute `shape` is not defined on `list[Any]`, `int`, `float` in union `list[Any] | ndarray[tuple[Any, ...], dtype[Unknown]] | int | float`
[error] unresolved-attribute - Attribute `shape` is not defined on `list[Unknown]`, `int`, `float` in union `list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | int | float`
[error] unresolved-attribute - Attribute `shape` is not defined on `list[Unknown | str | None | int | float]`, `int`, `float` in union `list[Unknown | str | None | int | float] | Unknown | ndarray[tuple[Any, ...], dtype[Any]] | int | float`
[error] no-matching-overload - No overload of function `assert_allclose` matches arguments
[error] no-matching-overload - No overload of function `assert_allclose` matches arguments

sklearn/metrics/tests/test_common.py

[error] invalid-assignment - Object of type `str` is not assignable to attribute `__name__` on type `(Unknown & Top[partial[Unknown]]) | partial[(...) -> Unknown] | (((...) -> Unknown) & Top[partial[Unknown]])`

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

scipy/conftest.py

[error] invalid-argument-type - Argument to function `filterwarnings` is incorrect: Expected `bool`, found `<class 'RuntimeWarning'> | str | <class 'DeprecationWarning'> | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `filterwarnings` is incorrect: Expected `int`, found `<class 'RuntimeWarning'> | str | <class 'DeprecationWarning'> | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `filterwarnings` is incorrect: Expected `str`, found `<class 'RuntimeWarning'> | str | <class 'DeprecationWarning'> | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `filterwarnings` is incorrect: Expected `str`, found `<class 'RuntimeWarning'> | str | <class 'DeprecationWarning'> | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `filterwarnings` is incorrect: Expected `type[Warning]`, found `<class 'RuntimeWarning'> | str | <class 'DeprecationWarning'> | ... omitted 3 union elements`

scipy/spatial/tests/test_distance.py

[error] no-matching-overload - No overload of function `cdist` matches arguments
[error] no-matching-overload - No overload of function `cdist` matches arguments
[error] no-matching-overload - No overload of function `cdist` matches arguments
[error] no-matching-overload - No overload of function `cdist` matches arguments
[error] no-matching-overload - No overload of function `pdist` matches arguments
[error] no-matching-overload - No overload of function `pdist` matches arguments
[error] no-matching-overload - No overload of function `pdist` matches arguments

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

sympy/simplify/radsimp.py

[error] unresolved-attribute - Attribute `base` is not defined on `Expr` in union `Expr | Unknown`
[error] not-iterable - Object of type `set[Unknown] | Basic` may not be iterable
[error] not-iterable - Object of type `set[Expr] | Basic` may not be iterable