Ecosystem report

Old: main (merge base) 1b44d7e2 New: 21771/merge 0cab236e
Lint Rule Removed Added Changed
Total 190 339 59
invalid-argument-type 2 160 3
type-assertion-failure 137 2 7
possibly-missing-attribute 0 75 46
unresolved-attribute 0 55 0
unused-ignore-comment 49 0 0
invalid-return-type 0 29 1
invalid-assignment 1 8 2
unsupported-operator 0 5 0
not-iterable 0 2 0
deprecated 0 1 0
no-matching-overload 0 1 0
non-subscriptable 0 1 0
unsupported-base 1 0 0
Project Removed Added Changed
Total 190 339 59
pandas-stubs 138 2 7
static-frame 19 54 0
prefect 0 62 0
scrapy 4 57 0
werkzeug 1 1 46
sympy 2 37 0
pandas 5 23 1
meson 0 18 0
rotki 8 9 0
hydpy 0 11 0
ibis 0 11 0
cki-lib 0 6 0
pytest 0 6 0
vision 0 6 0
pywin32 0 5 0
xarray 4 1 0
freqtrade 0 4 0
mitmproxy 0 4 0
scipy 0 4 0
DateType 3 0 0

DateType (https://github.com/glyph/DateType)

src/datetype/__init__.py

[warning] unused-ignore-comment - :485:24 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :497:35 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :524:16 - Unused blanket `type: ignore` directive

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

alerta/commands.py

[error] invalid-argument-type - :74 -
Old: Argument to bound method `__init__` is incorrect: Expected `datetime`, found `Unknown | None`
New: Argument to bound method `__init__` is incorrect: Expected `datetime`, found `datetime | None`

alerta/views/alerts.py

[error] invalid-argument-type - :332 -
Old: Argument to function `max` is incorrect: Argument type `Unknown | None` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`
New: Argument to function `max` is incorrect: Argument type `Unknown | None | datetime` does not satisfy upper bound `SupportsDunderLT[Any] | SupportsDunderGT[Any]` of type variable `SupportsRichComparisonT`

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

apprise/persistent_store.py

[error] invalid-assignment - :1426:19 - Object of type `datetime | Unknown | Literal[2678400]` is not assignable to `int | float | None`
[error] unsupported-operator - :1525:20 - Operator `<` is not supported between objects of type `int | float | None` and `datetime`

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

beartype/_util/py/utilpyweakref.py

[error] invalid-argument-type - :76:27 - Argument to function `__new__` is incorrect: Expected `type[ReferenceType[_T@ReferenceType]]`, found `<class 'ReferenceType[~None]'>`

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

src/bokeh/core/property/bases.py

[error] invalid-argument-type - :198:35 - Argument to bound method `_copy_default` is incorrect: Expected `(() -> T@Property) | T@Property`, found `Unknown | T@Property | UndefinedType | IntrinsicType`

cki-lib (https://gitlab.com/cki-project/cki-lib)

cki_lib/inttests/mariadb.py

[error] invalid-argument-type - :29:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["mariadb"]`

cki_lib/inttests/minio.py

[error] invalid-argument-type - :29:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["minio"]`

cki_lib/inttests/rabbitmq.py

[error] invalid-argument-type - :43:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["rabbitmq"]`

cki_lib/inttests/remote_responses.py

[error] invalid-argument-type - :135:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["remote-responses"]`

cki_lib/inttests/sqs.py

[error] invalid-argument-type - :37:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["sqs"]`

cki_lib/inttests/vault.py

[error] invalid-argument-type - :29:32 - Argument is incorrect: Expected `type[Self@k8s_namespace]`, found `Literal["vault"]`

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

tests/unittests/cmd/devel/test_logs.py

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

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

homeassistant/components/api/__init__.py

[error] invalid-assignment - :356:21 - Invalid subscript assignment with key of type `Literal["old_state", "new_state"]` and value of type `State & ~AlwaysFalsy` on object of type `dict[str, JsonValueType]`

homeassistant/components/input_datetime/__init__.py

[warning] possibly-missing-attribute - :295 -
Old: Attribute `replace` may be missing on object of type `datetime | None | Unknown`
New: Attribute `replace` may be missing on object of type `datetime | None`

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

ddtrace/testing/internal/test_data.py

[warning] unsupported-base - :148:15 - Unsupported class base with type `<class 'TestItem[Test, Never]'> | <class 'TestItem[Unknown, Unknown]'>`

tests/testing/internal/test_telemetry.py

[error] invalid-assignment - :392:9 - Implicit shadowing of function `is_benchmark`

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

discord/app_commands/models.py

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

discord/channel.py

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

discord/state.py

[error] invalid-return-type - :551 -
Old: Return type does not match returned value: expected `tuple[VoiceChannel | StageChannel | ForumChannel | ... omitted 5 union elements, Guild | None]`, found `tuple[(Unknown & ~AlwaysFalsy) | (Guild & ~AlwaysTruthy & ~AlwaysFalsy) | (VoiceChannel & ~AlwaysFalsy) | ... omitted 6 union elements, Guild | None]`
New: Return type does not match returned value: expected `tuple[VoiceChannel | StageChannel | ForumChannel | ... omitted 5 union elements, Guild | None]`, found `tuple[(DMChannel & ~AlwaysFalsy) | (Guild & ~AlwaysTruthy & ~AlwaysFalsy) | (VoiceChannel & ~AlwaysFalsy) | ... omitted 6 union elements, Guild | None]`

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

freqtrade/optimize/backtesting.py

[error] unsupported-operator - :1803:42 - Operator `>` is not supported between objects of type `Unknown | datetime | None` and `datetime`

freqtrade/rpc/telegram.py

[error] invalid-argument-type - :1161:49 - Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str | None`, found `Unknown | datetime`
[error] invalid-argument-type - :1161:49 - Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Unknown | datetime`
[error] invalid-argument-type - :1161:49 - Argument to bound method `_rpc_trade_statistics` is incorrect: Expected `str`, found `Unknown | datetime`

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

hydpy/models/evap/evap_model.py

[error] invalid-argument-type - :8167:13 - Argument is incorrect: Expected `type[Self@modify_constants]`, found `Constants | None`
[error] invalid-argument-type - :8169:13 - Argument is incorrect: Expected `type[Self@modify_rows]`, found `Constants | None`
[error] invalid-argument-type - :8171:13 - Argument is incorrect: Expected `type[Self@modify_refindices]`, found `NameParameter | None`
[error] invalid-argument-type - :8173:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`
[error] invalid-argument-type - :8175:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`
[error] invalid-argument-type - :8177:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`
[error] invalid-argument-type - :8179:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`

hydpy/models/meteo/meteo_model.py

[error] invalid-argument-type - :2872:13 - Argument is incorrect: Expected `type[Self@modify_refindices]`, found `NameParameter | None`
[error] invalid-argument-type - :2874:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`
[error] invalid-argument-type - :2876:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`
[error] invalid-argument-type - :2878:13 - Argument is incorrect: Expected `type[Self@modify_refweights]`, found `Parameter | None`

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

ibis/common/graph.py

[error] not-iterable - :299:21 - Object of type `Node` is not iterable
[error] unresolved-attribute - :339:45 - Object of type `Node` has no attribute `items`
[error] unresolved-attribute - :341:35 - Object of type `Node` has no attribute `items`
[error] unresolved-attribute - :369:31 - Object of type `Node` has no attribute `items`
[warning] possibly-missing-attribute - :412:34 - Attribute `nodes` may be missing on object of type `Graph | Node`
[error] not-iterable - :514:21 - Object of type `Node` is not iterable

ibis/expr/datatypes/tests/test_parse.py

[error] invalid-argument-type - :119:9 - Argument is incorrect: Expected `bool`, found `Struct`
[error] invalid-argument-type - :128:25 - Argument is incorrect: Expected `bool`, found `Struct`

ibis/expr/types/joins.py

[error] invalid-argument-type - :173:51 - Argument to bound method `dereference` is incorrect: Expected `Value`, found `Node`

ibis/expr/visualize.py

[error] unresolved-attribute - :144:46 - Object of type `Node & ~Relation` has no attribute `argnames`
[error] unresolved-attribute - :144:58 - Object of type `Node & ~Relation` has no attribute `args`

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

jax/_src/interpreters/pxla.py

[error] invalid-argument-type - :1360:38 - Argument is incorrect: Expected `type[Self@trace]`, found `Unknown | PGLEProfiler | None`

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

unittests/cargotests.py

[warning] possibly-missing-attribute - :498:26 - Attribute `name` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :499:26 - Attribute `crate_type` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :500:26 - Attribute `path` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :504:26 - Attribute `name` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :505:26 - Attribute `crate_type` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :506:26 - Attribute `path` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :516:26 - Attribute `name` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :517:26 - Attribute `crate_type` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :518:26 - Attribute `path` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :519:26 - Attribute `test` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :520:26 - Attribute `doctest` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :521:26 - Attribute `bench` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :522:26 - Attribute `doc` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :523:26 - Attribute `harness` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :524:26 - Attribute `edition` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :525:26 - Attribute `required_features` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :526:26 - Attribute `plugin` may be missing on object of type `Library | None`
[warning] possibly-missing-attribute - :532:26 - Attribute `path` may be missing on object of type `Library | None`

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

web/gen/state_js.py

[error] unresolved-attribute - :30:5 - Unresolved attribute `_servers` on type `ServerInstance[Unknown]`.
[error] unresolved-attribute - :35:5 - Unresolved attribute `_server` on type `ServerInstance[Unknown]`.
[error] unresolved-attribute - :36:5 - Object of type `ServerInstance[Unknown]` has no attribute `_server`

test/mitmproxy/proxy/test_mode_servers.py

[error] unresolved-attribute - :65:29 - Object of type `ServerInstance[Unknown]` has no attribute `_servers`

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

bson/code.py

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

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

paasta_tools/kubernetes_tools.py

[error] unsupported-operator - :3904:20 - Operator `>` is not supported between objects of type `int | float | None` and `int | float`

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

pandas/tests/arrays/datetimes/test_constructors.py

[warning] possibly-missing-attribute - :78:16 - Attribute `unit` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`

pandas/tests/arrays/interval/test_interval.py

[error] invalid-argument-type - :219:21 - Argument to bound method `min` is incorrect: Expected `int | None`, found `Literal["foo"]`
[error] invalid-argument-type - :221:21 - Argument to bound method `max` is incorrect: Expected `int | None`, found `Literal["foo"]`
[error] invalid-argument-type - :239:32 - Argument to bound method `insert` is incorrect: Expected `Interval[Unknown]`, found `int | float`

pandas/core/algorithms.py

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

pandas/core/arrays/_mixins.py

[error] invalid-return-type - :242:16 - Return type does not match returned value: expected `Self@_concat_same_type`, found `NDArrayBackedExtensionArray`

pandas/core/arrays/boolean.py

[error] invalid-return-type - :332:16 - Return type does not match returned value: expected `Self@_simple_new`, found `BooleanArray`

pandas/core/arrays/categorical.py

[error] invalid-return-type - :385:16 - Return type does not match returned value: expected `Self@_simple_new`, found `Categorical`

pandas/core/arrays/datetimelike.py

[warning] possibly-missing-attribute - :712:16 - Attribute `categories` may be missing on object of type `Unknown | Self@_validate_listlike`
[warning] possibly-missing-attribute - :714:25 - Attribute `_internal_get_values` may be missing on object of type `Unknown | Self@_validate_listlike`

pandas/core/arrays/datetimes.py

[error] invalid-return-type - :332:16 - Return type does not match returned value: expected `Self@_simple_new`, found `DatetimeArray`
[warning] unused-ignore-comment - :404:44 - Unused blanket `type: ignore` directive

pandas/core/arrays/masked.py

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

pandas/core/arrays/timedeltas.py

[error] invalid-return-type - :240:16 - Return type does not match returned value: expected `Self@_simple_new`, found `TimedeltaArray`

pandas/core/groupby/ops.py

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

pandas/core/indexes/base.py

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

pandas/io/excel/_base.py

[error] invalid-return-type - :1186:16 - Return type does not match returned value: expected `Self@__new__`, found `@Todo | ExcelWriter[Unknown]`

pandas/io/pytables.py

[error] invalid-argument-type - :2754 -
Old: Argument to function `_unconvert_string_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `DatetimeArray | ndarray[tuple[Any, ...], dtype[Any]] | Unknown | ndarray[tuple[Any, ...], Unknown]`
New: Argument to function `_unconvert_string_array` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `DatetimeArray | ndarray[tuple[Any, ...], dtype[Any]] | Unknown | Categorical | ndarray[tuple[Any, ...], Unknown]`

pandas/tests/arrays/test_datetimes.py

[warning] possibly-missing-attribute - :65:16 - Attribute `unit` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`
[warning] possibly-missing-attribute - :66:35 - Attribute `tz` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`
[error] unresolved-attribute - :67:16 - Object of type `bool` has no attribute `all`
[warning] possibly-missing-attribute - :323:16 - Attribute `all` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Any`
[warning] possibly-missing-attribute - :329:16 - Attribute `all` may be missing on object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Any`
[warning] possibly-missing-attribute - :763:16 - Attribute `utcoffset` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`
[warning] possibly-missing-attribute - :769:16 - Attribute `utcoffset` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`

pandas/tests/arrays/test_timedeltas.py

[warning] possibly-missing-attribute - :30:16 - Attribute `unit` may be missing on object of type `Period | Timestamp | Timedelta | NaTType`

pandas/tests/indexes/period/test_constructors.py

[error] unresolved-attribute - :220:31 - Object of type `PeriodIndex` has no attribute `year`
[error] unresolved-attribute - :221:31 - Object of type `PeriodIndex` has no attribute `quarter`

pandas/tests/io/test_stata.py

[warning] possibly-missing-attribute - :2253:29 - Attribute `read` may be missing on object of type `IO[bytes] | None`

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

tests/indexes/arithmetic/test_add.py

[error] type-assertion-failure - :24:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :25:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :26:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :27:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :29:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :30:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :31:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :32:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :39:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :40:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :41:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :42:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :44:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :45:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :46:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :47:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :57:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :58:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :59:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :60:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :92:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :93:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :94:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :95:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :96:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :98:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :99:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :100:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :101:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :102:11 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/arithmetic/test_floordiv.py

[error] type-assertion-failure - :25:18 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/arithmetic/test_mul.py

[error] type-assertion-failure - :18:18 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :93:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :99:11 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/arithmetic/test_sub.py

[error] type-assertion-failure - :88:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :89:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :90:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :91:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :92:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :94:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :95:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :96:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :97:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :98:11 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/arithmetic/test_truediv.py

[error] type-assertion-failure - :19:18 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/test_indexes.py

[error] type-assertion-failure - :68:11 - Type `ndarray[tuple[int], dtype[bool[bool]]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :69:11 - Type `ndarray[tuple[int], dtype[bool[bool]]]` does not match asserted type `Unknown`
[warning] unused-ignore-comment - :71:23 - Unused blanket `type: ignore` directive
[error] type-assertion-failure - :82:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :88:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :94:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :104:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :129:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :132:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :138:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :142:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :146:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :249:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :250:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1001:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1002:11 - Type `tuple[Hashable, ...]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1003:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1056:11 - Type `Series[ExtensionDtype | str | dtype[generic[Any]] | type]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1208:11 - Type `TimedeltaIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1212:11 - Type `DatetimeIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1358:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1363:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1507:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1508:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1514:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1566:11 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1568:9 - Type `MultiIndex` does not match asserted type `Unknown`
[error] type-assertion-failure - :1579:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1580:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1581:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1582:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1583:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :1584:11 - Type `Index[Any]` does not match asserted type `Unknown`

tests/indexes/test_rangeindex.py

[error] type-assertion-failure - :28:11 - Type `list[int]` does not match asserted type `Unknown`
[error] type-assertion-failure - :33:11 - Type `ndarray[tuple[int], dtype[signedinteger[_64Bit]]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :38:11 - Type `ndarray[tuple[int], dtype[signedinteger[_64Bit]]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :43:11 - Type `Index[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :45:9 - Type `tuple[Index[Any], ndarray[tuple[int], dtype[signedinteger[_64Bit]]] | None, ndarray[tuple[int], dtype[signedinteger[_64Bit]]] | None]` does not match asserted type `Unknown`

tests/scalars/test_scalars.py

[error] type-assertion-failure - :1345:11 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :1347:9 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :1350:11 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :1352:9 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :1605:9 - Type `Timestamp` does not match asserted type `Unknown`

tests/series/arithmetic/test_add.py

[error] type-assertion-failure - :128:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :140:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :146:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :134 -
Old: Type `Series[Any]` does not match asserted type `Unknown`
New: Type `Series[Any]` does not match asserted type `Index[Unknown]`

tests/series/arithmetic/test_mul.py

[error] type-assertion-failure - :123:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :135:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :141:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :129 -
Old: Type `Series[Any]` does not match asserted type `Unknown`
New: Type `Series[Any]` does not match asserted type `Index[Unknown]`

tests/series/arithmetic/test_sub.py

[error] type-assertion-failure - :126:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :138:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :144:11 - Type `Series[Any]` does not match asserted type `Unknown`

tests/series/arithmetic/test_truediv.py

[error] type-assertion-failure - :268:11 - Type `Series[Any]` does not match asserted type `Unknown`
[error] type-assertion-failure - :277:11 - Type `Series[Any]` does not match asserted type `Unknown`

tests/series/test_series.py

[error] type-assertion-failure - :1040:5 - Type `Iterator[tuple[tuple[Hashable, ...], Series[int]]]` does not match asserted type `Unknown`

tests/test_frame.py

[error] type-assertion-failure - :2362:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2371:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2378:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2385:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2392:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2398:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2408:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2427:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2433:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2439:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2446:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :2453:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :3624:5 - Type `Iterator[tuple[tuple[Hashable, ...], DataFrame]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :4704:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :4969:11 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :4974:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :4983:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :4992:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5002:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5011:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5021:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5030:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5036:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5045:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5056:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5069:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5085:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5098:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5102:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5106:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5112:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5118:9 - Type `DataFrame` does not match asserted type `Unknown`
[error] type-assertion-failure - :5122:9 - Type `DataFrame` does not match asserted type `Unknown`

tests/test_pandas.py

[error] type-assertion-failure - :971:9 - Type `ndarray[tuple[Any, ...], dtype[Any]]` does not match asserted type `Unknown`
[error] type-assertion-failure - :498 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `TypeIs[datetime @ py_dt]`
[error] type-assertion-failure - :499 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `TypeIs[NaTType | NAType | None @ py_dt]`
[error] type-assertion-failure - :502 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `TypeIs[timedelta @ py_td]`
[error] type-assertion-failure - :503 -
Old: Type `bool` does not match asserted type `Unknown`
New: Type `bool` does not match asserted type `TypeIs[NaTType | NAType | None @ py_td]`
[error] type-assertion-failure - :510 -
Old: Type `bool` does not match asserted type `TypeIs[timedelta64[Unknown] @ np_td]`
New: Type `bool` does not match asserted type `TypeIs[timedelta64[timedelta & ~NaTType & ~NAType] @ np_td]`

tests/test_timefuncs.py

[error] type-assertion-failure - :799:11 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :800:11 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :801:11 - Type `Timestamp` does not match asserted type `Unknown`
[error] type-assertion-failure - :802:11 - Type `datetime` does not match asserted type `Unknown`
[error] type-assertion-failure - :803:11 - Type `datetime` does not match asserted type `Unknown`
[error] type-assertion-failure - :804:11 - Type `datetime` does not match asserted type `Unknown`

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

pandera/engines/pandas_engine.py

[error] invalid-argument-type - :1271:24 - Method `__getitem__` of type `bound method dict[str, Any].__getitem__(key: str, /) -> Any` cannot be called with key of type `int | str` on object of type `dict[str, Any]`
[warning] deprecated - :1267:52 - The function `dict` is deprecated: The `dict` method is deprecated; use `model_dump` instead.

pip (https://github.com/pypa/pip)

src/pip/_vendor/distlib/util.py

[error] invalid-assignment - :1283 -
Old: Object of type `def extraction_filter(member, path) -> Unknown` is not assignable to attribute `extraction_filter` on type `ZipFile | ZipFile | Unknown`
New: Object of type `def extraction_filter(member, path) -> Unknown` is not assignable to attribute `extraction_filter` on type `ZipFile | ZipFile | TarFile`

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

src/integrations/prefect-azure/tests/test_aci_worker.py

[error] invalid-argument-type - :111:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[Unknown | str, Unknown | dict[str, Any]]`

src/integrations/prefect-gcp/tests/test_cloud_run_worker.py

[error] invalid-argument-type - :421:75 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :442:75 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :475:75 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`

src/integrations/prefect-gcp/tests/test_vertex_worker.py

[error] invalid-argument-type - :67:17 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :95:17 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`

src/integrations/prefect-kubernetes/tests/test_worker.py

[error] invalid-argument-type - :1295:17 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1317:17 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1354:17 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1388:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1436:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1490:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1614:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1641:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1695:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1763:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1815:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1867:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1910:21 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1950:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :1993:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2040:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2081:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2107:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2150:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2173:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2209:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2256:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2315:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2361:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2394:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2469:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2523:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2546:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2590:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2614:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2638:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`
[error] invalid-argument-type - :2656:13 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`

src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py

[error] invalid-argument-type - :143:9 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[Unknown | str, Unknown | dict[str, Any]]`
[error] invalid-argument-type - :927:69 - Argument is incorrect: Expected `type[Self@from_template_and_values]`, found `dict[str, Any]`

src/prefect/_internal/concurrency/services.py

[error] invalid-assignment - :313:17 - Invalid subscript assignment with key of type `int` and value of type `Self@instance` on object of type `dict[int, <special form 'typing.Self'>]`

src/prefect/_vendor/croniter/croniter.py

[error] invalid-argument-type - :359:63 - Argument to bound method `astimezone` is incorrect: Expected `tzinfo | None`, found `~AlwaysFalsy`

src/prefect/artifacts.py

[error] invalid-argument-type - :233:51 - Argument is incorrect: Expected `type[Artifact]`, found `str | None`

src/prefect/blocks/core.py

[error] invalid-return-type - :1641:16 - Return type does not match returned value: expected `Self@model_validate`, found `Block`
[error] invalid-argument-type - :1261:69 - Argument is incorrect: Expected `type[Self@_get_block_document_by_id]`, found `str | UUID`

src/prefect/cli/deploy/_actions.py

[error] invalid-argument-type - :65:32 - Argument is incorrect: Expected `type[Self@aload]`, found `str`

src/prefect/deployments/steps/pull.py

[error] invalid-argument-type - :265:35 - Argument is incorrect: Expected `type[Self@aload]`, found `str`

src/prefect/events/worker.py

[error] invalid-return-type - :130:16 - Return type does not match returned value: expected `Self@instance`, found `EventsWorker`

src/prefect/flows.py

[error] unresolved-attribute - :2815:15 - Object of type `Block` has no attribute `get_directory`

src/prefect/logging/handlers.py

[error] invalid-return-type - :92:16 - Return type does not match returned value: expected `Self@instance`, found `APILogWorker`

src/prefect/results.py

[error] invalid-argument-type - :144:35 - Argument is incorrect: Expected `type[Self@aload]`, found `str`

src/prefect/server/api/block_types.py

[error] invalid-argument-type - :125:13 - Argument to function `_should_update_block_type` is incorrect: Expected `BlockType`, found `BlockType | BlockType`

src/prefect/server/events/schemas/automations.py

[error] invalid-return-type - :623:16 - Return type does not match returned value: expected `Self@model_validate`, found `Automation`

src/prefect/server/schemas/core.py

[error] invalid-return-type - :1162:16 - Return type does not match returned value: expected `Self@model_validate`, found `WorkPool`

src/prefect/server/schemas/responses.py

[error] invalid-return-type - :330:16 - Return type does not match returned value: expected `Self@model_validate`, found `FlowRunResponse`
[error] invalid-return-type - :532:16 - Return type does not match returned value: expected `Self@model_validate`, found `DeploymentResponse`
[error] invalid-return-type - :561:16 - Return type does not match returned value: expected `Self@model_validate`, found `WorkQueueResponse`
[error] unsupported-operator - :601:16 - Operator `>` is not supported between objects of type `datetime | None` and `datetime`
[error] invalid-return-type - :606:16 - Return type does not match returned value: expected `Self@model_validate`, found `WorkerResponse`

src/prefect/testing/utilities.py

[error] invalid-argument-type - :240:30 - Argument is incorrect: Expected `WritableFileSystem | None`, found `Block | Unknown`
[error] invalid-argument-type - :263:40 - Argument is incorrect: Expected `type[Self@aload]`, found `str`
[error] invalid-argument-type - :274:40 - Argument is incorrect: Expected `type[Self@aload]`, found `str`

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

src/_pytest/doctest.py

[error] invalid-return-type - :282:16 - Return type does not match returned value: expected `Self@from_parent`, found `DoctestItem`

src/_pytest/main.py

[error] invalid-return-type - :549:16 - Return type does not match returned value: expected `Self@from_parent`, found `Dir`

src/_pytest/nodes.py

[error] invalid-return-type - :627:16 - Return type does not match returned value: expected `Self@from_parent`, found `FSCollector`

src/_pytest/python.py

[error] invalid-return-type - :752:16 - Return type does not match returned value: expected `Self@from_parent`, found `Class`
[error] invalid-return-type - :1639:16 - Return type does not match returned value: expected `Self@from_parent`, found `Function`

src/_pytest/subtests.py

[error] invalid-return-type - :125:16 - Return type does not match returned value: expected `Self@_new`, found `SubtestReport`

pywin32 (https://github.com/mhammond/pywin32)

win32/test/test_win32api.py

[error] invalid-argument-type - :53:47 - Argument to function `GetDateFormat` is incorrect: Expected `TimeType | None`, found `datetime`
[error] invalid-argument-type - :59:38 - Argument to function `GetTimeFormat` is incorrect: Expected `TimeType | None`, found `datetime`

win32/test/test_win32file.py

[error] invalid-argument-type - :251:38 - Argument to function `SetFileTime` is incorrect: Expected `TimeType | None`, found `datetime`
[error] invalid-argument-type - :251:45 - Argument to function `SetFileTime` is incorrect: Expected `TimeType | None`, found `datetime`
[error] invalid-argument-type - :251:52 - Argument to function `SetFileTime` is incorrect: Expected `TimeType | None`, found `datetime`

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

rotkehlchen/chain/ethereum/modules/eth2/eth2.py

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

rotkehlchen/db/dbhandler.py

[warning] unused-ignore-comment - :3321:72 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :3531:80 - Unused blanket `type: ignore` directive

rotkehlchen/db/eth2.py

[error] no-matching-overload - :476:31 - No overload of bound method `get_history_events_internal` matches arguments

rotkehlchen/db/filtering.py

[error] invalid-return-type - :1038:16 - Return type does not match returned value: expected `Self@make`, found `HistoryEventWithTxRefFilterQuery`
[error] invalid-return-type - :1147:16 - Return type does not match returned value: expected `Self@make`, found `HistoryEventWithCounterpartyFilterQuery`
[error] invalid-return-type - :1228:16 - Return type does not match returned value: expected `Self@make`, found `SolanaEventFilterQuery`
[error] invalid-return-type - :1334:16 - Return type does not match returned value: expected `Self@make`, found `EvmEventFilterQuery`
[error] invalid-return-type - :1431:16 - Return type does not match returned value: expected `Self@make`, found `EthStakingEventFilterQuery`
[warning] unused-ignore-comment - :1593:30 - Unused blanket `type: ignore` directive

rotkehlchen/db/history_events.py

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

rotkehlchen/tests/api/blockchain/test_base.py

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

rotkehlchen/tests/db/test_history_events.py

[warning] possibly-missing-attribute - :202:43 - Attribute `identifier` may be missing on object of type `(tuple[int, HistoryBaseEntry[Unknown]] & ~HistoryEvent) | (HistoryBaseEntry[Unknown] & ~HistoryEvent)`
[warning] possibly-missing-attribute - :204:36 - Attribute `identifier` may be missing on object of type `(tuple[int, HistoryBaseEntry[Unknown]] & ~HistoryEvent) | (HistoryBaseEntry[Unknown] & ~HistoryEvent)`

rotkehlchen/tests/unit/test_utils.py

[warning] possibly-missing-attribute - :75:18 - Attribute `total_seconds` may be missing on object of type `timedelta | None`

rotkehlchen/types.py

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

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

sklearn/datasets/_california_housing.py

[error] invalid-argument-type - :184:17 - Argument to function `loadtxt` is incorrect: Expected `Iterable[str] | PathLike[str] | Iterable[bytes]`, found `IO[bytes] | None`

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

benchmarks/benchmarks/optimize.py

[error] unresolved-attribute - :56:9 - Unresolved attribute `function` on type `Self@from_funcobj`.
[error] unresolved-attribute - :61:9 - Unresolved attribute `bounds` on type `Self@from_funcobj`.

scipy/interpolate/_fitpack2.py

[error] unresolved-attribute - :956:9 - Unresolved attribute `tck` on type `Self@_from_tck`.
[error] unresolved-attribute - :957:9 - Unresolved attribute `degrees` on type `Self@_from_tck`.

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

scrapy/spiders/sitemap.py

[error] invalid-return-type - :45:16 - Return type does not match returned value: expected `Self@from_crawler`, found `SitemapSpider`

scrapy/spiders/crawl.py

[error] invalid-return-type - :219:16 - Return type does not match returned value: expected `Self@from_crawler`, found `CrawlSpider`

tests/test_downloadermiddleware_ajaxcrawlable.py

[error] invalid-argument-type - :51:42 - Argument to bound method `process_response` is incorrect: Expected `Request`, found `Unknown | Request | Response`
[warning] possibly-missing-attribute - :54:16 - Attribute `url` may be missing on object of type `Request | None`

tests/test_downloadermiddleware_redirect.py

[error] invalid-assignment - :1058:9 - Object of type `list[Unknown | int]` is not assignable to attribute `handle_httpstatus_list` on type `Unknown | Spider | None`

tests/test_dupefilters.py

[error] unresolved-attribute - :33:9 - Unresolved attribute `method` on type `FromCrawlerRFPDupeFilter`.
[error] unresolved-attribute - :49:16 - Object of type `BaseDupeFilter` has no attribute `debug`
[error] unresolved-attribute - :50:16 - Object of type `BaseDupeFilter` has no attribute `method`
[error] unresolved-attribute - :58:16 - Object of type `BaseDupeFilter` has no attribute `method`

tests/test_pipeline_files.py

[error] invalid-argument-type - :133:17 - Argument to bound method `file_path` is incorrect: Expected `SpiderInfo | None`, found `object`
[error] invalid-argument-type - :286:52 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :301:59 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :304:40 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, dict[Unknown | str, Unknown | str]]]`
[error] invalid-argument-type - :304:55 - Argument to bound method `item_completed` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :322:59 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :325:40 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, dict[Unknown | str, Unknown | str]]]`
[error] invalid-argument-type - :325:55 - Argument to bound method `item_completed` is incorrect: Expected `SpiderInfo`, found `None`

tests/test_pipeline_images.py

[error] invalid-argument-type - :250:52 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :265:59 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :268:40 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, dict[Unknown | str, Unknown | str]]]`
[error] invalid-argument-type - :268:55 - Argument to bound method `item_completed` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :286:59 - Argument to bound method `get_media_requests` is incorrect: Expected `SpiderInfo`, found `None`
[error] invalid-argument-type - :289:40 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, dict[Unknown | str, Unknown | str]]]`
[error] invalid-argument-type - :289:55 - Argument to bound method `item_completed` is incorrect: Expected `SpiderInfo`, found `None`

tests/test_pipeline_media.py

[warning] possibly-missing-attribute - :132:16 - Attribute `value` may be missing on object of type `Unknown | FileInfo`
[warning] possibly-missing-attribute - :134:27 - Attribute `value` may be missing on object of type `Unknown | FileInfo`
[error] invalid-argument-type - :146:49 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, int] | tuple[bool, Unknown]]`
[error] invalid-argument-type - :157:49 - Argument to bound method `item_completed` is incorrect: Expected `list[tuple[Literal[True], FileInfo] | tuple[Literal[False], Unknown]]`, found `list[Unknown | tuple[bool, int] | tuple[bool, Unknown]]`
[warning] possibly-missing-attribute - :206:9 - Attribute `_mockcalled` may be missing on object of type `Unknown | UserDefinedPipeline`
[warning] possibly-missing-attribute - :220:16 - Attribute `_mockcalled` may be missing on object of type `Unknown | UserDefinedPipeline`
[warning] possibly-missing-attribute - :243:16 - Attribute `_mockcalled` may be missing on object of type `Unknown | UserDefinedPipeline`
[warning] possibly-missing-attribute - :266:13 - Attribute `_mockcalled` may be missing on object of type `Unknown | UserDefinedPipeline`
[warning] possibly-missing-attribute - :359:16 - Attribute `_mockcalled` may be missing on object of type `Unknown | UserDefinedPipeline`
[error] unresolved-attribute - :454:17 - Unresolved attribute `store_uri` on type `Pipeline`.

tests/test_pqueues.py

[warning] possibly-missing-attribute - :32:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :33:16 - Attribute `priority` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :67:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :68:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :70:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :71:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :73:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :74:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :93:16 - Attribute `url` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :94:16 - Attribute `priority` may be missing on object of type `Request | None`
[warning] possibly-missing-attribute - :121:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :123:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :125:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :150:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :151:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :153:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :154:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :156:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :157:16 - Attribute `url` may be missing on object of type `Unknown | Request | None`

tests/test_scheduler.py

[warning] possibly-missing-attribute - :157:22 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :167:31 - Attribute `priority` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :205:22 - Attribute `url` may be missing on object of type `Unknown | Request | None`
[warning] possibly-missing-attribute - :218:31 - Attribute `priority` may be missing on object of type `Unknown | Request | None`

tests/test_spidermiddleware_base.py

[warning] unused-ignore-comment - :32:64 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :55:64 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :79:64 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :116:64 - Unused blanket `type: ignore` directive

setuptools (https://github.com/pypa/setuptools)

setuptools/tests/test_build_meta.py

[warning] possibly-missing-attribute - :513:28 - Attribute `read` may be missing on object of type `IO[bytes] | None`

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

lib/spack/spack/util/archive.py

[warning] possibly-missing-attribute - :269:24 - Attribute `read` may be missing on object of type `IO[bytes] | None`
[warning] possibly-missing-attribute - :277:25 - Attribute `read` may be missing on object of type `IO[bytes] | None`

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

static_frame/test/unit/test_bus.py

[error] invalid-argument-type - :2068:36 - Argument to bound method `from_label_map` is incorrect: Expected `Mapping[Hashable, (...) -> ndarray[Any, Any]]`, found `dict[str, (l, v) -> Unknown]`
[error] invalid-argument-type - :2101:17 - Argument to bound method `from_label_map` is incorrect: Expected `Mapping[Hashable, (...) -> ndarray[Any, Any]]`, found `dict[str, (l, v) -> Unknown]`
[error] invalid-argument-type - :2134:36 - Argument to bound method `from_label_map` is incorrect: Expected `Mapping[Hashable, (...) -> ndarray[Any, Any]]`, found `dict[str, Overload[(a: _SupportsArray[dtype[_ScalarT@sum]] | _NestedSequence[_SupportsArray[dtype[_ScalarT@sum]]], axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum, (a: _SupportsArray[dtype[_ScalarT@sum]] | _NestedSequence[_SupportsArray[dtype[_ScalarT@sum]]], axis: None = EllipsisType, dtype: None = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum | ndarray[tuple[Any, ...], dtype[_ScalarT@sum]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: None, dtype: type[_ScalarT@sum] | dtype[_ScalarT@sum] | _SupportsDType[dtype[_ScalarT@sum]], out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: None = EllipsisType, *, dtype: type[_ScalarT@sum] | dtype[_ScalarT@sum] | _SupportsDType[dtype[_ScalarT@sum]], out: None = EllipsisType, keepdims: Literal[False] = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: SupportsIndex | Sequence[SupportsIndex] | None, dtype: type[_ScalarT@sum] | dtype[_ScalarT@sum] | _SupportsDType[dtype[_ScalarT@sum]], out: None = EllipsisType, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum | ndarray[tuple[Any, ...], dtype[_ScalarT@sum]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: SupportsIndex | Sequence[SupportsIndex] | None = EllipsisType, *, dtype: type[_ScalarT@sum] | dtype[_ScalarT@sum] | _SupportsDType[dtype[_ScalarT@sum]], out: None = EllipsisType, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ScalarT@sum | ndarray[tuple[Any, ...], dtype[_ScalarT@sum]], (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: SupportsIndex | Sequence[SupportsIndex] | None = EllipsisType, dtype: type[Any] | dtype[Any] | _SupportsDType[dtype[Any]] | ... omitted 5 union elements = EllipsisType, out: None = EllipsisType, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> Any, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: SupportsIndex | Sequence[SupportsIndex] | None, dtype: type[Any] | dtype[Any] | _SupportsDType[dtype[Any]] | ... omitted 5 union elements, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ArrayT@sum, (a: _Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements, axis: SupportsIndex | Sequence[SupportsIndex] | None = EllipsisType, dtype: type[Any] | dtype[Any] | _SupportsDType[dtype[Any]] | ... omitted 5 union elements = EllipsisType, *, out: _ArrayT@sum, keepdims: bool = EllipsisType, initial: int | float | complex | number[Any, int | float | complex] | bool[bool] = EllipsisType, where: _SupportsArray[dtype[bool[bool]]] | _NestedSequence[_SupportsArray[dtype[bool[bool]]]] | bool | _NestedSequence[bool] = EllipsisType) -> _ArrayT@sum]]`
[error] invalid-argument-type - :2162:17 - Argument to bound method `from_label_map` is incorrect: Expected `Mapping[Hashable, (...) -> ndarray[Any, Any]]`, found `dict[str, (l, v) -> Unknown]`
[warning] possibly-missing-attribute - :2305:13 - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] unused-ignore-comment - :46:24 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :936:53 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_db_util.py

[error] non-subscriptable - :260:16 - Cannot subscript object of type `Iterable[Sequence[Any]]` with no `__getitem__` method

static_frame/test/unit/test_frame.py

[error] unresolved-attribute - :3084:30 - Object of type `Series[Any, Any]` has no attribute `columns`
[error] unresolved-attribute - :3093:26 - Object of type `Series[Any, Any]` has no attribute `dtypes`
[error] unresolved-attribute - :3101:26 - Object of type `Series[Any, Any]` has no attribute `dtypes`

static_frame/test/unit/test_frame_iter.py

[warning] possibly-missing-attribute - :271:32 - Attribute `_asdict` may be missing on object of type `Any | tuple[Any, Any]`

static_frame/test/unit/test_frame_via_fill_value.py

[warning] possibly-missing-attribute - :348:23 - Attribute `columns` may be missing on object of type `@Todo | Series[Any, Any]`
[warning] possibly-missing-attribute - :351:23 - Attribute `columns` may be missing on object of type `@Todo | Series[Any, Any]`

static_frame/test/unit/test_index_hierarchy.py

[error] invalid-argument-type - :360:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :363:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :366:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :369:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :375:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :378:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :381:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :483:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :487:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :504:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :531:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :546:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :547:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :548:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :549:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :565:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :581:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :581:44 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :582:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :585:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :585:44 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :586:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :589:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :589:44 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :590:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :598:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :600:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :605:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :609:18 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :609:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :611:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-argument-type - :755:31 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-assignment - :767:28 - Object of type `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements` is not assignable to `list[int]`
[warning] possibly-missing-attribute - :768:28 - Attribute `tolist` may be missing on object of type `int | integer[Any] | ndarray[Any, Any] | ... omitted 4 union elements`
[error] invalid-assignment - :768:28 - Object of type `int | Unknown` is not assignable to `list[int]`
[error] invalid-argument-type - :941:41 - Argument to bound method `_extract_getitem_astype` is incorrect: Expected `int | list[int] | slice[Any, Any, Any] | ndarray[Any, dtype[signedinteger[_64Bit]]] | None`, found `tuple[Literal["A"], Literal[1]]`
[error] unsupported-operator - :1760:26 - Operator `in` is not supported between objects of type `ndarray[tuple[Any, ...], dtype[Any]]` and `IndexHierarchy`
[error] unresolved-attribute - :3288:13 - Object of type `str` has no attribute `tolist`
[warning] unused-ignore-comment - :298:61 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :310:84 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :316:61 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :320:67 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :327:49 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :330:57 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :333:69 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :336:69 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :465:48 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :616:50 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :630:69 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :652:69 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :4143:34 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_series.py

[warning] unused-ignore-comment - :73:24 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :264:50 - Unused blanket `type: ignore` directive

static_frame/test/unit/test_series_he.py

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

static_frame/test/unit/test_yarn.py

[error] unresolved-attribute - :725:13 - Object of type `object_` has no attribute `shapes`
[warning] possibly-missing-attribute - :1622:28 - Attribute `sort` may be missing on object of type `Unknown | IndexBase`
[warning] possibly-missing-attribute - :1917:14 - Attribute `shape` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - :1929:14 - Attribute `shape` may be missing on object of type `Any | tuple[Any, Any]`
[warning] unused-ignore-comment - :1243:69 - Unused blanket `type: ignore` directive

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

strawberry/types/object_type.py

[error] invalid-argument-type - :137:13 - Argument to function `__new__` is incorrect: Argument type `T'instance@_process_type` does not satisfy upper bound `BaseException` of type variable `Self`
[error] invalid-argument-type - :137:13 - Argument to function `__new__` is incorrect: Expected `type[InvalidSuperclassInterfaceError]`, found `T@_process_type`

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

sympy/core/relational.py

[error] invalid-argument-type - :283:35 - Argument to function `__new__` is incorrect: Expected `type[Unknown]`, found `Unknown | <class 'Unequality'> | <class 'StrictLessThan'> | ... omitted 5 union elements`

sympy/core/singleton.py

[error] invalid-argument-type - :233:45 - Argument to function `__new__` is incorrect: Expected `type[Basic]`, found `Self@__init__`
[error] invalid-argument-type - :233:45 - Argument to function `__new__` is incorrect: Expected `type[Basic]`, found `Self@__init__`

sympy/external/pythonmpq.py

[error] unresolved-attribute - :107:9 - Unresolved attribute `numerator` on type `Self@_new`.
[error] unresolved-attribute - :108:9 - Unresolved attribute `denominator` on type `Self@_new`.

sympy/matrices/tests/test_matrixbase.py

[error] invalid-argument-type - :553:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :554:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :560:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :561:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :568:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`
[error] invalid-argument-type - :569:17 - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `MutableDenseMatrix`

sympy/physics/quantum/qexpr.py

[error] unresolved-attribute - :149:9 - Unresolved attribute `hilbert_space` on type `Self@_new_rawargs`.
[error] invalid-assignment - :193:13 - Object of type `Unknown` is not assignable to attribute `hilbert_space` on type `(Unknown & QExpr) | (Dagger & QExpr)`

sympy/polys/matrices/_dfm.py

[error] unresolved-attribute - :128:9 - Unresolved attribute `rep` on type `Self@_new`.
[error] unresolved-attribute - :129:9 - Unresolved attribute `shape` on type `Self@_new`.
[error] unresolved-attribute - :130:9 - Unresolved attribute `domain` on type `Self@_new`.

sympy/polys/matrices/domainscalar.py

[error] unresolved-attribute - :32:9 - Unresolved attribute `element` on type `Self@new`.
[error] unresolved-attribute - :33:9 - Unresolved attribute `domain` on type `Self@new`.

sympy/polys/polyclasses.py

[warning] unused-ignore-comment - :1380:51 - Unused blanket `type: ignore` directive
[error] invalid-argument-type - :219:46 - Argument to bound method `new` is incorrect: Expected `Domain[Er@DUP_Flint]`, found `Domain[Er@DMP]`

sympy/polys/polymatrix.py

[error] unresolved-attribute - :130:9 - Unresolved attribute `_dm` on type `Self@from_dm`.
[error] unresolved-attribute - :131:9 - Unresolved attribute `ring` on type `Self@from_dm`.
[error] unresolved-attribute - :132:9 - Unresolved attribute `domain` on type `Self@from_dm`.
[error] unresolved-attribute - :133:9 - Unresolved attribute `gens` on type `Self@from_dm`.

sympy/polys/rootoftools.py

[error] unresolved-attribute - :369:9 - Unresolved attribute `poly` on type `Self@_new`.
[error] unresolved-attribute - :370:9 - Unresolved attribute `index` on type `Self@_new`.
[error] unresolved-attribute - :373:26 - Object of type `Self@_new` has no attribute `poly`
[error] unresolved-attribute - :374:30 - Object of type `Self@_new` has no attribute `poly`
[error] unresolved-attribute - :1192:9 - Unresolved attribute `poly` on type `Self@_new`.
[error] unresolved-attribute - :1193:9 - Unresolved attribute `fun` on type `Self@_new`.
[error] unresolved-attribute - :1194:9 - Unresolved attribute `auto` on type `Self@_new`.

sympy/simplify/hyperexpand.py

[error] unresolved-attribute - :1388:9 - Unresolved attribute `_poly` on type `Self@_meijer`.
[error] unresolved-attribute - :1390:13 - Unresolved attribute `_a` on type `Self@_meijer`.
[error] unresolved-attribute - :1391:13 - Unresolved attribute `_b` on type `Self@_meijer`.
[error] unresolved-attribute - :1393:13 - Unresolved attribute `_b` on type `Self@_meijer`.
[error] unresolved-attribute - :1394:13 - Unresolved attribute `_a` on type `Self@_meijer`.

sympy/tensor/array/dense_ndim_array.py

[error] unresolved-attribute - :169:9 - Unresolved attribute `_shape` on type `Self@_new`.
[error] unresolved-attribute - :171:9 - Unresolved attribute `_rank` on type `Self@_new`.
[error] unresolved-attribute - :172:9 - Unresolved attribute `_loop_size` on type `Self@_new`.

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

test/with_dummyserver/test_chunked_transfer.py

[error] invalid-argument-type - :299:36 - Argument is incorrect: Expected `type[Self@mark]`, found `MonkeyPatch`
[error] invalid-argument-type - :327:36 - Argument is incorrect: Expected `type[Self@mark]`, found `MonkeyPatch`

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

test/builtin_dataset_mocks.py

[error] invalid-argument-type - :1245:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Abyssinian"]`
[error] invalid-argument-type - :1246:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Keeshond"]`
[error] invalid-argument-type - :1247:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Yorkshire Terrier"]`

test/test_datasets.py

[error] invalid-argument-type - :2693:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Abyssinian"]`
[error] invalid-argument-type - :2694:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Keeshond"]`
[error] invalid-argument-type - :2695:18 - Argument to function `__new__` is incorrect: Expected `type[dict[_KT@dict, _VT@dict]]`, found `Literal["Yorkshire Terrier"]`

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

src/werkzeug/sansio/response.py

[error] invalid-assignment - :597:9 - Object of type `def on_update(value: WWWAuthenticate) -> None` is not assignable to attribute `_on_update` on type `(Unknown & ~None) | WWWAuthenticate`
[error] unresolved-attribute - :597:9 - Cannot assign object of type `def on_update(value: WWWAuthenticate) -> None` to attribute `_on_update` on type `WWWAuthenticate` with custom `__setattr__` method.

tests/test_http.py

[warning] possibly-missing-attribute - :159 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :160 -
Old: Attribute `username` may be missing on object of type `Unknown | None`
New: Attribute `username` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :161 -
Old: Attribute `password` may be missing on object of type `Unknown | None`
New: Attribute `password` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :164 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :165 -
Old: Attribute `username` may be missing on object of type `Unknown | None`
New: Attribute `username` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :166 -
Old: Attribute `password` may be missing on object of type `Unknown | None`
New: Attribute `password` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :169 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :170 -
Old: Attribute `username` may be missing on object of type `Unknown | None`
New: Attribute `username` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :171 -
Old: Attribute `password` may be missing on object of type `Unknown | None`
New: Attribute `password` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :183 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :184 -
Old: Attribute `username` may be missing on object of type `Unknown | None`
New: Attribute `username` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :185 -
Old: Attribute `realm` may be missing on object of type `Unknown | None`
New: Attribute `realm` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :186 -
Old: Attribute `nonce` may be missing on object of type `Unknown | None`
New: Attribute `nonce` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :187 -
Old: Attribute `uri` may be missing on object of type `Unknown | None`
New: Attribute `uri` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :188 -
Old: Attribute `qop` may be missing on object of type `Unknown | None`
New: Attribute `qop` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :189 -
Old: Attribute `nc` may be missing on object of type `Unknown | None`
New: Attribute `nc` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :190 -
Old: Attribute `cnonce` may be missing on object of type `Unknown | None`
New: Attribute `cnonce` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :191 -
Old: Attribute `response` may be missing on object of type `Unknown | None`
New: Attribute `response` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :192 -
Old: Attribute `opaque` may be missing on object of type `Unknown | None`
New: Attribute `opaque` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :202 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :203 -
Old: Attribute `username` may be missing on object of type `Unknown | None`
New: Attribute `username` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :204 -
Old: Attribute `realm` may be missing on object of type `Unknown | None`
New: Attribute `realm` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :205 -
Old: Attribute `nonce` may be missing on object of type `Unknown | None`
New: Attribute `nonce` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :206 -
Old: Attribute `uri` may be missing on object of type `Unknown | None`
New: Attribute `uri` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :207 -
Old: Attribute `response` may be missing on object of type `Unknown | None`
New: Attribute `response` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :208 -
Old: Attribute `opaque` may be missing on object of type `Unknown | None`
New: Attribute `opaque` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :212 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :216 -
Old: Attribute `to_header` may be missing on object of type `Unknown | None`
New: Attribute `to_header` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :222 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :223 -
Old: Attribute `token` may be missing on object of type `Unknown | None`
New: Attribute `token` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :228 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :229 -
Old: Attribute `token` may be missing on object of type `Unknown | None`
New: Attribute `token` may be missing on object of type `Authorization | None`
[warning] possibly-missing-attribute - :253 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :254 -
Old: Attribute `realm` may be missing on object of type `Unknown | None`
New: Attribute `realm` may be missing on object of type `WWWAuthenticate | None`
[error] invalid-assignment - :255 -
Old: Object of type `Literal["Foo Bar"]` is not assignable to attribute `realm` on type `Unknown | None`
New: Object of type `Literal["Foo Bar"]` is not assignable to attribute `realm` on type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :256 -
Old: Attribute `to_header` may be missing on object of type `Unknown | None`
New: Attribute `to_header` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :264 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :265 -
Old: Attribute `realm` may be missing on object of type `Unknown | None`
New: Attribute `realm` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :266 -
Old: Attribute `parameters` may be missing on object of type `Unknown | None`
New: Attribute `parameters` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :267 -
Old: Attribute `nonce` may be missing on object of type `Unknown | None`
New: Attribute `nonce` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :268 -
Old: Attribute `opaque` may be missing on object of type `Unknown | None`
New: Attribute `opaque` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :270 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :277 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :278 -
Old: Attribute `token` may be missing on object of type `Unknown | None`
New: Attribute `token` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :283 -
Old: Attribute `type` may be missing on object of type `Unknown | None`
New: Attribute `type` may be missing on object of type `WWWAuthenticate | None`
[warning] possibly-missing-attribute - :284 -
Old: Attribute `token` may be missing on object of type `Unknown | None`
New: Attribute `token` may be missing on object of type `WWWAuthenticate | None`

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

xarray/core/dataset.py

[error] invalid-return-type - :7446:16 - Return type does not match returned value: expected `Self@from_dataframe`, found `DataArray | Self@from_dataframe`

xarray/tests/test_combine.py

[warning] unused-ignore-comment - :777:51 - Unused blanket `type: ignore` directive
[warning] unused-ignore-comment - :1237:40 - Unused blanket `type: ignore` directive

xarray/tests/test_dataarray.py

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

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

tests/test_pickle.py

[error] invalid-argument-type - :21:20 - Argument to bound method `__setstate__` is incorrect: Expected `tuple[tuple[str, str, str, str, str]] | tuple[None, _InternalURLCache]`, found `tuple[None, dict[Unknown | str, Unknown | tuple[str, str, str, str, str]]]`