Ecosystem report

Old: main (merge base) 06256af8 New: 23796/merge ae494fdd
Lint Rule Removed Added Changed
Total 51 80 2
invalid-yield 0 79 0
invalid-await 40 0 0
unused-type-ignore-comment 10 0 0
invalid-assignment 0 0 2
invalid-argument-type 0 1 0
invalid-return-type 1 0 0
Project Removed Added Changed
Total 51 80 2
prefect 41 1 0
Expression 0 29 0
static-frame 2 13 0
discord.py 0 4 0
werkzeug 0 4 0
httpx-caching 2 1 0
pwndbg 0 3 0
pylint 0 3 0
Tanjun 0 0 2
bidict 0 2 0
core 0 2 0
dd-trace-py 0 2 0
ibis 0 2 0
openlibrary 0 2 0
PyGithub 1 0 0
aiohttp 1 0 0
artigraph 0 1 0
black 0 1 0
boostedblob 0 1 0
cwltool 0 1 0

Expression (https://github.com/cognitedata/Expression)

README.py

[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`

tests/test_option_builder.py

[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Yield type `None` does not match annotated yield type `Option[int]`
[error] invalid-yield - Send type `None` does not match annotated send type `str`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`

tests/test_result_builder.py

[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Yield type `None` does not match annotated yield type `Result[int, str]`
[error] invalid-yield - Send type `None` does not match annotated send type `str`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`

tests/test_seq_builder.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `Iterable[int]`

expression/core/option.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `_TSourceOut@Option`

expression/core/result.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `_TSourceOut@Result`

tests/test_catch.py

[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `int`
[error] invalid-yield - Send type `None` does not match annotated send type `str`

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

github/PaginatedList.py

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

Tanjun (https://github.com/FasterSpeeding/Tanjun)

tanjun/clients.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `@Todo` on object of type `dict[Path, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `ModuleType` on object of type `dict[Path, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `@Todo` on object of type `dict[str, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `ModuleType` on object of type `dict[str, ModuleType]`

aiohttp (https://github.com/aio-libs/aiohttp)

aiohttp/cookiejar.py

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

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

src/arti/internal/mappings.py

[error] invalid-yield - Yield type `tuple[str, object]` does not match annotated yield type `tuple[str, V@TypedBox]`

bidict (https://github.com/jab/bidict)

bidict/_iter.py

[error] invalid-yield - Yield type `tuple[object, object]` does not match annotated yield type `tuple[KT@iteritems, VT@iteritems]`
[error] invalid-yield - Yield type `tuple[object, object]` does not match annotated yield type `tuple[KT@iteritems, VT@iteritems]`

black (https://github.com/psf/black)

src/black/trans.py

[error] invalid-yield - Yield type `Ok[object]` does not match annotated yield type `Ok[Line] | Err[CannotTransform]`

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

boostedblob/boost.py

[error] invalid-yield - Yield type `object` does not match annotated yield type `T@iter_underlying`

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

homeassistant/components/backup/manager.py

[error] invalid-yield - Yield type `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (bytes & ~AlwaysFalsy)` does not match annotated yield type `bytes`
[error] invalid-yield - Yield type `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (bytes & ~AlwaysFalsy)` does not match annotated yield type `bytes`

cwltool (https://github.com/common-workflow-language/cwltool)

cwltool/process.py

[error] invalid-yield - Yield type `(MutableMapping[str, None | int | str | ... omitted 3 union elements] & Top[dict[Unknown, Unknown]]) | (MutableSequence[MutableMapping[str, None | int | str | ... omitted 3 union elements]] & Top[dict[Unknown, Unknown]])` does not match annotated yield type `MutableMapping[str, None | int | str | ... omitted 3 union elements]`

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

tests/debugging/mocking.py

[error] invalid-yield - Yield type `Debugger` does not match annotated yield type `TestDebugger`
[error] invalid-yield - Yield type `Unknown | SignalUploader | None` does not match annotated yield type `MockSignalUploader`

discord.py (https://github.com/Rapptz/discord.py)

discord/abc.py

[error] invalid-yield - Yield type `Message` does not match annotated yield type `PinnedMessage`

discord/ext/commands/cog.py

[error] invalid-yield - Yield type `Command[Never, (...), Any]` does not match annotated yield type `Command[Self@walk_commands, (...), Any]`

discord/ext/commands/core.py

[error] invalid-yield - Yield type `Command[Never, (...), Any]` does not match annotated yield type `Command[CogT@GroupMixin, (...), Any]`

discord/utils.py

[error] invalid-yield - Yield type `list[object]` does not match annotated yield type `list[T@_chunk]`

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

dulwich/porcelain/__init__.py

[error] invalid-yield - Yield type `str | bytes | PathLike[str]` does not match annotated yield type `str`

httpx-caching (https://github.com/johtso/httpx-caching)

httpx_caching/_policy.py

[error] invalid-yield - Send type `tuple[Response, dict[Unknown, Unknown]]` does not match annotated send type `Response`
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive
[warning] unused-type-ignore-comment - Unused blanket `type: ignore` directive

ibis (https://github.com/ibis-project/ibis)

ibis/expr/rewrites.py

[error] invalid-yield - Yield type `ibis.expr.types.generic.Value` does not match annotated yield type `ibis.expr.operations.core.Value[Unknown, Any]`

ibis/util.py

[error] invalid-yield - Yield type `type[T@get_subclasses]` does not match annotated yield type `type[S@get_subclasses]`

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

kopf/_cogs/structs/dicts.py

[error] invalid-yield - Send type `Never` does not match annotated send type `None`

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

openlibrary/plugins/openlibrary/lists.py

[error] invalid-yield - Yield type `dict[str, dict[str, ThingReferenceDict | str | AnnotatedSeedDict]]` does not match annotated yield type `AnnotatedSeedDict`
[error] invalid-argument-type - Invalid argument to key "key" with declared type `str` on TypedDict `ThingReferenceDict`: value of type `(ThingReferenceDict & ~Top[dict[Unknown, Unknown]]) | str | (AnnotatedSeedDict & ~Top[dict[Unknown, Unknown]])`

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

pandas/io/formats/format.py

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

pegen (https://github.com/we-like-parsers/pegen)

src/pegen/grammar.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `tuple[str, str]`

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

src/integrations/prefect-redis/tests/test_messaging.py

[error] invalid-yield - Yield type `prefect.server.utilities.messaging.Cache` does not match annotated yield type `prefect_redis.messaging.Cache`

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`

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

psycopg/psycopg/_compat.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `str | Interpolation`

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

pwndbg/aglib/macho.py

[error] invalid-yield - Yield type `bytearray` does not match annotated yield type `bytes`
[error] invalid-yield - Yield type `tuple[bytearray, int]` does not match annotated yield type `tuple[bytes, int]`

pwndbg/commands/rop.py

[error] invalid-yield - Yield type `tuple[str | None, None]` does not match annotated yield type `tuple[str, Page | None]`

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

pylint/checkers/utils.py

[error] invalid-yield - Send type `Never` does not match annotated send type `None`
[error] invalid-yield - Send type `Never` does not match annotated send type `None`
[error] invalid-yield - Send type `Never` does not match annotated send type `None`

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

rotkehlchen/chain/aggregator.py

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

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

src/schemathesis/engine/core.py

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

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

subprojects/array_api_extra/tests/conftest.py

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

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

scrapy/utils/asyncgen.py

[error] invalid-yield - Yield type `object` does not match annotated yield type `_T@as_async_generator`

starlette (https://github.com/encode/starlette)

tests/test_routing.py

[error] invalid-yield - Yield type `None` does not match annotated yield type `Never`

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

static_frame/core/bus_mapping.py

[error] invalid-yield - Yield type `Unknown | tuple[Hashable, @Todo]` does not match annotated yield type `tuple[TVKeys@BusMappingItemsView, @Todo]`

static_frame/core/memory_measure.py

[error] invalid-yield - Yield type `tuple[str, list[Unknown]]` does not match annotated yield type `tuple[tuple[str, ...], list[int]]`

static_frame/test/integration/test_field_stats.py

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

static_frame/core/quilt.py

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

static_frame/core/type_blocks.py

[error] invalid-yield - Yield type `tuple[None | Unknown, int | Unknown]` does not match annotated yield type `tuple[dtype[Any], int]`
[error] invalid-yield - Yield type `tuple[Hashable, ndarray[Any, Any], TypeBlocks | ndarray[Any, Any]]` does not match annotated yield type `tuple[ndarray[Any, Any], ndarray[Any, Any] | slice[Any, Any, Any], TypeBlocks]`
[error] invalid-yield - Yield type `tuple[Hashable, slice[Any, Any, Any], TypeBlocks | ndarray[Any, Any]]` does not match annotated yield type `tuple[Hashable, ndarray[Any, Any] | slice[Any, Any, Any], ndarray[Any, Any]]`
[error] invalid-yield - Yield type `tuple[Hashable, ndarray[Any, Any], TypeBlocks | ndarray[Any, Any]]` does not match annotated yield type `tuple[Hashable, ndarray[Any, Any] | slice[Any, Any, Any], ndarray[Any, Any]]`
[error] invalid-yield - Yield type `Sequence[Any] | @Todo` does not match annotated yield type `tuple[Any, ...]`
[error] invalid-yield - Yield type `Sequence[Any] | @Todo` does not match annotated yield type `tuple[Any, ...]`
[error] invalid-yield - Yield type `Sequence[Any] | @Todo` does not match annotated yield type `tuple[Any, ...]`
[error] invalid-yield - Yield type `tuple[Hashable, slice[Any, Any, Any], TypeBlocks | ndarray[Any, Any]]` does not match annotated yield type `tuple[ndarray[Any, Any], ndarray[Any, Any] | slice[Any, Any, Any], TypeBlocks]`
[error] invalid-yield - Yield type `Sequence[Any] | @Todo` does not match annotated yield type `tuple[Any, ...]`

static_frame/test/unit/test_frame.py

[error] invalid-yield - Yield type `tuple[int, ndarray[tuple[Any, ...], dtype[Any]]]` does not match annotated yield type `tuple[int, tuple[int, int]]`

static_frame/test/unit/test_store_zip.py

[error] invalid-yield - Yield type `tuple[Hashable, Frame]` does not match annotated yield type `tuple[str, Frame]`

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

test/datasets_utils.py

[error] invalid-yield - Yield type `tuple[Unknown, Unknown | None]` does not match annotated yield type `tuple[VisionDataset, dict[str, Any]]`

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

src/werkzeug/datastructures/structures.py

[error] invalid-yield - Yield type `tuple[object, object]` does not match annotated yield type `tuple[K@iter_multi_items, V@iter_multi_items]`
[error] invalid-yield - Yield type `tuple[object, object]` does not match annotated yield type `tuple[K@iter_multi_items, V@iter_multi_items]`
[error] invalid-yield - Yield type `tuple[object, ~Top[list[Unknown]] & ~tuple[object, ...] & ~Top[set[Unknown]]]` does not match annotated yield type `tuple[K@iter_multi_items, V@iter_multi_items]`

src/werkzeug/test.py

[error] invalid-yield - Send type `Never` does not match annotated send type `None`

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

xarray/core/dataset.py

[error] invalid-yield - Yield type `tuple[Hashable, _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown]` does not match annotated yield type `tuple[Hashable, int | slice[Any, Any, Any] | ndarray[tuple[Any, ...], dtype[Any]] | Variable]`