Summary

Comparing branches/commits:
Old: main (merge base) aa63c24b
New: 20093/merge b9c99b27
Lint Rule Removed Added Changed
Total 37 33 3
invalid-argument-type 16 20 1
type-assertion-failure 9 0 0
unused-ignore-comment 0 8 0
invalid-return-type 5 0 1
no-matching-overload 3 1 0
possibly-unbound-attribute 0 2 1
unsupported-operator 3 0 0
non-subscriptable 0 2 0
redundant-cast 1 0 0

Failed Projects

Project Old Status New Status Old Return Code New Return Code
koda-validate
https://github.com/keithasaurus/koda-validate
success timeout 1 None

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

src/arti/internal/type_hints.py

[error] invalid-argument-type - :177:37 - Argument to function `_check_issubclass` is incorrect: Expected `type`, found `T@lenient_issubclass & ~tuple[object, ...]`

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

homeassistant/util/variance.py

[error] unsupported-operator - :41:43 - Operator `-` is unsupported between objects of type `_R@ignore_variance` and `_R@ignore_variance`

homeassistant/components/asuswrt/bridge.py

[error] invalid-return-type - :418:16 - Return type does not match returned value: expected `list[str]`, found `list[@Todo] | dict[str, Any]`

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

ddtrace/ext/test_visibility/api.py

[error] invalid-argument-type - :38:59 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_get_item_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :42:52 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_set_item_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :46:52 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_set_item_tags` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :50:52 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_delete_item_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :54:52 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_delete_item_tags` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :58:59 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_is_item_finished` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :108:30 - Argument to function `_get_item_tag` is incorrect: Argument type `TestVisibilityItemId@get_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :112:23 - Argument to function `_set_item_tag` is incorrect: Argument type `TestVisibilityItemId@set_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :116:24 - Argument to function `_set_item_tags` is incorrect: Argument type `TestVisibilityItemId@set_tags` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :120:26 - Argument to function `_delete_item_tag` is incorrect: Argument type `TestVisibilityItemId@delete_tag` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :124:27 - Argument to function `_delete_item_tags` is incorrect: Argument type `TestVisibilityItemId@delete_tags` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :128:34 - Argument to function `_is_item_finished` is incorrect: Argument type `TestVisibilityItemId@is_finished` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`

ddtrace/internal/test_visibility/api.py

[error] invalid-argument-type - :27:59 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@_get_item_span | TestId` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :48:63 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@stash_get` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`
[error] invalid-argument-type - :55:56 - Argument to bound method `get_item_by_id` is incorrect: Argument type `TestVisibilityItemId@stash_delete` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`

ddtrace/internal/ci_visibility/recorder.py

[error] invalid-argument-type - :906:39 - Argument to function `_is_item_itr_skippable` is incorrect: Argument type `TestVisibilityItemId@is_item_itr_skippable` does not satisfy upper bound `_TestVisibilityChildItemIdBase[Unknown] | _TestVisibilityRootItemIdBase | TestSessionId | TestSuiteId | TestId` of type variable `TestVisibilityItemId`

scripts/check_suitespec_coverage.py

[error] invalid-argument-type - :42:90 - Argument to function `fnmatch` is incorrect: Expected `str`, found `Path`

tests/tracer/test_trace_utils.py

[warning] possibly-unbound-attribute - :1124:12 -
Old: Attribute `pattern` on type `Unknown | None` is possibly unbound
New: Attribute `pattern` on type `Unknown | None | Pattern[Any]` is possibly unbound

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

discord/ext/commands/bot.py

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

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

mesonbuild/ast/interpreter.py

[error] invalid-argument-type - :688:48 -
Old: Argument to bound method `__init__` is incorrect: Expected `Token[str]`, found `Token[int]`
New: Argument to bound method `__init__` is incorrect: Expected `Token[str]`, found `Token[@Todo & str & ~UnknownValue]`

mesonbuild/rewriter.py

[error] invalid-argument-type - :914:48 - Argument to bound method `__init__` is incorrect: Expected `Token[str]`, found `Token[int]`

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

mkdocs/contrib/search/__init__.py

[error] invalid-argument-type - :44:34 - Argument to bound method `remove` is incorrect: Expected `Never`, found `Unknown & ~Literal["en"]`
[error] invalid-argument-type - :48:34 - Argument to bound method `remove` is incorrect: Expected `Never`, found `Unknown & ~Literal["en"]`
[error] invalid-argument-type - :49:34 - Argument to bound method `append` is incorrect: Expected `Never`, found `Unknown & ~AlwaysFalsy`

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)

bson/regex.py

[error] invalid-return-type - :83:16 - Return type does not match returned value: expected `Regex[_T@Regex]`, found `Regex[str]`

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

paasta_tools/utils.py

[warning] redundant-cast - :4189:19 - Value is already of type `list[str]`

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

pandas/tests/scalar/interval/test_contains.py

[error] unsupported-operator - :69:20 - Operator `in` is not supported for types `Interval[int]` and `Interval[int]`
[error] unsupported-operator - :73:17 - Operator `in` is not supported for types `Interval[int]` and `Interval[int]`

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

tests/indexes/test_indexes.py

[error] type-assertion-failure - :1043:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1044:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1046:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1047:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1048:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1050:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1051:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1052:11 - Argument does not have asserted type `Index[Any]`
[error] type-assertion-failure - :1053:11 - Argument does not have asserted type `Index[Any]`

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

src/prefect/deployments/base.py

[error] invalid-return-type - :143:12 - Return type does not match returned value: expected `dict[str, Any] | type[NotSet]`, found `str | type[NotSet]`

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

pwndbg/aglib/next.py

[error] no-matching-overload - :176:38 - No overload of bound method `match` matches arguments

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

pydantic/_internal/_validators.py

[error] invalid-return-type - :162:16 - Return type does not match returned value: expected `Pattern[bytes]`, found `Pattern[str]`
[error] no-matching-overload - :174:16 - No overload of function `compile` matches arguments

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

src/_pytest/capture.py

[error] invalid-return-type - :968:16 - Return type does not match returned value: expected `CaptureResult[AnyStr@CaptureFixture]`, found `CaptureResult[str]`

scikit-learn (https://github.com/scikit-learn/scikit-learn)

sklearn/preprocessing/_label.py

[error] non-subscriptable - :603:17 - Cannot subscript object of type `float64` with no `__getitem__` method
[error] non-subscriptable - :605:17 - Cannot subscript object of type `float64` with no `__getitem__` method

sklearn/feature_extraction/_dict_vectorizer.py

[warning] possibly-unbound-attribute - :284:13 - Attribute `sort_indices` on type `csr_matrix[float64] | float64` is possibly unbound
[warning] possibly-unbound-attribute - :286:29 - Attribute `toarray` on type `csr_matrix[float64] | float64` is possibly unbound

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

scrapy/utils/datatypes.py

[error] invalid-return-type - :76:16 -
Old: Return type does not match returned value: expected `AnyStr@normkey`, found `str | bytes`
New: Return type does not match returned value: expected `AnyStr@normkey`, found `Unknown | bytes`

sockeye (https://github.com/awslabs/sockeye)

sockeye/inference.py

[error] invalid-argument-type - :410:32 - Argument is incorrect: Expected `RestrictLexicon | None`, found `object`
[error] no-matching-overload - :376:32 - No overload of bound method `get` matches arguments
[error] no-matching-overload - :376:32 - No overload of bound method `get` matches arguments

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

strawberry/types/object_type.py

[error] invalid-argument-type - :157:13 - Argument to bound method `__init__` is incorrect: Expected `type[type]`, found `T@_process_type`

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

sympy/polys/densetools.py

[error] invalid-argument-type - :1124:33 - Argument to bound method `quo` is incorrect: Expected `Er@_dup_right_decompose`, found `int`

sympy/polys/domains/domain.py

[warning] unused-ignore-comment - :628:61 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1198:22 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1202:22 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1206:23 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1210:23 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1224:23 - Unused blanket `type: ignore` directive

sympy/polys/rings.py

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

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats)

src/typeshed_stats/gather.py

[error] invalid-argument-type - :1000:13 - Argument to bound method `from_lines` is incorrect: Expected `str | ((str, /) -> Pattern)`, found `<class 'GitWildMatchPattern'>`

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

src/werkzeug/datastructures/mixins.py

[error] invalid-argument-type - :262:28 - Argument is incorrect: Expected `typing.Self`, found `Self@setdefault`
[error] invalid-argument-type - :282:28 - Argument is incorrect: Expected `typing.Self`, found `Self@pop`

src/werkzeug/datastructures/structures.py

[error] invalid-argument-type - :1104:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@remove`
[error] invalid-argument-type - :1119:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@update`
[error] invalid-argument-type - :1159:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@clear`
[error] invalid-argument-type - :1185:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@__delitem__`
[error] invalid-argument-type - :1193:28 - Argument is incorrect: Expected `Self@__init__`, found `Self@__setitem__`

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

xarray/backends/api.py

[error] invalid-argument-type - :1508:42 - Argument to function `_remove_path` is incorrect: Expected `NestedSequence[_FLike@_remove_path]`, found `(_FLike@_remove_path & Top[list[Unknown]]) | (NestedSequence[_FLike@_remove_path] & Top[list[Unknown]])`
[error] invalid-argument-type - :1508:48 - Argument to function `_remove_path` is incorrect: Argument type `_FLike@_remove_path` does not satisfy upper bound `str | ReadBuffer[Unknown]` of type variable `_FLike`

xarray/plot/facetgrid.py

[error] invalid-argument-type - :1061:9 - Argument to bound method `__init__` is incorrect: Argument type `T_DataArrayOrSet@_easy_facetgrid` does not satisfy upper bound `Dataset | DataArray` of type variable `T_DataArrayOrSet`