Ecosystem report

Old: main (merge base) a83276d0 New: 23428/merge 6d7ab0aa
Lint Rule Removed Added Changed
Total 8 2 39
unresolved-attribute 0 1 17
type-assertion-failure 0 0 10
invalid-argument-type 0 0 7
redundant-cast 5 0 0
unsupported-operator 0 0 4
invalid-return-type 1 0 1
invalid-assignment 1 0 0
invalid-await 0 1 0
missing-argument 1 0 0
Project Removed Added Changed
Total 8 2 39
hydra-zen 0 0 10
sympy flaky 1 0 8
mitmproxy 1 1 4
dd-trace-py flaky 0 0 5
graphql-core 5 0 0
xarray 0 0 4
antidote 0 0 2
jax flaky 0 0 2
altair 1 0 0
manticore 0 0 1
nox 0 0 1
prefect flaky 0 1 0
pytest 0 0 1
zulip 0 0 1
Expression flaky 0 0 0
PyGithub flaky 0 0 0
artigraph flaky 0 0 0
bokeh flaky 0 0 0
cloud-init flaky 0 0 0
colour flaky 0 0 0

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

altair/utils/schemapi.py

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

antidote (https://github.com/Finistere/antidote)

src/antidote/core/_raw/wrapper.py

[error] unresolved-attribute - Attribute `__get__` is not defined on `(...) -> object` in union `((...) -> object) | ((...) -> object)`
[error] unresolved-attribute - Object of type `(...) -> object` has no attribute `__get__`
[error] unresolved-attribute - Attribute `__get__` is not defined on `(...) -> Awaitable[object]` in union `((...) -> Awaitable[object]) | ((...) -> Awaitable[object])`
[error] unresolved-attribute - Object of type `(...) -> Awaitable[object]` has no attribute `__get__`

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

tests/appsec/integrations/flask_tests/test_iast_flask_entrypoint_iast_patches.py

[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `MethodType | FunctionType | CodeType | ... omitted 6 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `((...) -> Any) | CodeType | str | ... omitted 3 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `MethodType | FunctionType | CodeType | ... omitted 6 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `((...) -> Any) | CodeType | str | ... omitted 3 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `MethodType | FunctionType | CodeType | ... omitted 6 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `((...) -> Any) | CodeType | str | ... omitted 3 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app_main_patched'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `MethodType | FunctionType | CodeType | ... omitted 6 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `((...) -> Any) | CodeType | str | ... omitted 3 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.app'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `MethodType | FunctionType | CodeType | ... omitted 6 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.views'>`
[error] invalid-argument-type - Argument to function `dis` is incorrect: Expected `((...) -> Any) | CodeType | str | ... omitted 3 union elements`, found `<module 'tests.appsec.iast.fixtures.entrypoint.views'>`

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

src/graphql/graphql.py

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

src/graphql/pyutils/async_reduce.py

[warning] redundant-cast - Value is already of type `Awaitable[U@async_reduce]`

src/graphql/execution/execute.py

[warning] redundant-cast - Value is already of type `Awaitable[ExecutionResult]`
[warning] redundant-cast - Value is already of type `Awaitable[ExecutionResult]`
[warning] redundant-cast - Value is already of type `Awaitable[bool]`

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

tests/annotations/declarations.py

[error] type-assertion-failure - Type `StdBuilds[Unknown]` does not match asserted type `StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `StdBuilds[Unknown]` does not match asserted type `StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `StdBuilds[Unknown]` does not match asserted type `StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `StdBuilds[Unknown]` does not match asserted type `StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `PBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `Unknown` does not match asserted type `PBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 20 union elements] | StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 19 union elements] | StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 20 union elements] | StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 19 union elements] | StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 20 union elements] | StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `PBuilds[int | None | float | ... omitted 19 union elements] | StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 20 union elements] | PBuilds[int | None | float | ... omitted 20 union elements] | StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 19 union elements] | PBuilds[int | None | float | ... omitted 19 union elements] | StdBuilds[int | None | float | ... omitted 19 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 20 union elements] | PBuilds[int | None | float | ... omitted 20 union elements] | StdBuilds[int | None | float | ... omitted 20 union elements]`
[error] type-assertion-failure - Type `FullBuilds[Unknown] | PBuilds[Unknown] | StdBuilds[Unknown]` does not match asserted type `FullBuilds[int | None | float | ... omitted 19 union elements] | PBuilds[int | None | float | ... omitted 19 union elements] | StdBuilds[int | None | float | ... omitted 19 union elements]`

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

jax/experimental/pallas/ops/gpu/ragged_dot_mgpu.py

[error] unsupported-operator - Operator `<` is not supported between objects of type `int | float | None` and `float | int | None`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `int | float | None`

jax/experimental/pallas/ops/gpu/transposed_ragged_dot_mgpu.py

[error] unsupported-operator - Operator `<` is not supported between objects of type `int | float | None` and `float | int | None`
[error] unsupported-operator - Operator `<` is not supported between two objects of type `int | float | None`

manticore (https://github.com/trailofbits/manticore)

manticore/core/smtlib/visitors.py

[error] unsupported-operator - Operator `-` is not supported between objects of type `None | Unknown` and `None | Unknown`
[error] unsupported-operator - Operator `-` is not supported between two objects of type `None | Unknown`

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

test/mitmproxy/proxy/test_server.py

[error] invalid-assignment - Object of type `def _kill(d: ServerConnectionHookData) -> None` is not assignable to attribute `side_effect` on type `Mock | ((...) -> Unknown)`
[error] unresolved-attribute - Unresolved attribute `side_effect` on type `(...) -> Unknown`
[error] unresolved-attribute - Attribute `call_args` is not defined on `(...) -> Unknown` in union `Mock | ((...) -> Unknown)`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `call_args`
[error] unresolved-attribute - Attribute `called` is not defined on `(...) -> Unknown` in union `Mock | ((...) -> Unknown)`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Attribute `called` is not defined on `(...) -> Unknown` in union `Mock | ((...) -> Unknown)`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `called`
[error] unresolved-attribute - Attribute `called` is not defined on `(...) -> Unknown` in union `Mock | ((...) -> Unknown)`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `called`

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

nox/registry.py

[error] invalid-return-type - Return type does not match returned value: expected `Func | ((((...) -> Any) | Func, /) -> Func)`, found `partial[Func | ((((...) -> Any) | Func, /) -> Func)]`
[error] invalid-return-type - Return type does not match returned value: expected `Func | (((...) -> Any, /) -> Func)`, found `partial[Func | (((...) -> Any, /) -> Func)]`

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

src/integrations/prefect-ray/tests/test_task_runners.py

[error] invalid-await - `State[CoroutineType[Any, Any, Unknown]]` is not awaitable

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

src/_pytest/fixtures.py

[error] unresolved-attribute - Object of type `((...) -> object) | ((...) -> Generator[object, None, None])` has no attribute `__name__`
[error] unresolved-attribute - Object of type `(...) -> object` has no attribute `__name__`

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

sympy/diffgeom/diffgeom.py

[error] unsupported-operator - Operator `<=` is not supported between objects of type `Unknown | int | list[Unknown]` and `Unknown | int | list[Unknown]`
[error] unsupported-operator - Operator `<=` is not supported between two objects of type `Unknown | int | list[Unknown]`

sympy/polys/domains/algebraicfield.py

[error] unresolved-attribute - Attribute `zero` is not defined on `(...) -> Unknown` in union `type[ANP[MPQ] | Unknown] | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `zero` is not defined on `(...) -> Unknown` in union `type[ANP[MPQ]] | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `one` is not defined on `(...) -> Unknown` in union `type[ANP[MPQ] | Unknown] | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `one` is not defined on `(...) -> Unknown` in union `type[ANP[MPQ]] | ((...) -> Unknown)`

sympy/polys/domains/old_fractionfield.py

[error] unresolved-attribute - Attribute `zero` is not defined on `(...) -> Unknown` in union `Unknown | <class 'DMF'> | type[Unknown] | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `zero` is not defined on `(...) -> Unknown` in union `Unknown | <class 'DMF'> | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `one` is not defined on `(...) -> Unknown` in union `Unknown | <class 'DMF'> | type[Unknown] | ((...) -> Unknown)`
[error] unresolved-attribute - Attribute `one` is not defined on `(...) -> Unknown` in union `Unknown | <class 'DMF'> | ((...) -> Unknown)`

sympy/polys/domains/old_polynomialring.py

[error] unresolved-attribute - Attribute `zero` is not defined on `(...) -> Unknown` in union `Unknown | ((...) -> Unknown) | type[Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `zero`
[error] unresolved-attribute - Attribute `one` is not defined on `(...) -> Unknown` in union `Unknown | ((...) -> Unknown) | type[Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `one`

sympy/polys/domains/polynomialring.py

[error] missing-argument - No argument provided for required parameter `init` of bound method `__init__`

sympy/testing/tests/test_module_imports.py

[error] invalid-argument-type - Argument to function `getfile` is incorrect: Expected `ModuleType | type[Any] | MethodType | ... omitted 5 union elements`, found `FrameType | None`
[error] invalid-argument-type - Argument to function `getfile` is incorrect: Expected `ModuleType | ((...) -> Any) | FrameType | CodeType | TracebackType`, found `FrameType | None`

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

xarray/tests/test_plot.py

[error] unresolved-attribute - Attribute `__name__` is not defined on `(...) -> Unknown` in union `((...) -> Unknown) | staticmethod[(...), Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(...) -> Unknown` in union `((...) -> Unknown) | staticmethod[(...), Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(...) -> Unknown` in union `((...) -> Unknown) | staticmethod[(...), Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `__name__`
[error] unresolved-attribute - Attribute `__name__` is not defined on `(...) -> Unknown` in union `((...) -> Unknown) | staticmethod[(...), Unknown]`
[error] unresolved-attribute - Object of type `(...) -> Unknown` has no attribute `__name__`

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

zerver/lib/rest.py

[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | ((...) -> HttpResponse) | TypeVar`
[error] invalid-argument-type - Argument to function `process_as_post` is incorrect: Expected `(...) -> HttpResponse`, found `((...) -> HttpResponse) | TypeVar`