Summary

Comparing branches/commits:
Old: main (merge base) 132d10fb
New: 21210/merge b706269a
Lint Rule Removed Added Changed
Total 15 6 2
invalid-assignment 3 4 0
invalid-argument-type 3 0 0
invalid-return-type 1 0 2
possibly-missing-attribute 3 0 0
no-matching-overload 0 2 0
unsupported-operator 2 0 0
index-out-of-bounds 1 0 0
non-subscriptable 1 0 0
unused-ignore-comment 1 0 0

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

tests/test_result.py

[error] invalid-argument-type - :491:21 - Argument to bound method `or_else` is incorrect: Expected `Result[Literal[42], Any]`, found `Result[Literal[0], Any]`
[error] invalid-argument-type - :509:21 - Argument to bound method `or_else` is incorrect: Expected `Result[Any, Literal["original error"]]`, found `Result[Any, Literal["new error"]]`

cloud-init (https://github.com/canonical/cloud-init)

tests/unittests/sources/test_lxd.py

[error] non-subscriptable - :40:5 - Cannot subscript object of type `int` with no `__getitem__` method

tests/unittests/test_net.py

[warning] possibly-missing-attribute - :5337:41 - Attribute `keys` may be missing on object of type `Unknown | list[Unknown | str] | dict[Unknown | str, Unknown | str | None] | dict[Unknown, Unknown]`
[warning] possibly-missing-attribute - :5494:41 - Attribute `keys` may be missing on object of type `Unknown | list[Unknown | str] | dict[Unknown | str, Unknown | str | None] | dict[Unknown | str, Unknown | str]`

colour (https://github.com/colour-science/colour)

colour/recovery/otsu2018.py

[error] invalid-assignment - :1606:21 - Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None]) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Node_Otsu2018` and a value of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int` on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[error] unsupported-operator - :1607:21 - Operator `+=` is unsupported between objects of type `dict[Unknown, Unknown]` and `Literal[1]`
[error] unsupported-operator - :1607:21 - Operator `+=` is unsupported between objects of type `list[Unknown]` and `Literal[1]`
[error] invalid-assignment - :1610:17 - Method `__setitem__` of type `Unknown | (Overload[(key: SupportsIndex, value: Unknown, /) -> None, (key: slice[Any, Any, Any], value: Iterable[Unknown], /) -> None]) | (bound method dict[Unknown, Unknown].__setitem__(key: Unknown, value: Unknown, /) -> None)` cannot be called with a key of type `Node_Otsu2018` and a value of type `int` on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[error] invalid-argument-type - :1610:54 - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`
[warning] possibly-missing-attribute - :1611:17 - Attribute `append` may be missing on object of type `Unknown | list[Unknown] | dict[Unknown, Unknown] | int`

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

homeassistant/components/homekit/config_flow.py

[error] invalid-assignment - :502:9 - Object of type `Any` is not assignable to `EntityFilterDict`
[error] invalid-assignment - :546:9 - Object of type `Any` is not assignable to `EntityFilterDict`
[error] invalid-assignment - :649:9 - Object of type `Any` is not assignable to `EntityFilterDict`

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

dulwich/pack.py

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

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

mesonbuild/build.py

[error] invalid-assignment - :1293:9 - Object of type `list[Sequence[str | Literal[False]] | Literal[False]]` is not assignable to attribute `install_dir` of type `list[str | Literal[False]]`

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

tests/mypy/pandas_modules/pandas_dataframe.py

[error] no-matching-overload - :35:12 - No overload of bound method `pipe` matches arguments
[error] invalid-return-type - :41:12 -
Old: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[Schema] | DataFrame[SchemaOut]`
New: Return type does not match returned value: expected `DataFrame[SchemaOut]`, found `DataFrame[SchemaOut] | DataFrame[Schema]`

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

pydantic/_internal/_validators.py

[error] invalid-return-type - :161:16 -
Old: Return type does not match returned value: expected `Pattern[bytes]`, found `Pattern[str | bytes]`
New: Return type does not match returned value: expected `Pattern[bytes]`, found `Pattern[bytes | str]`

scikit-build-core (https://github.com/scikit-build/scikit-build-core)

src/scikit_build_core/format.py

[error] invalid-return-type - :74:16 - Return type does not match returned value: expected `PyprojectFormatter | dict[str, str]`, found `dict[str, Literal["*"]]`

sphinx (https://github.com/sphinx-doc/sphinx)

sphinx/domains/python/__init__.py

[error] index-out-of-bounds - :672:42 - Index 0 is out of bounds for string `Literal[""]` with length 0

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

static_frame/test/unit/test_series.py

[error] no-matching-overload - :4489:37 - No overload of function `round` matches arguments

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

torchvision/prototype/transforms/_misc.py

[error] invalid-assignment - :34:13 - Object of type `dict[Any, Sequence[int] & ~Top[dict[Unknown, Unknown]]]` is not assignable to `Sequence[int] | dict[type, Sequence[int] | None]`