Ecosystem report

Old: main (merge base) 55c5d906 New: 24039/merge d063a987
Lint Rule Removed Added Changed
Total 41 64 8
invalid-await 40 0 0
invalid-argument-type 0 24 1
invalid-assignment 0 18 1
invalid-return-type 1 2 5
no-matching-overload 0 8 0
possibly-missing-attribute 0 4 0
unresolved-attribute 0 3 0
unsupported-operator 0 2 0
invalid-yield 0 0 1
not-iterable 0 1 0
possibly-unresolved-reference 0 1 0
too-many-positional-arguments 0 1 0
Project Removed Added Changed
Total 41 64 8
prefect 41 14 1
xarray 0 13 1
schema_salad 0 12 0
pandas 0 7 1
scikit-build-core flaky 0 4 2
dd-trace-py 0 5 0
altair 0 4 0
core 0 2 2
meson 0 2 0
scipy 0 1 0
werkzeug 0 0 1
pydantic flaky 0 0 0

altair (https://github.com/vega/altair)

tests/test_transformed_data.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `DataFrameLike`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["wheat_start"]` and `DataFrameLike`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `DataFrameLike`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["mean_wheat"]` and `DataFrameLike`

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

homeassistant/auth/permissions/util.py

[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `ValueType`

homeassistant/auth/permissions/merge.py

[error] invalid-argument-type - Argument to function `_merge_policies` is incorrect: Expected `list[CategoryType]`, found `list[Never]`
[error] invalid-argument-type - Argument to function `_merge_policies` is incorrect: Expected `list[CategoryType]`, found `list[SubCategoryType | None]`

homeassistant/components/asuswrt/helpers.py

[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[Unknown, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `T@translate_to_legacy`, found `dict[Unknown, object]`
[error] no-matching-overload - No overload of bound method `get` matches arguments

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

ddtrace/appsec/_asm_request_context.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `Any | str | int | None`

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

mesonbuild/modules/sourceset.py

[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] too-many-positional-arguments - Too many positional arguments to bound method `get`: expected 2, got 3

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

pandas/core/arrays/datetimes.py

[error] invalid-assignment - Object of type `Timestamp` is not assignable to `_TimestampNoneT1@_maybe_normalize_endpoints`
[error] invalid-assignment - Object of type `Timestamp` is not assignable to `_TimestampNoneT2@_maybe_normalize_endpoints`

pandas/core/dtypes/missing.py

[error] invalid-assignment - Object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Any` is not assignable to `ndarray[tuple[Any, ...], dtype[numpy.bool[builtins.bool]]] | NDFrame`

pandas/core/indexes/base.py

[error] invalid-argument-type - Argument to function `restore_dropped_levels_multijoin` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`, found `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]] | None`
[error] invalid-argument-type - Argument to function `restore_dropped_levels_multijoin` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]]`, found `ndarray[tuple[Any, ...], dtype[signedinteger[_64Bit]]] | None`
[error] unresolved-attribute - Attribute `flags` is not defined on `ExtensionArray` in union `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`

pandas/core/internals/blocks.py

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

pandas/core/resample.py

[error] invalid-return-type - Return type does not match returned value: expected `FreqIndexT@_asfreq_compat`, found `DatetimeIndex | TimedeltaIndex`
[error] invalid-return-type - Return type does not match returned value: expected `FreqIndexT@_asfreq_compat`, found `PeriodIndex | DatetimeIndex | TimedeltaIndex`

prefect (https://github.com/PrefectHQ/prefect)

src/prefect/utilities/templating.py

[error] invalid-argument-type - Argument to function `find_placeholders` is incorrect: Argument type `object` does not satisfy constraints (`str`, `int`, `int | float`, `bool`, `dict[Any, Any]`, `list[Any]`, `None`) of type variable `T`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values | Unknown`
[error] no-matching-overload - No overload of bound method `replace` matches arguments
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@apply_values | Unknown`
[error] no-matching-overload - No overload of bound method `replace` matches arguments
[error] no-matching-overload - No overload of function `apply_values` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown & ~<class 'NotSet'>` on object of type `dict[str, Any]`
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `object` on object of type `dict[str, Any]`
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `object` and value of type `Unknown` on object of type `dict[str, Any]`
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables | Unknown`
[error] no-matching-overload - No overload of bound method `replace` matches arguments
[warning] possibly-missing-attribute - Attribute `replace` may be missing on object of type `T@resolve_variables | Unknown`
[error] no-matching-overload - No overload of bound method `replace` matches arguments
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[Unknown, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_variables`, found `dict[object, Unknown]`

src/integrations/prefect-docker/tests/test_containers.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-docker/tests/test_images.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/prefect_kubernetes/jobs.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_custom_objects.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_deployments.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_jobs.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/integrations/prefect-kubernetes/tests/test_pods.py

flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable
flaky
(2/10)
[error] invalid-await - `object` is not awaitable

src/prefect/utilities/_engine.py

flaky
(2/10)
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`

schema_salad (https://github.com/common-workflow-language/schema_salad)

schema_salad/metaschema.py

[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$namespaces"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$namespaces"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$schemas"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$schemas"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$base"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$base"]`

schema_salad/python_codegen_support.py

[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$namespaces"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$namespaces"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$schemas"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$schemas"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `Never`, found `Literal["$base"]`
[error] invalid-argument-type - Argument to bound method `pop` is incorrect: Expected `int`, found `Literal["$base"]`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/metadata/__init__.py

[error] unresolved-attribute - Object of type `object` has no attribute `items`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-argument-type - Argument is incorrect: Expected `str`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[Unknown, dict[str, str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, dict[str, str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[Unknown, list[str]]`
[error] invalid-return-type - Return type does not match returned value: expected `T@_process_dynamic_metadata`, found `dict[object, list[str]]`
[error] not-iterable - Object of type `object` is not iterable

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

scipy/signal/_ltisys.py

[warning] possibly-unresolved-reference - Name `h` used when possibly not defined

werkzeug (https://github.com/pallets/werkzeug)

src/werkzeug/test.py

[error] invalid-yield - Send type `Never` does not match annotated send type `None`
[error] invalid-yield - Yield type `tuple[object, object]` does not match annotated yield type `tuple[str, Any]`

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

xarray/coding/cftime_offsets.py

[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`
[error] invalid-assignment - Object of type `str` is not assignable to `T_FreqStr@_legacy_to_new_freq`

xarray/computation/rolling.py

[error] invalid-return-type - Return type does not match returned value: expected `T_Xarray@Coarsen`, found `DataArray`

xarray/core/indexes.py

[error] invalid-assignment - Object of type `PandasIndex` is not assignable to `T_PandasOrXarrayIndex@Indexes`
[error] invalid-assignment - Object of type `Index` is not assignable to `T_PandasOrXarrayIndex@Indexes`