Summary

Comparing branches/commits:
Old: main (merge base) 805d179d
New: 20692/merge cf2da6e8
Lint Rule Removed Added Changed
Total 4 27 17
invalid-argument-type 1 17 1
invalid-assignment 0 3 14
not-iterable 0 3 1
invalid-return-type 1 1 0
unused-ignore-comment 1 1 0
invalid-key 0 1 0
no-matching-overload 1 0 0
possibly-missing-attribute 0 0 1
unresolved-attribute 0 1 0

apprise (https://github.com/caronc/apprise)

apprise/plugins/email/base.py

[error] invalid-assignment - :1129:17 -
Old: Method `__setitem__` of type `(bound method MIMEMultipart.__setitem__(name: str, val: str) -> None) | (bound method MIMEText.__setitem__(name: str, val: str) -> None)` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
New: Method `__setitem__` of type `bound method MIMEMultipart.__setitem__(name: str, val: str) -> None` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
[error] invalid-assignment - :1165:17 -
Old: Method `__setitem__` of type `(bound method MIMEMultipart.__setitem__(name: str, val: str) -> None) | (bound method MIMEText.__setitem__(name: str, val: str) -> None)` cannot be called with a key of type `Unknown` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
New: Method `__setitem__` of type `bound method MIMEMultipart.__setitem__(name: str, val: str) -> None` cannot be called with a key of type `Unknown` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
[error] invalid-assignment - :1167:13 -
Old: Method `__setitem__` of type `(bound method MIMEMultipart.__setitem__(name: str, val: str) -> None) | (bound method MIMEText.__setitem__(name: str, val: str) -> None)` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
New: Method `__setitem__` of type `bound method MIMEMultipart.__setitem__(name: str, val: str) -> None` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`

apprise/plugins/ses.py

[error] invalid-assignment - :470:13 -
Old: Method `__setitem__` of type `(bound method MIMEMultipart.__setitem__(name: str, val: str) -> None) | (bound method MIMEText.__setitem__(name: str, val: str) -> None)` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`
New: Method `__setitem__` of type `bound method MIMEMultipart.__setitem__(name: str, val: str) -> None` cannot be called with a key of type `Literal["Subject"]` and a value of type `Header` on object of type `MIMEMultipart | MIMEText`

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

src/arti/internal/type_hints.py

[error] not-iterable - :172:70 - Object of type `T@lenient_issubclass & tuple[object, ...]` is not iterable

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

homeassistant/components/usage_prediction/__init__.py

[error] invalid-return-type - :64:16 - Return type does not match returned value: expected `EntityUsagePredictions`, found `object`

homeassistant/auth/permissions/merge.py

[error] invalid-assignment - :63:13 -
Old: Method `__setitem__` of type `bound method Top[dict[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Never` and a value of type `Mapping[str, Mapping[str, Mapping[str, bool] | bool | None] | bool | None] | bool | None` on object of type `Mapping[str, SubCategoryType] & Top[dict[Unknown, Unknown]]`
New: Method `__setitem__` of type `bound method Top[dict[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `str` and a value of type `Mapping[str, Mapping[str, Mapping[str, bool] | bool | None] | bool | None] | bool | None` on object of type `Mapping[str, SubCategoryType] & Top[dict[Unknown, Unknown]]`

homeassistant/components/telegram_bot/bot.py

[warning] possibly-missing-attribute - :411:50 -
Old: Attribute `split` on type `@Todo | (Any & ~Top[list[Unknown]]) | None` may be missing
New: Attribute `split` on type `Unknown | (Any & ~Top[list[Unknown]]) | None` may be missing

homeassistant/components/xbox/media_source.py

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

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

cwltool/cwlprov/ro.py

[error] invalid-assignment - :664:25 - Method `__setitem__` of type `(bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None) | (@Todo & (bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None)) | (Overload[(index: int, value: MutableMapping[str, @Todo | None]) -> None, (index: slice[Any, Any, Any], value: Iterable[MutableMapping[str, @Todo | None]]) -> None])` cannot be called with a key of type `Literal["checksum"]` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (@Todo & Top[MutableMapping[Unknown, Unknown]]) | (MutableSequence[MutableMapping[str, @Todo | None]] & Top[MutableMapping[Unknown, Unknown]])`
[error] invalid-assignment - :666:17 - Method `__setitem__` of type `(bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None) | (@Todo & (bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None)) | (Overload[(index: int, value: MutableMapping[str, @Todo | None]) -> None, (index: slice[Any, Any, Any], value: Iterable[MutableMapping[str, @Todo | None]]) -> None])` cannot be called with a key of type `Literal["location"]` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (@Todo & Top[MutableMapping[Unknown, Unknown]]) | (MutableSequence[MutableMapping[str, @Todo | None]] & Top[MutableMapping[Unknown, Unknown]])`

cwltool/load_tool.py

[error] invalid-assignment - :176:33 -
Old: Method `__setitem__` of type `(bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None) | (bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None)` cannot be called with a key of type `Unknown | str` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (MutableSequence[MutableMapping[str, @Todo | None] | str | int] & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]])`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Unknown | str` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (MutableSequence[MutableMapping[str, @Todo | None] | str | int] & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]])`
[error] invalid-assignment - :190:25 -
Old: Method `__setitem__` of type `(bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None) | (bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None)` cannot be called with a key of type `Literal["stdin"]` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (MutableSequence[MutableMapping[str, @Todo | None] | str | int] & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]])`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["stdin"]` and a value of type `str` on object of type `MutableMapping[str, @Todo | None] | (MutableSequence[MutableMapping[str, @Todo | None] | str | int] & Top[MutableMapping[Unknown, Unknown]]) | (str & Top[MutableMapping[Unknown, Unknown]])`

cwltool/main.py

[error] invalid-assignment - :282:21 -
Old: Method `__setitem__` of type `(bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None) | (bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None)` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
[error] invalid-assignment - :293:17 -
Old: Method `__setitem__` of type `(bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None) | (bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None)` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
[error] invalid-assignment - :301:17 -
Old: Method `__setitem__` of type `(bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None) | (bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None)` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["type"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
[error] invalid-assignment - :307:17 -
Old: Method `__setitem__` of type `(bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None) | (bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None)` cannot be called with a key of type `Literal["items"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["items"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
[error] invalid-assignment - :315:17 -
Old: Method `__setitem__` of type `(bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None) | (bound method MutableMapping[str, @Todo | None].__setitem__(key: str, value: @Todo | None, /) -> None)` cannot be called with a key of type `Literal["fields"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Literal["fields"]` and a value of type `@Todo` on object of type `(str & Top[MutableMapping[Unknown, Unknown]]) | MutableMapping[str, @Todo | None]`

cwltool/process.py

[error] invalid-argument-type - :318:47 - Argument to function `_collectDirEntries` is incorrect: Expected `MutableMapping[str, @Todo | None] | MutableSequence[MutableMapping[str, @Todo | None]] | None`, found `str`

cwltool/utils.py

[error] invalid-assignment - :177:13 - Method `__setitem__` of type `(bound method MutableMapping[str, Any].__setitem__(key: str, value: Any, /) -> None) | (Overload[(index: int, value: Any) -> None, (index: slice[Any, Any, Any], value: Iterable[Any]) -> None]) | (Any & (bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None))` cannot be called with a key of type `str` and a value of type `str | MutableSequence[Any] | MutableMapping[str, Any]` on object of type `MutableMapping[str, Any] | (MutableSequence[Any] & Top[MutableMapping[Unknown, Unknown]]) | (Any & Top[MutableMapping[Unknown, Unknown]])`

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

discord/ui/section.py

[error] invalid-argument-type - :189:9 - Argument to bound method `_update_view` is incorrect: Argument type `Item[object]` does not satisfy upper bound `Item[V@Item]` of type variable `Self`

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

dulwich/porcelain.py

[error] invalid-argument-type - :3177:41 - Argument to function `_make_branch_ref` is incorrect: Expected `str | bytes`, found `Unknown | (Sequence[str | bytes] & ~Top[list[Unknown]] & ~tuple[object, ...]) | bytes`

dulwich/worktree.py

[error] invalid-assignment - :923:17 -
Old: Method `__setitem__` of type `Unknown | (bound method DiskRefsContainer.__setitem__(name: bytes, ref: bytes) -> None) | (bound method ReftableRefsContainer.__setitem__(name: bytes, ref: bytes) -> None)` cannot be called with a key of type `str | bytes` and a value of type `bytes` on object of type `Unknown | DiskRefsContainer | ReftableRefsContainer`
New: Method `__setitem__` of type `Unknown | (bound method DiskRefsContainer.__setitem__(name: bytes, ref: bytes) -> None)` cannot be called with a key of type `str | bytes` and a value of type `bytes` on object of type `Unknown | DiskRefsContainer | ReftableRefsContainer`

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

src/hydra_zen/structured_configs/_utils.py

[error] invalid-key - :257:22 - Cannot access `AllConvert` with a key of type `str`. Only string literals are allowed as keys on TypedDicts.

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

jax/_src/numpy/tensor_contractions.py

[error] invalid-argument-type - :548:46 - Argument to function `canonicalize_axis` is incorrect: Expected `SupportsIndex`, found `int | Sequence[int]`
[error] invalid-argument-type - :549:46 - Argument to function `canonicalize_axis` is incorrect: Expected `SupportsIndex`, found `int | Sequence[int]`

koda-validate (https://github.com/keithasaurus/koda-validate)

koda_validate/generic.py

[error] not-iterable - :236:21 -
Old: Object of type `ListOrTupleOrSetAny@UniqueItems` may not be iterable
New: Object of type `ListOrTupleOrSetAny@UniqueItems` is not iterable

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

psycopg_pool/psycopg_pool/_acompat.py

[error] invalid-return-type - :185:12 - Return type does not match returned value: expected `T@ensure_async`, found `object`

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

src/_pytest/skipping.py

[error] invalid-argument-type - :292:25 - Argument to bound method `matches` is incorrect: Argument type `object` does not satisfy upper bound `BaseException` of type variable `BaseExcT_1`

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

src/scikit_build_core/metadata/__init__.py

[error] not-iterable - :79:78 - Object of type `T@_process_dynamic_metadata & Top[list[Unknown]]` is not iterable
[error] invalid-argument-type - :85:41 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :85:41 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :85:41 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] not-iterable - :93:22 - Object of type `T@_process_dynamic_metadata & Top[list[Unknown]]` is not iterable
[error] invalid-argument-type - :103:22 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :103:22 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :103:22 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] unresolved-attribute - :108:51 - Type `str` has no attribute `items`
[error] invalid-argument-type - :109:27 - Argument to bound method `items` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :109:27 - Argument to bound method `items` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :109:27 - Argument to bound method `items` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :113:42 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :113:42 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`
[error] invalid-argument-type - :113:42 - Argument to bound method `values` is incorrect: Argument type `T@_process_dynamic_metadata` does not satisfy upper bound `dict[_KT@dict, _VT@dict]` of type variable `Self`

src/scikit_build_core/build/_wheelfile.py

[error] no-matching-overload - :51:22 - No overload of function `field` matches arguments

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

static_frame/test/property/strategies.py

[error] invalid-argument-type - :927:17 -
Old: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `(bound method type[Index[Any]].from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any]) | (bound method <class 'Index'>.from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any])`
New: Argument to function `get_index_hierarchy` is incorrect: Expected `(...) -> IndexHierarchy`, found `bound method type[Index[Any]].from_labels(labels: Iterable[@Todo], *, /, name: @Todo = None) -> Index[Any]`

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

sympy/polys/polyclasses.py

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

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

xarray/core/dataset.py

[error] invalid-assignment - :4616:17 -
Old: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Unknown` and a value of type `int` on object of type `Mapping[Hashable, Any] & Top[MutableMapping[Unknown, Unknown]]`
New: Method `__setitem__` of type `bound method Top[MutableMapping[Unknown, Unknown]].__setitem__(key: Never, value: Never, /) -> None` cannot be called with a key of type `Hashable` and a value of type `int` on object of type `Mapping[Hashable, Any] & Top[MutableMapping[Unknown, Unknown]]`