Ecosystem report

Old: main (merge base) 16c4090d New: 24518/merge 4cc87b7a
Lint Rule Removed Added Changed
Total 67 81 10
invalid-argument-type 0 53 3
invalid-await 40 0 0
unused-type-ignore-comment 26 0 0
invalid-assignment 0 3 3
unknown-argument 0 5 0
unresolved-attribute 0 3 2
possibly-missing-submodule 0 4 0
unsupported-operator 0 4 0
invalid-type-form 0 3 0
call-top-callable 0 2 0
invalid-return-type 1 0 1
call-non-callable 0 1 0
invalid-parameter-default 0 0 1
missing-argument 0 1 0
not-iterable 0 1 0
redundant-cast 0 1 0
Project Removed Added Changed
Total 67 81 10
prefect 41 1 1
spack 8 22 1
meson 0 26 0
static-frame 6 12 5
rotki 8 7 0
pydantic 1 8 0
jinja 1 3 0
comtypes 2 0 0
paasta 0 0 2
dulwich 0 1 0
hydra-zen 0 0 1
werkzeug 0 1 0
scikit-build-core flaky 0 0 0

comtypes (https://github.com/enthought/comtypes)

comtypes/_meta.py

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

comtypes/_post_coinit/unknwn.py

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

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

dulwich/object_store.py

[error] invalid-assignment - Object of type `Unknown | bytes` is not assignable to `ObjectID | RawObjectID`

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

src/hydra_zen/wrapper/_implementations.py

[error] invalid-parameter-default - Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | ... omitted 3 union elements, CustomBuildsFn: @Todo = ..., **kw: Any) -> DataClass_ | type[@Todo] | ListConfig | DictConfig` is not assignable to annotated parameter type `(F@__call__, /) -> Any`
[error] invalid-parameter-default - Default value of type `def default_to_config(target: ((...) -> Any) | DataClass_ | list[Any] | ... omitted 3 union elements, CustomBuildsFn: type[BuildsFn[Any]] = ..., **kw: Any) -> DataClass_ | type[@Todo] | ListConfig | DictConfig` is not assignable to annotated parameter type `(F@__call__, /) -> Any`

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

src/jinja2/compiler.py

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

tests/test_runtime.py

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

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

mesonbuild/interpreterbase/decorators.py

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

mesonbuild/linkers/detect.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `_unix_args_to_native` is incorrect: Expected `MachineInfo`, found `Unknown | MachineInfo | None`
[error] unsupported-operator - Operator `+` is not supported between objects of type `None | list[str]` and `list[str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `None | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `None | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `list[str]` and `None | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | list[str]`, found `None | str | list[str]`

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

paasta_tools/metrics/metrics_lib.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, @Todo].__getitem__(key: str, /) -> @Todo` cannot be called with key of type `None` on object of type `dict[str, @Todo]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, type[BaseMetrics]].__getitem__(key: str, /) -> type[BaseMetrics]` cannot be called with key of type `None` on object of type `dict[str, type[BaseMetrics]]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | None` and value of type `type[BaseMetrics]` on object of type `dict[str, @Todo]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | None` and value of type `type[BaseMetrics]` on object of type `dict[str, type[BaseMetrics]]`

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

src/prefect/blocks/core.py

[error] unknown-argument - Argument `_sync` does not match any known parameter

src/prefect/server/database/dependencies.py

[error] invalid-return-type - Return type does not match returned value: expected `PrefectDBInterface`, found `@Todo | DBSingleton`
[error] invalid-return-type - Return type does not match returned value: expected `PrefectDBInterface`, found `DBSingleton`

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`

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

pydantic/v1/annotated_types.py

[error] invalid-type-form - The special form `typing.TypedDict` is not allowed in parameter annotations
[error] invalid-type-form - The special form `typing.TypedDict` is not allowed in parameter annotations

pydantic/v1/dataclasses.py

[error] unresolved-attribute - Object of type `(...) -> None` has no attribute `__wrapped__`
[error] invalid-argument-type - Argument to function `_get_validators` is incorrect: Expected `type[Dataclass] | DataclassProxy`, found `<decorator produced by dataclass-like function>`

pydantic/v1/main.py

[error] invalid-argument-type - Argument to function `validate_model` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | GetterDict`

pydantic/v1/schema.py

[error] call-top-callable - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known
[error] call-top-callable - Object of type `Top[(...) -> object]` is not safe to call; its signature is not known

pydantic/v1/utils.py

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

pydantic/v1/validators.py

[error] invalid-type-form - The special form `typing.TypedDict` is not allowed in parameter annotations

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

rotkehlchen/history/events/structures/evm_swap.py

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

rotkehlchen/history/events/structures/eth2.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

rotkehlchen/history/events/structures/solana_swap.py

[error] invalid-argument-type - Cannot pop required field 'location' from TypedDict `SwapEventEntryData`
[error] missing-argument - No argument provided for required parameter `sequence_index` of bound method `__init__`
[error] unknown-argument - Argument `location` does not match any known parameter of bound method `__init__`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `TimestampMS`, found `str | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `Location`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

rotkehlchen/history/events/structures/swap.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `SwapEventExtraData | None`, found `dict[str, Any] | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str`, found `str | None`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

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

lib/spack/spack/version/git_ref_lookup.py

[error] unresolved-attribute - Object of type `type[PackageBase]` has no attribute `git`

lib/spack/spack/audit.py

[error] not-iterable - Object of type `Collection[Unknown] | None` may not be iterable

lib/spack/spack/builder.py

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

lib/spack/spack/detection/path.py

[warning] possibly-missing-submodule - Submodule `package_base` might not have been imported
[warning] possibly-missing-submodule - Submodule `package_base` might not have been imported
[warning] possibly-missing-submodule - Submodule `package_base` might not have been imported
[warning] possibly-missing-submodule - Submodule `package_base` might not have been imported

lib/spack/spack/fetch_strategy.py

[error] invalid-argument-type - Argument to function `hasattr` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `hasattr` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `hasattr` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `quote` is incorrect: Expected `list[str]`, found `set[@Todo]`
[error] invalid-argument-type - Argument to function `quote` is incorrect: Expected `list[str]`, found `set[str | None]`

lib/spack/spack/solver/asp.py

[error] call-non-callable - Object of type `object` is not callable

lib/spack/spack/test/cmd/checksum.py

[error] unresolved-attribute - Object of type `type[PackageBase]` has no attribute `url`

lib/spack/spack/test/cmd/dev_build.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

lib/spack/spack/test/packages.py

[error] invalid-argument-type - Argument to function `deprecated_version` is incorrect: Expected `PackageBase`, found `type[PackageBase]`
[error] invalid-argument-type - Argument to function `deprecated_version` is incorrect: Expected `PackageBase`, found `type[PackageBase]`

lib/spack/spack/test/patch.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `PackageBase | type[PackageBase]`, found `FakePackage`

lib/spack/spack/test/util/package_hash.py

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

lib/spack/spack/vendor/jinja2/compiler.py

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

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

static_frame/core/axis_map.py

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

static_frame/core/archive_npy.py

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

static_frame/core/container_util.py

[error] invalid-assignment - Object of type `(((...) -> IndexBase) & ~AlwaysFalsy) | (type[Index[Any]] & ~AlwaysFalsy) | (Iterable[((...) -> IndexBase) | type[Index[Any]] | None] & Top[(...) -> object] & ~AlwaysFalsy) | (type[IndexAutoConstructorFactory] & ~AlwaysFalsy)` is not assignable to `((...) -> IndexBase) | type[Index[Any] | IndexConstructorFactoryBase] | None | IndexConstructorFactoryBase`
[error] unknown-argument - Argument `index_constructors` does not match any known parameter of bound method `__init__`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[error] invalid-argument-type - Argument to function `to_index` is incorrect: Expected `type[IndexBase]`, found `((...) -> IndexBase) | @Todo | None`
[error] invalid-argument-type - Argument to function `to_index` is incorrect: Expected `type[IndexBase]`, found `((...) -> IndexBase) | type[Index[Any]] | None`
[error] unknown-argument - Argument `index_constructors` does not match any known parameter of bound method `__init__`
[error] unknown-argument - Argument `depth_reference` does not match any known parameter of bound method `__init__`

static_frame/core/frame.py

[error] invalid-argument-type - Argument to bound method `extend` is incorrect: Expected `Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`, found `GeneratorType[((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | (Iterable[((...) -> IndexBase) | type[Index[Any]] | None] & Top[(...) -> object]), None, None]`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

static_frame/core/index_auto.py

[error] unresolved-attribute - Attribute `STATIC` is not defined on `(...) -> IndexBase` in union `((...) -> IndexBase) | (@Todo & ~None)`
[error] unresolved-attribute - Attribute `STATIC` is not defined on `(...) -> IndexBase` in union `((...) -> IndexBase) | type[Index[Any]]`

static_frame/core/index_hierarchy.py

[error] invalid-argument-type - Argument to function `constructor_from_optional_constructor` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any] | IndexConstructorFactoryBase] | None | IndexConstructorFactoryBase`, found `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | (Iterable[((...) -> IndexBase) | type[Index[Any]] | None] & Top[(...) -> object])`
[error] invalid-assignment - Object of type `list[IndexBase | @Todo]` is not assignable to `list[Index[Any]]`
[error] invalid-assignment - Object of type `list[IndexBase]` is not assignable to `list[Index[Any]]`
[error] invalid-assignment - Object of type `list[IndexBase | @Todo]` is not assignable to `list[Index[Any]]`
[error] invalid-assignment - Object of type `list[IndexBase]` is not assignable to `list[Index[Any]]`

static_frame/core/quilt.py

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

static_frame/core/yarn.py

[error] invalid-assignment - Object of type `list[partial[Unknown] | <class 'IndexAutoConstructorFactory'>]` is not assignable to `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | None | Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`

static_frame/test/unit/test_bus.py

[error] invalid-argument-type - Argument to bound method `from_zip_npz` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any]] | None`, found `<class 'IndexAutoConstructorFactory'>`

static_frame/test/unit/test_metadata.py

[error] unresolved-attribute - Attribute `dtype` is not defined on `IndexBase` in union `IndexBase | @Todo`
[error] unresolved-attribute - Object of type `IndexBase` has no attribute `dtype`

static_frame/test/unit/test_store.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | None | Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`, found `int | ((x) -> Unknown)`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | None | Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`, found `int | ((x) -> Unknown)`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | None | Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`, found `int`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `((...) -> IndexBase) | type[Index[Any] | IndexAutoConstructorFactory] | None | Iterable[((...) -> IndexBase) | type[Index[Any]] | None]`, found `int`

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

src/werkzeug/test.py

[warning] redundant-cast - Value is already of type `type[TestResponse]`