Ecosystem report

Old: main (merge base) 06e77271 New: 25538/merge d76765b6
Lint Rule Removed Added Changed
Total 0 82 2
invalid-argument-type 0 28 0
invalid-assignment 0 17 2
invalid-return-type 0 16 0
unsupported-operator 0 7 0
no-matching-overload 0 4 0
not-iterable 0 4 0
unresolved-attribute 0 4 0
invalid-await 0 2 0
Project Removed Added Changed
Total 0 82 2
jax 0 8 0
meson 0 6 0
openlibrary 0 6 0
dulwich 0 5 0
prefect 0 5 0
core 0 4 0
dd-trace-py 0 3 1
pandas 0 3 1
pip 0 4 0
rich 0 4 0
werkzeug 0 4 0
bokeh 0 3 0
xarray 0 3 0
kopf 0 2 0
psycopg 0 2 0
scikit-learn 0 2 0
setuptools 0 2 0
websockets 0 2 0
archinstall 0 1 0
beartype 0 1 0

archinstall (https://github.com/archlinux/archinstall)

archinstall/lib/utils/format.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `object`

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

beartype/vale/_core/_valecore.py

[error] invalid-return-type - Return type does not match returned value: expected `str | (() -> str)`, found `object`

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

src/bokeh/core/property/bases.py

[error] invalid-return-type - Return type does not match returned value: expected `T@Property`, found `object`

src/bokeh/io/notebook.py

[error] invalid-argument-type - Argument to function `server_document` is incorrect: Expected `str`, found `object`

src/bokeh/plotting/graph.py

[error] invalid-argument-type - Argument to `StaticLayoutProvider.__init__` is incorrect: Expected `dict[int | str, Sequence[int | float]]`, found `object`

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

homeassistant/components/reolink/select.py

[error] invalid-assignment - Object of type `object` is not assignable to attribute `_attr_options` of type `list[str]`

homeassistant/components/tomorrowio/sensor.py

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

homeassistant/helpers/schema_config_entry_flow.py

[error] invalid-await - `object` is not awaitable

homeassistant/helpers/service.py

[error] invalid-argument-type - Argument to function `_get_permissible_entity_candidates` is incorrect: Expected `Mapping[str, Entity]`, found `object`

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

ddtrace/internal/settings/_config.py

[error] invalid-return-type - Return type does not match returned value: expected `None | int | float | ... omitted 3 union elements`, found `object`

ddtrace/llmobs/_prompts/prompt.py

[error] invalid-argument-type - Argument to function `extract_template` is incorrect: Expected `Mapping[str, Any]`, found `Top[dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `dict.get` is incorrect: Expected `Never`, found `Literal["version"]`
[error] invalid-assignment - Object of type `(Unknown & ~Top[dict[Unknown, Unknown]]) | str | list[Message] | (Prompt & ~Top[dict[Unknown, Unknown]])` is not assignable to `str | list[Message]`
[error] invalid-assignment - Object of type `~Top[dict[Unknown, Unknown]]` is not assignable to `str | list[Message]`

django-modern-rest (https://github.com/wemake-services/django-modern-rest)

dmr/openapi/generators/schema.py

[error] invalid-return-type - Return type does not match returned value: expected `Schema | Reference | None`, found `object`

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

dulwich/repo.py

[error] invalid-assignment - Object of type `object` is not assignable to `bytes | None`

dulwich/worktree.py

[error] unresolved-attribute - Attribute `encode` is not defined on `((Any, Commit, /) -> bytes) & ~bytes` in union `str | (((Any, Commit, /) -> bytes) & ~bytes)`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal[b"commit: "]` and `bytes | (((Any, Commit, /) -> bytes) & ~str)`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Literal[b"commit: "]` and `bytes | (((Any, Commit, /) -> bytes) & ~str)`
[error] invalid-assignment - Object of type `object` is not assignable to `str | bytes | ((Any, Commit, /) -> bytes) | None`

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

freqtrade/strategy/informative_decorator.py

[error] invalid-argument-type - Argument to function `merge_informative_pair` is incorrect: Expected `str`, found `object`

graphql-core (https://github.com/graphql-python/graphql-core)

src/graphql/type/definition.py

[error] invalid-return-type - Return type does not match returned value: expected `T@resolve_thunk`, found `object`

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

jax/_src/linear_util.py

[error] invalid-argument-type - Argument to class `tuple` is incorrect: Expected `Iterable[Unknown]`, found `object`

jax/_src/scipy/stats/kde.py

[error] unsupported-operator - Operator `**` is not supported between objects of type `object` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `object` and `Literal[2]`

jax/_src/xla_bridge.py

[error] no-matching-overload - No overload of bound method `MutableMapping.update` matches arguments

jax/experimental/pallas/ops/tpu/megablox/gmm.py

[error] not-iterable - Object of type `(int, int, int, /) -> tuple[int, int, int] | None` is not iterable
[error] not-iterable - Object of type `(int, int, int, /) -> tuple[int, int, int] | None` is not iterable
[error] invalid-assignment - Object of type `object` is not assignable to `tuple[int, int, int] | ((int, int, int, /) -> tuple[int, int, int] | None) | None`
[error] invalid-assignment - Object of type `object` is not assignable to `tuple[int, int, int] | ((int, int, int, /) -> tuple[int, int, int] | None) | None`

kopf (https://github.com/nolar/kopf)

kopf/_core/engines/daemons.py

[error] invalid-argument-type - Argument to function `sleep` is incorrect: Expected `int | float | Collection[int | float | None] | None`, found `object`
[error] invalid-argument-type - Argument to function `sleep` is incorrect: Expected `int | float | Collection[int | float | None] | None`, found `object`

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

mesonbuild/compilers/compilers.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `CompilerArgs` and `CompilerArgs | list[str] | ((CompileCheckMode, /) -> list[str])`
[error] invalid-assignment - Object of type `object` is not assignable to `None | CompilerArgs | list[str] | ((CompileCheckMode, /) -> list[str])`

mesonbuild/compilers/d.py

[error] invalid-argument-type - Argument to bound method `list.extend` is incorrect: Expected `Iterable[str]`, found `list[str] | (((CompileCheckMode, /) -> list[str]) & Top[list[Unknown]])`
[error] invalid-assignment - Object of type `object` is not assignable to `list[str] | ((CompileCheckMode, /) -> list[str]) | None`

mesonbuild/compilers/vala.py

[error] unsupported-operator - Operator `+=` is not supported between objects of type `CompilerArgs` and `CompilerArgs | list[str] | ((CompileCheckMode, /) -> list[str])`
[error] invalid-assignment - Object of type `object` is not assignable to `None | CompilerArgs | list[str] | ((CompileCheckMode, /) -> list[str])`

mypy_primer (https://github.com/hauntsaninja/mypy_primer)

mypy_primer/git_utils.py

[error] invalid-await - `object` is not awaitable

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

nox/_option_set.py

[error] invalid-return-type - Return type does not match returned value: expected `bool | str | None | list[str]`, found `object`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/core/cache.py

[error] invalid-argument-type - Argument to bound method `memoize.cache_get` is incorrect: Expected `str | tuple[Unknown, ...]`, found `object`
[error] invalid-argument-type - Argument to bound method `memoize.cache_set` is incorrect: Expected `str | tuple[Unknown, ...]`, found `object`
[error] invalid-argument-type - Argument to bound method `memoize.cache_get` is incorrect: Expected `str | tuple[Unknown, ...]`, found `object`
[error] invalid-argument-type - Argument to bound method `memoize.cache_set` is incorrect: Expected `str | tuple[Unknown, ...]`, found `object`

openlibrary/plugins/worksearch/schemes/__init__.py

[error] unresolved-attribute - Object of type `object` has no attribute `split`
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`

paasta (https://github.com/yelp/paasta)

paasta_tools/async_utils.py

[error] invalid-argument-type - Argument to function `_ensure_coroutine` is incorrect: Expected `Awaitable[Unknown]`, found `object`

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

pandas/core/apply.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] unresolved-attribute - Object of type `object` has no attribute `copy`

pandas/io/formats/style.py

[error] invalid-assignment - Object of type `object` is not assignable to `int | float`

pandas/util/_decorators.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `Unknown | ~None` on object of type `P@_deprecate_kwarg.kwargs`
[error] invalid-assignment - Invalid subscript assignment with key of type `str` and value of type `object` on object of type `P@_deprecate_kwarg.kwargs`

pip (https://github.com/pypa/pip)

src/pip/_vendor/rich/_log_render.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `ConsoleRenderable | RichCast | str`, found `object`
[error] invalid-assignment - Object of type `object` is not assignable to attribute `_last_time` of type `Text | None`

src/pip/_vendor/rich/text.py

[error] invalid-argument-type - Argument is incorrect: Expected `str | Style`, found `~None`

poetry (https://github.com/python-poetry/poetry)

src/poetry/utils/cache.py

[error] invalid-return-type - Return type does not match returned value: expected `T@FileCache`, found `object`

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

src/integrations/prefect-dask/prefect_dask/task_runners.py

[error] invalid-argument-type - Argument to bound method `_BaseExitStack.enter_context` is incorrect: Expected `AbstractContextManager[Unknown, bool | None]`, found `object`
[error] invalid-argument-type - Argument to bound method `_BaseExitStack.enter_context` is incorrect: Expected `AbstractContextManager[Unknown, bool | None]`, found `object`

src/prefect/_internal/engine.py

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

src/prefect/tasks.py

[error] invalid-assignment - Object of type `object` is not assignable to attribute `retry_delay_seconds` of type `int | float | list[int | float] | None`

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

psycopg_pool/psycopg_pool/pool.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `object`
[error] invalid-return-type - Return type does not match returned value: expected `dict[str, Any]`, found `object`

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

rich/_log_render.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `object`
[error] invalid-argument-type - Argument to bound method `list.append` is incorrect: Expected `ConsoleRenderable | RichCast | str`, found `object`
[error] invalid-assignment - Object of type `object` is not assignable to attribute `_last_time` of type `Text | None`

rich/text.py

[error] invalid-argument-type - Argument is incorrect: Expected `str | Style`, found `~None`

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

src/schemathesis/core/marks.py

[error] invalid-return-type - Return type does not match returned value: expected `T@Mark | None`, found `object`

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

sklearn/gaussian_process/_gpc.py

[error] not-iterable - Object of type `object` is not iterable

sklearn/gaussian_process/_gpr.py

[error] not-iterable - Object of type `object` is not iterable

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

scrapy/downloadermiddlewares/retry.py

[error] invalid-assignment - Object of type `object` is not assignable to `str | Exception | type[Exception]`

setuptools (https://github.com/pypa/setuptools)

setuptools/config/expand.py

[error] no-matching-overload - No overload of bound method `str.join` matches arguments
[error] invalid-argument-type - Argument to constructor `map.__new__` is incorrect: Expected `Iterable[Buffer]`, found `<Protocol with members '__iter__'> & ~str`

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/types/fields/resolver.py

[error] invalid-return-type - Return type does not match returned value: expected `T@StrawberryResolver`, found `object`

tornado (https://github.com/tornadoweb/tornado)

tornado/escape.py

[error] unresolved-attribute - Object of type `object` has no attribute `strip`

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

test/datasets_utils.py

[error] invalid-argument-type - Argument to function `create_image_file` is incorrect: Expected `Sequence[int] | int`, found `object`

websockets (https://github.com/aaugustin/websockets)

src/websockets/legacy/server.py

[error] invalid-argument-type - Argument to bound method `Headers.update` is incorrect: Expected `Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem`, found `Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem | ((str, Headers, /) -> Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem)`
[error] invalid-assignment - Object of type `object` is not assignable to `Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem | ((str, Headers, /) -> Mapping[str, str] | Iterable[tuple[str, str]] | SupportsKeysAndGetItem) | None`

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

src/werkzeug/middleware/profiler.py

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

src/werkzeug/utils.py

[error] unsupported-operator - Operator `>` is not supported between objects of type `int | ((str | None, /) -> int | None)` and `Literal[0]`
[error] invalid-assignment - Object of type `int | ((str | None, /) -> int | None)` is not assignable to attribute `max_age` of type `int | None`
[error] invalid-assignment - Object of type `object` is not assignable to `None | int | ((str | None, /) -> int | None)`

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

xarray/core/common.py

[error] invalid-return-type - Return type does not match returned value: expected `dict[Hashable, T@_calc_assign_results]`, found `dict[Hashable, object]`

xarray/core/dataarray.py

[error] invalid-argument-type - Argument to bound method `Dataset.drop_vars` is incorrect: Expected `Iterable[Hashable] | ((Dataset, /) -> Iterable[Hashable])`, found `object`

xarray/core/dataset.py

[error] invalid-assignment - Object of type `object` is not assignable to `Iterable[Hashable] | ((Self@drop_vars, /) -> Iterable[Hashable])`