Summary

Comparing branches/commits:
Old: main (merge base) 16de4aa3
New: 21321/merge f99c2640
Lint Rule Removed Added Changed
Total 8 54 27
invalid-argument-type 0 31 27
invalid-return-type 0 14 0
unused-ignore-comment 8 0 0
invalid-type-form 0 4 0
call-non-callable 0 2 0
not-iterable 0 2 0
invalid-assignment 0 1 0

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

tanjun/annotations.py

[error] invalid-return-type - :1855:16 - Return type does not match returned value: expected `type[str]`, found `typing.Annotated`
[error] invalid-return-type - :2268:16 - Return type does not match returned value: expected `type[PartialChannel]`, found `typing.Annotated`
[error] invalid-argument-type - :2110:86 - Argument to bound method `__init__` is incorrect: Expected `int | float`, found `_NumberT@__getitem__ & ~float`

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

beartype/_util/hint/pep/proposal/pep484/pep484typevar.py

[error] invalid-type-form - :158:6 - Variable of type `_SpecialForm` is not allowed in a type expression

beartype/_util/hint/pep/proposal/pep484585/generic/pep484585genget.py

[error] invalid-type-form - :67:23 - Variable of type `_SpecialForm` is not allowed in a type expression

beartype/_util/hint/pep/utilpepget.py

[error] invalid-type-form - :561:48 - Variable of type `_SpecialForm` is not allowed in a type expression

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

ddtrace/contrib/internal/pytest/_plugin_v2.py

[error] invalid-return-type - :1025:20 - Return type does not match returned value: expected `tuple[str, str, tuple[str, Mapping[str, bool]]] | None`, found `tuple[Literal[""], Literal[""], Literal[""]]`

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

ibis/backends/sql/compilers/base.py

[error] invalid-assignment - :590:13 - Object of type `int | None` is not assignable to `str | None`
[error] invalid-argument-type - :592:43 -
Old: Argument to bound method `limit` is incorrect: Expected `int | None`, found `(str & ~Literal["default"]) | (@Todo & ~None)`
New: Argument to bound method `limit` is incorrect: Expected `int | None`, found `str`

ibis/expr/datatypes/tests/test_core.py

[error] invalid-argument-type - :719:31 - Argument to bound method `from_typehint` is incorrect: Expected `type`, found `typing.Annotated`

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

examples/contrib/ntlm_upstream_proxy.py

[error] invalid-argument-type - :38:13 - Argument to bound method `add_option` is incorrect: Expected `type`, found `types.UnionType`
[error] invalid-argument-type - :47:13 - Argument to bound method `add_option` is incorrect: Expected `type`, found `types.UnionType`
[error] invalid-argument-type - :55:13 - Argument to bound method `add_option` is incorrect: Expected `type`, found `types.UnionType`

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

paasta_tools/utils.py

[error] not-iterable - :395:32 - Object of type `Sequence[Sequence[str]] | None` may not be iterable
[error] not-iterable - :400:41 - Object of type `None` is not iterable

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

src/prefect/cli/variable.py

[error] invalid-argument-type - :163:57 - Argument is incorrect: Expected `str | None`, found `Unknown | str | int | ... omitted 5 union elements`
[error] invalid-argument-type - :165:57 - Argument is incorrect: Expected `str`, found `Unknown | str | int | ... omitted 5 union elements`

src/prefect/deployments/runner.py

[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `UUID`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `VersionInfo | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `int | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `list[DeploymentScheduleCreate] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `list[dict[str, Any]] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `list[str] | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 -
Old: Argument to bound method `create_deployment` is incorrect: Expected `str`, found `UUID | str | None | ... omitted 6 union elements`
New: Argument to bound method `create_deployment` is incorrect: Expected `ConcurrencyOptions | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `UUID`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `VersionInfo | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `bool | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `dict[str, Any] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `int | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[DeploymentScheduleCreate] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[dict[str, Any]] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `list[str] | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str | None`, found `UUID | str | None | ... omitted 7 union elements`
[error] invalid-argument-type - :396:64 - Argument to bound method `create_deployment` is incorrect: Expected `str`, found `UUID | str | None | ... omitted 7 union elements`

src/prefect/server/schemas/schedules.py

[error] invalid-argument-type - :650:68 -
Old: Argument to function `_prepare_scheduling_start_and_end` is incorrect: Expected `str`, found `@Todo | None`
New: Argument to function `_prepare_scheduling_start_and_end` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - :667:26 -
Old: Argument to function `__new__` is incorrect: Expected `str`, found `@Todo | None`
New: Argument to function `__new__` is incorrect: Expected `str`, found `str | None`

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

pydantic/functional_validators.py

[error] invalid-return-type - :785:20 - Return type does not match returned value: expected `AnyType@__class_getitem__`, found `typing.Annotated`
[error] call-non-callable - :828:36 - Object of type `GenericAlias` is not callable

pydantic/experimental/pipeline.py

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

pydantic/functional_serializers.py

[error] call-non-callable - :438:36 - Object of type `GenericAlias` is not callable

pydantic/json_schema.py

[error] invalid-return-type - :2827:20 - Return type does not match returned value: expected `AnyType@__class_getitem__`, found `typing.Annotated`

pydantic/types.py

[error] invalid-return-type - :230:12 - Return type does not match returned value: expected `type[int]`, found `typing.Annotated`
[error] invalid-return-type - :491:12 - Return type does not match returned value: expected `type[float]`, found `typing.Annotated`
[error] invalid-return-type - :679:12 - Return type does not match returned value: expected `type[bytes]`, found `typing.Annotated`
[error] invalid-return-type - :817:12 - Return type does not match returned value: expected `type[str]`, found `typing.Annotated`
[error] invalid-return-type - :995:20 - Return type does not match returned value: expected `AnyType@__class_getitem__`, found `typing.Annotated`
[error] invalid-return-type - :1124:12 - Return type does not match returned value: expected `type[Decimal]`, found `typing.Annotated`
[error] invalid-return-type - :1511:20 - Return type does not match returned value: expected `AnyType@__class_getitem__`, found `typing.Annotated`
[error] invalid-return-type - :2257:12 - Return type does not match returned value: expected `type[date]`, found `typing.Annotated`

pydantic/v1/fields.py

[error] invalid-argument-type - :586:45 - Argument to function `lenient_issubclass` is incorrect: Expected `type[Any] | tuple[type[Any], ...] | None`, found `typing.Annotated`

pydantic/v1/types.py

[error] invalid-return-type - :832:20 - Return type does not match returned value: expected `type[JsonWrapper]`, found `typing.Annotated`

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

static_frame/test/unit/test_store.py

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

static_frame/core/container_util.py

[warning] unused-ignore-comment - :196:47 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :354:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :524:40 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :594:39 - Unused blanket `type: ignore` directive

static_frame/core/frame.py

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

static_frame/core/index_hierarchy_set_utils.py

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

strawberry (https://github.com/strawberry-graphql/strawberry)

strawberry/experimental/pydantic/error_type.py

[error] invalid-type-form - :62:26 - Variable of type `list[Any]` is not allowed in a type expression