Ecosystem report

Old: main (merge base) 93c8c59a → New: 26279/merge 94bd5d3b
Lint Rule Removed Added Changed
Total 3 72 13
unresolved-attribute 0 25 11
unsupported-operator 0 30 0
invalid-argument-type 3 8 1
invalid-return-type 0 5 0
no-matching-overload 0 4 0
invalid-assignment 0 0 1
Project Removed Added Changed
Total 3 72 13
prefect 1 33 1
sympy 0 34 0
asynq 0 0 10
rotki 0 2 0
scipy 0 1 1
core 1 0 0
nox 0 0 1
optuna 0 1 0
scrapy 0 1 0
xarray 1 0 0

asynq (https://github.com/quora/asynq)

asynq/tools.py

[error] unresolved-attribute - Unresolved attribute `__acached_per_instance_cache__` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `__acached_per_instance_cache__` on type `AsyncDecorator[Any, (self, *args, **kwargs)]`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, (...)]` has no attribute `alazy_constant_refresh_time`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, ()]` has no attribute `alazy_constant_refresh_time`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, (...)]` has no attribute `alazy_constant_refresh_time`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, ()]` has no attribute `alazy_constant_refresh_time`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_cached_value` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_cached_value` on type `AsyncDecorator[Any, ()]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, ()]`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, (...)]` has no attribute `alazy_constant_cached_value`
[error] unresolved-attribute - Object of type `AsyncDecorator[Any, ()]` has no attribute `alazy_constant_cached_value`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, ()]`
[error] unresolved-attribute - Unresolved attribute `dirty` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `dirty` on type `AsyncDecorator[Any, ()]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_refresh_time` on type `AsyncDecorator[Any, ()]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_cached_value` on type `AsyncDecorator[Any, (...)]`
[error] unresolved-attribute - Unresolved attribute `alazy_constant_cached_value` on type `AsyncDecorator[Any, ()]`

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

homeassistant/core.py

[error] invalid-argument-type - Argument to bound method `EventBus._async_listen_filterable_job` is incorrect: Expected `EventType[Mapping[str, Any]] | str`, found `EventType[_DataT@async_listen_once] | str`

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

nox/_decorators.py

[error] unresolved-attribute - Unresolved attribute `__kwdefaults__` on type `_Wrapped[(...), Unknown, (...), Unknown]`
[error] unresolved-attribute - Unresolved attribute `__kwdefaults__` on type `_Wrapped[(...), Unknown, (...), Any]`

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

optuna/samplers/_tpe/_truncnorm.py

[error] unresolved-attribute - Attribute `astype` is not defined on `int`, `float` in union `int | float | ndarray[tuple[Any, ...], dtype[object_]]`

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

src/integrations/prefect-aws/tests/test_batch.py

[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, Any] | None`, found `Literal[True]`
[error] invalid-argument-type - Argument to function `assert_valid_job_id` is incorrect: Expected `str | None`, found `Unknown | Coroutine[Any, Any, Unknown]`

src/integrations/prefect-aws/tests/test_client_waiter.py

[error] invalid-argument-type - Argument is incorrect: Expected `dict[str, Any] | None`, found `Literal[True]`

src/integrations/prefect-gcp/tests/test_cloud_storage.py

[error] no-matching-overload - No overload matches arguments

src/integrations/prefect-github/tests/test_graphql.py

[error] no-matching-overload - No overload matches arguments
[error] no-matching-overload - No overload matches arguments
[error] no-matching-overload - No overload matches arguments

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

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

src/prefect/deployments/runner.py

[error] unresolved-attribute - Attribute `name` is not defined on `Awaitable[Flow[P@load_flow_from_entrypoint, Any]]` in union `Flow[P@load_flow_from_entrypoint, Any] | Awaitable[Flow[P@load_flow_from_entrypoint, Any]]`
[error] invalid-argument-type - Argument to function `RunnerDeployment._set_defaults_from_flow` is incorrect: Expected `Flow[(...), Any]`, found `Flow[P@load_flow_from_entrypoint, Any] | Awaitable[Flow[P@load_flow_from_entrypoint, Any]]`

src/prefect/flows.py

[error] invalid-return-type - Return type does not match returned value: expected `UUID`, found `CoroutineType[Any, Any, UUID] | UUID`

src/prefect/runner/runner.py

[error] invalid-return-type - Return type does not match returned value: expected `UUID`, found `CoroutineType[Any, Any, UUID] | UUID`
[error] invalid-return-type - Return type does not match returned value: expected `UUID`, found `CoroutineType[Any, Any, UUID] | UUID`

src/prefect/runtime/deployment.py

[error] unresolved-attribute - Attribute `deployment_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `deployment_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `parameters` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `name` is not defined on `CoroutineType[Any, Any, DeploymentResponse]` in union `CoroutineType[Any, Any, DeploymentResponse] | DeploymentResponse`
[error] unresolved-attribute - Attribute `version` is not defined on `CoroutineType[Any, Any, DeploymentResponse]` in union `CoroutineType[Any, Any, DeploymentResponse] | DeploymentResponse`

src/prefect/runtime/flow_run.py

[error] unresolved-attribute - Attribute `tags` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `run_count` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `name` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `name` is not defined on `CoroutineType[Any, Any, Flow]` in union `CoroutineType[Any, Any, Flow] | Flow`
[error] unresolved-attribute - Object of type `CoroutineType[Any, Any, Flow] | Flow` has no attribute `version`
[error] unresolved-attribute - Attribute `expected_start_time` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `parameters` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `parent_task_run_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `flow_run_id` is not defined on `CoroutineType[Any, Any, TaskRun]` in union `CoroutineType[Any, Any, TaskRun] | TaskRun`
[error] unresolved-attribute - Attribute `flow_run_id` is not defined on `CoroutineType[Any, Any, TaskRun]` in union `CoroutineType[Any, Any, TaskRun] | TaskRun`
[error] unresolved-attribute - Attribute `deployment_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | (FlowRun & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `deployment_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | (FlowRun & ~AlwaysFalsy)`
[error] unresolved-attribute - Attribute `parent_task_run_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] invalid-argument-type - Argument to function `create_call` is incorrect: Expected `str`, found `UUID`
[error] unresolved-attribute - Attribute `parent_task_run_id` is not defined on `CoroutineType[Any, Any, FlowRun]` in union `CoroutineType[Any, Any, FlowRun] | FlowRun`
[error] unresolved-attribute - Attribute `flow_run_id` is not defined on `CoroutineType[Any, Any, TaskRun]` in union `CoroutineType[Any, Any, TaskRun] | TaskRun`
[error] invalid-argument-type - Argument to function `create_call` is incorrect: Expected `str`, found `UUID | (Unknown & ~None)`
[error] invalid-argument-type - Argument to function `create_call` is incorrect: Expected `str`, found `UUID`

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

rotkehlchen/exchanges/binance.py

[error] invalid-argument-type - Argument to function `trade_from_binance` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | SupportsGetItem[Any, Any]`

rotkehlchen/tests/api/test_manually_tracked_balances.py

[error] invalid-argument-type - Argument to function `assert_balances_match` is incorrect: Expected `list[dict[str, Any]]`, found `list[SupportsGetItem[Any, Any]]`

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

scipy/_lib/tests/test__util.py

[error] invalid-argument-type - Argument to bound method `Pool.map` is incorrect: Expected `(int | float | complex | ... omitted 6 union elements, /) -> Any | ndarray[tuple[Any, ...], dtype[Any]]`, found `_UFunc_Nin1_Nout1[Literal["sin"], Literal[9], None]`

scipy/fft/_helper.py

[error] invalid-assignment - Object of type `_Wrapped[(target, real=False), Unknown, (...), Unknown]` is not assignable to `def prev_fast_len(target, real=False) -> Unknown`
[error] invalid-assignment - Object of type `_Wrapped[(target, real=False), Unknown, (*args: Hashable, **kwargs: Hashable), Unknown]` is not assignable to `def prev_fast_len(target, real=False) -> Unknown`

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

docs/_ext/scrapydocs.py

[error] invalid-return-type - Return type does not match returned value: expected `list[SettingData]`, found `list[SettingData | SupportsGetItem[Any, Any]]`

steam.py (https://github.com/Gobot1234/steam.py)

steam/chat.py

flaky
(1/10)
[warning] possibly-missing-attribute - Attribute `reactions` may be missing on object of type `ChatMessageT@Chat`

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

sympy/physics/hydrogen.py

[error] unsupported-operator - Operator `-` is not supported between two objects of type `Basic | Unknown | int`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Literal[1]` and `Basic | Unknown | int`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown | int`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown | int`
[error] unsupported-operator - Operator `+` is not supported between two objects of type `Basic | Unknown | int`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown | int`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `int` in union `Basic | Unknown | int`
[error] unsupported-operator - Operator `<` is not supported between objects of type `Basic | Unknown | int` and `Literal[1]`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `int` in union `Basic | Unknown | int`
[error] unsupported-operator - Operator `>` is not supported between two objects of type `Basic | Unknown | int`
[error] unresolved-attribute - Attribute `is_integer` is not defined on `int` in union `Basic | Unknown | int`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `Basic | Unknown | int`
[error] unsupported-operator - Operator `>=` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[0]`
[error] unsupported-operator - Operator `>` is not supported between two objects of type `Basic | int | float | complex | Any`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | int | float | complex | Any`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Basic | int | float | complex | Any` and `int | float | complex | Any`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | int | float | complex | Any` and `Literal[2]`

sympy/physics/qho_1d.py

[error] unsupported-operator - Operator `*` is not supported between two objects of type `Basic | Unknown`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Literal[2]` and `Basic | Unknown`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | Unknown` and `Literal[2]`

sympy/physics/sho.py

[error] unsupported-operator - Operator `+` is not supported between objects of type `Basic | Unknown` and `Literal[1]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown`
[error] unsupported-operator - Operator `**` is not supported between two objects of type `Basic | Unknown`
[error] unsupported-operator - Unary operator `-` is not supported for object of type `Basic | Unknown`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | Unknown` and `Literal[2]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Basic | Unknown`
[error] unsupported-operator - Operator `**` is not supported between objects of type `Basic | Unknown` and `Literal[2]`

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

xarray/core/groupby.py

[error] invalid-argument-type - Argument to function `reduce` is incorrect: Expected `(DataArray, DataArray, /) -> DataArray`, found `_UFunc_Nin2_Nout1[Literal["logical_or"], Literal[20], Literal[False]]`