Ecosystem report

Old: main (merge base) 2d6ce561 New: 24174/merge a146ecf5
Lint Rule Removed Added Changed
Total 29 108 3
invalid-argument-type 3 36 3
invalid-await 0 40 0
missing-typed-dict-key 1 12 0
unused-type-ignore-comment 13 0 0
invalid-key 3 7 0
unresolved-attribute 7 0 0
invalid-assignment 0 5 0
invalid-method-override 0 5 0
invalid-return-type 2 2 0
no-matching-overload 0 1 0
Project Removed Added Changed
Total 29 108 3
prefect flaky 0 42 0
meson 7 19 0
dragonchain 0 24 0
operator 5 19 0
ppb-vector 9 0 0
graphql-core 6 0 0
isort 0 0 3
static-frame 0 2 0
artigraph 0 1 0
hydra-zen 1 0 0
pandera 1 0 0
scipy-stubs 0 1 0
scikit-build-core flaky 0 0 0

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

src/arti/types/python.py

[error] invalid-argument-type - Expected a dict literal for parameter `fields` of `TypedDict()`

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

dragonchain/lib/dto/api_key_model.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `permissions_doc`, found `permissions_doc | dict[str, str | bool | dict[Unknown, Unknown]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `permissions_doc`, found `permissions_doc | dict[str, str | bool | dict[Unknown, Unknown]]`

dragonchain/transaction_processor/level_3_actions_utest.py

[error] invalid-argument-type - Argument to function `verify_blocks` is incorrect: Expected `L1Headers`, found `dict[str, str]`

dragonchain/webserver/helpers_utest.py

[error] invalid-argument-type - Argument to function `verify_custom_indexes_options` is incorrect: Expected `Iterable[custom_index]`, found `list[dict[str, str]]`
[error] missing-typed-dict-key - Missing required key 'options' in TypedDict `custom_index` constructor
[error] invalid-argument-type - Argument to function `verify_custom_indexes_options` is incorrect: Expected `Iterable[custom_index]`, found `list[dict[str, str]]`
[error] missing-typed-dict-key - Missing required key 'options' in TypedDict `custom_index` constructor
[error] invalid-argument-type - Argument to function `verify_custom_indexes_options` is incorrect: Expected `Iterable[custom_index]`, found `list[dict[str, str]]`
[error] missing-typed-dict-key - Missing required key 'options' in TypedDict `custom_index` constructor

dragonchain/webserver/lib/api_keys_utest.py

[error] invalid-argument-type - Argument to function `create_api_key_v1` is incorrect: Expected `permissions_doc | None`, found `dict[str, str]`
[error] missing-typed-dict-key - Missing required key 'default_allow' in TypedDict `permissions_doc` constructor
[error] missing-typed-dict-key - Missing required key 'permissions' in TypedDict `permissions_doc` constructor
[error] missing-typed-dict-key - Missing required key 'version' in TypedDict `permissions_doc` constructor
[error] invalid-key - Unknown key "wind" for TypedDict `permissions_doc`
[error] invalid-argument-type - Argument to function `update_api_key_v1` is incorrect: Expected `permissions_doc | None`, found `dict[str, str]`
[error] missing-typed-dict-key - Missing required key 'default_allow' in TypedDict `permissions_doc` constructor
[error] missing-typed-dict-key - Missing required key 'permissions' in TypedDict `permissions_doc` constructor
[error] missing-typed-dict-key - Missing required key 'version' in TypedDict `permissions_doc` constructor
[error] invalid-key - Unknown key "definitely" for TypedDict `permissions_doc`

dragonchain/lib/database/redisearch_utest.py

[error] invalid-argument-type - Argument to function `create_transaction_index` is incorrect: Expected `Iterable[custom_index] | None`, found `list[dict[str, str]]`
[error] missing-typed-dict-key - Missing required key 'options' in TypedDict `custom_index` constructor

dragonchain/transaction_processor/level_4_actions_utest.py

[error] invalid-argument-type - Argument to function `verify_blocks` is incorrect: Expected `L1Headers`, found `dict[str, int | str]`
[error] invalid-argument-type - Invalid argument to key "dc_id" with declared type `str` on TypedDict `L1Headers`: value of type `Literal[123]`
[error] invalid-argument-type - Invalid argument to key "block_id" with declared type `str` on TypedDict `L1Headers`: value of type `Literal[124]`

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

tests/utilities/test_build_client_schema.py

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

hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)

src/hydra_zen/wrapper/_implementations.py

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

isort (https://github.com/pycqa/isort)

isort/output.py

[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `@Todo(Functional TypedDicts) | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Any | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `@Todo(Functional TypedDicts) | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Any | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `@Todo(Functional TypedDicts) | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `import_statement` is incorrect: Expected `Sequence[str]`, found `Any | None | list[Unknown]`

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

mesonbuild/cargo/manifest.py

[error] no-matching-overload - No overload of function `_depv_to_dep` matches arguments
[error] missing-typed-dict-key - Missing required key 'workspace' in TypedDict `FromWorkspace` constructor
[error] invalid-key - Unknown key "version" for TypedDict `FromWorkspace`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `LibTarget`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `BuildTarget`, found `dict[str, str]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `BuildTarget`, found `dict[str, str]`

unittests/cargotests.py

[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, dict[str, str] | FromWorkspace]`
[error] missing-typed-dict-key - Missing required key 'version' in TypedDict `Package` constructor
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, dict[str, str]]`
[error] missing-typed-dict-key - Missing required key 'version' in TypedDict `Package` constructor
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `Manifest`, found `dict[str, object]`
[error] invalid-key - Unknown key "optional" for TypedDict `FromWorkspace`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `FromWorkspace | Dependency | str`, found `dict[str, bool]`
[error] invalid-key - Unknown key "features" for TypedDict `FromWorkspace`
[error] invalid-argument-type - Argument to bound method `from_raw` is incorrect: Expected `FromWorkspace | Dependency | str`, found `dict[str, bool | list[str]]`

operator (https://github.com/canonical/operator)

ops/_private/harness.py

[error] invalid-assignment - Invalid subscript assignment with key of type `tuple[str | None, int | None]` and value of type `dict[str, list[dict[str, str | list[dict[str, str]]]] | list[str]]` on object of type `dict[tuple[str | None, int | None], _NetworkDict]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `str | (LayerDict & Top[dict[Unknown, Unknown]]) | (Layer & Top[dict[Unknown, Unknown]])`

ops/model.py

[error] invalid-return-type - Return type does not match returned value: expected `_StatusDict`, found `dict[str, str]`
[error] invalid-argument-type - Invalid argument to key "status" with declared type `Literal["active", "blocked", "maintenance", "waiting", "error", "unknown"]` on TypedDict `_StatusDict`: value of type `str`

ops/pebble.py

[error] invalid-method-override - Invalid override of method `__eq__`: Definition is incompatible with `object.__eq__`
[error] invalid-method-override - Invalid override of method `__eq__`: Definition is incompatible with `object.__eq__`
[error] invalid-assignment - Object of type `(ServiceDict & ~AlwaysFalsy) | dict[Unknown, Unknown]` is not assignable to `ServiceDict`
[error] invalid-method-override - Invalid override of method `__eq__`: Definition is incompatible with `object.__eq__`
[error] invalid-assignment - Object of type `(CheckDict & ~AlwaysFalsy) | dict[Unknown, Unknown]` is not assignable to `CheckDict`
[error] invalid-method-override - Invalid override of method `__eq__`: Definition is incompatible with `object.__eq__`
[error] invalid-key - TypedDict `ExecDict` can only be subscripted with a string literal key, got key of type `str`.
[error] invalid-key - TypedDict `ExecDict` can only be subscripted with a string literal key, got key of type `str & ~Literal["environment"]`.
[error] invalid-key - TypedDict `HttpDict` can only be subscripted with a string literal key, got key of type `str`.
[error] invalid-key - TypedDict `HttpDict` can only be subscripted with a string literal key, got key of type `str & ~Literal["headers"]`.
[error] invalid-key - TypedDict `TcpDict` can only be subscripted with a string literal key, got key of type `str`.
[error] invalid-assignment - Object of type `(LogTargetDict & ~AlwaysFalsy) | dict[Unknown, Unknown]` is not assignable to `LogTargetDict`
[error] invalid-method-override - Invalid override of method `__eq__`: Definition is incompatible with `object.__eq__`
[error] invalid-argument-type - Invalid argument to key "access" with declared type `Literal["untrusted", "metrics", "read", "admin"]` on TypedDict `IdentityDict`: value of type `str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | LayerDict | None`, found `(LayerDict & Top[dict[Unknown, Unknown]]) | (Layer & Top[dict[Unknown, Unknown]])`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

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

pandera/engines/pandas_engine.py

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

ppb-vector (https://github.com/ppb/ppb-vector)

tests/test_length.py

[error] unresolved-attribute - Object of type `int | float` has no attribute `length`

tests/test_project.py

[error] unresolved-attribute - Object of type `int | float` has no attribute `isclose`

tests/test_scalar_multiplication.py

[error] unresolved-attribute - Object of type `int | float` has no attribute `x`
[error] unresolved-attribute - Object of type `int | float` has no attribute `y`
[error] unresolved-attribute - Object of type `int | float` has no attribute `isclose`
[error] unresolved-attribute - Object of type `int | float` has no attribute `isclose`
[error] unresolved-attribute - Object of type `int | float` has no attribute `length`

ppb_vector/__init__.py

[error] invalid-return-type - Return type does not match returned value: expected `Vector`, found `int | float`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[Vector, Vector]`, found `tuple[int | float, Vector]`

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

src/prefect/cli/deployment.py

[error] invalid-assignment - Invalid assignment to key "anchor_date" with declared type `str` on TypedDict `IntervalScheduleOptions`: value of type `datetime`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

src/prefect/utilities/_engine.py

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

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

scipy-stubs/integrate/_quadpack_py.pyi

[error] invalid-argument-type - Expected a string-literal key in the `fields` dict of `TypedDict()`: Found `Literal[0]`

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

static_frame/test/unit/test_type_clinic.py

[error] invalid-argument-type - Expected a dict literal for parameter `fields` of `TypedDict()`
[error] invalid-argument-type - Expected a dict literal for parameter `fields` of `TypedDict()`