Ecosystem report

Old: main (merge base) 90c8571b New: 23109/merge 797c68f3
Lint Rule Removed Added Changed
Total 338 22 67
possibly-missing-attribute 118 14 21
invalid-argument-type 98 4 33
invalid-return-type 32 0 4
not-subscriptable 20 0 0
unsupported-operator 17 0 3
invalid-assignment 19 0 0
no-matching-overload 11 0 0
unresolved-attribute 10 0 0
call-non-callable 7 0 0
not-iterable 5 0 1
type-assertion-failure 0 1 5
unused-type-ignore-comment 0 2 0
invalid-type-form 1 0 0
unused-ignore-comment 0 1 0
Project Removed Added Changed
Total 338 22 67
mkosi 34 0 0
core 30 0 0
prefect flaky 24 0 4
pandas 16 4 4
hydpy 21 0 0
spack 18 2 1
zulip 20 0 1
cloud-init 16 0 2
jax 10 5 3
paasta 15 0 0
static-frame 1 0 13
vision 2 0 12
cwltool 11 0 1
meson 9 1 1
sympy flaky 9 1 0
bokeh 8 1 0
pytest 7 1 0
scikit-learn 6 0 2
scipy 3 0 5
dd-trace-py 7 0 0

AutoSplit (https://github.com/Toufool/AutoSplit)

src/AutoSplit.py

[warning] possibly-missing-attribute - Attribute `ignore` may be missing on object of type `QCloseEvent | None`

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

tanjun/annotations.py

[error] invalid-type-form - Variable of type `type[Unknown]` is not allowed in a type expression

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

aiohttp/web_urldispatcher.py

[error] call-non-callable - Object of type `None` is not callable

anyio (https://github.com/agronholm/anyio)

src/anyio/_backends/_trio.py

[warning] possibly-missing-attribute - Attribute `send_nowait` may be missing on object of type `MemoryObjectSendStream[Unknown] | None`

archinstall (https://github.com/archlinux/archinstall)

archinstall/lib/models/mirrors.py

[error] invalid-return-type - Return type does not match returned value: expected `int | float`, found `int | float | None`

archinstall/tui/ui/components.py

[error] invalid-return-type - Return type does not match returned value: expected `Result[ValueT@run]`, found `(Any & ~Exception) | None`

asynq (https://github.com/quora/asynq)

asynq/async_task.py

[warning] possibly-missing-attribute - Attribute `send` may be missing on object of type `Unknown | None`
[error] invalid-argument-type - Argument to function `get_frame` is incorrect: Expected `GeneratorType[Unknown, None, None]`, found `Unknown | None`
[warning] possibly-missing-attribute - Attribute `throw` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `throw` may be missing on object of type `Unknown | None`

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

beartype/_util/hint/pep/utilpepsign.py

[error] invalid-return-type - Return type does not match returned value: expected `HintSign`, found `HintSign | None`

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

src/bokeh/events.py

[error] call-non-callable - Object of type `None` is not callable

src/bokeh/core/property/wrappers.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `Sequence[Any]`
[error] invalid-argument-type - Method `__getitem__` of type `Overload[(index: int) -> object, (index: slice[int | None, int | None, int | None]) -> Top[MutableSequence[Unknown]]]` cannot be called with key of type `tuple[@Todo, ...]` on object of type `Top[MutableSequence[Unknown]]`

src/bokeh/core/serialization.py

[error] no-matching-overload - No overload of function `__new__` matches arguments
[error] invalid-assignment - Invalid subscript assignment with key of type `ID` and value of type `Model | None` on object of type `dict[ID, Model]`
[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `Model | None`
[warning] possibly-missing-attribute - Attribute `_initialized` may be missing on object of type `Model | None`
[warning] possibly-missing-attribute - Attribute `set_from_json` may be missing on object of type `Model | None`
[error] invalid-return-type - Return type does not match returned value: expected `Model`, found `Model | None`

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

cibuildwheel/resources/_rust_shim.py

[error] invalid-argument-type - Argument to function `execv` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `str | None`
[error] invalid-argument-type - Argument to function `execv` is incorrect: Expected `tuple[str | bytes | PathLike[str] | PathLike[bytes], ...] | list[bytes] | list[str] | ... omitted 5 union elements`, found `list[Unknown | str | None]`

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

cloudinit/config/cc_growpart.py

[error] invalid-return-type - Return type does not match returned value: expected `Resizer`, found `None | (ResizeGrowPart & ~AlwaysFalsy) | (ResizeGrowFS & ~AlwaysFalsy) | (ResizeGpart & ~AlwaysFalsy) | (Unknown & ~AlwaysFalsy)`

tests/unittests/sources/test_ibmcloud.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

cloudinit/config/cc_mounts.py

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

cloudinit/util.py

[error] not-iterable - Object of type `list[Unknown] | None | list[Unknown | str]` may not be iterable

tests/unittests/distros/test_user_data_normalize.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`

tests/unittests/sources/test_gce.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | bool | list[Unknown] | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[Unknown, Unknown]`, found `Unknown | dict[Unknown | str, Unknown | str] | str | ... omitted 3 union elements`

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

colour/utilities/verbose.py

[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `bool | (Unknown & ~None) | <class 'str'>`
[error] invalid-argument-type - Argument to function `getattr` is incorrect: Expected `str`, found `(Unknown & ~None) | <class 'str'> | bool`

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

homeassistant/components/alexa/auth.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`

homeassistant/auth/mfa_modules/notify.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[warning] possibly-missing-attribute - Attribute `pop` may be missing on object of type `dict[str, NotifySetting] | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `str` and `dict[str, NotifySetting] | None`
[warning] possibly-missing-attribute - Attribute `get` may be missing on object of type `dict[str, NotifySetting] | None`
[warning] possibly-missing-attribute - Attribute `get` may be missing on object of type `dict[str, NotifySetting] | None`
[warning] possibly-missing-attribute - Attribute `get` may be missing on object of type `dict[str, NotifySetting] | None`

homeassistant/auth/providers/homeassistant.py

[warning] possibly-missing-attribute - Attribute `validate_login` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `add_auth` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_save` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_remove_auth` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_save` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `change_password` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_save` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `change_username` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_save` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `normalize_username` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_remove_auth` may be missing on object of type `Data | None`
[warning] possibly-missing-attribute - Attribute `async_save` may be missing on object of type `Data | None`

homeassistant/components/comelit/alarm_control_panel.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ComelitVedoSystem[Unknown] | ComelitSerialBridge[Unknown]`, found `ComelitBaseCoordinator[Unknown]`

homeassistant/components/comelit/sensor.py

[error] unresolved-attribute - Object of type `ComelitBaseCoordinator[Unknown]` has no attribute `vedo_pin`

homeassistant/components/growatt_server/config_flow.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] no-matching-overload - No overload of bound method `update` matches arguments

homeassistant/components/home_connect/switch.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `dict[str, str] | None`, found `dict[Unknown | str, Unknown | str | UndefinedType]`

homeassistant/components/homekit_controller/config_flow.py

[warning] possibly-missing-attribute - Attribute `async_find` may be missing on object of type `Unknown | None`

homeassistant/components/lovelace/dashboard.py

[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] invalid-argument-type - Argument to bound method `async_save` is incorrect: Expected `dict[str, Any]`, found `dict[str, Any] | None`

homeassistant/components/websocket_api/http.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `bytes`, found `str | bytes | dict[str, Any]`

cryptography (https://github.com/pyca/cryptography)

tests/wycheproof/test_ecdh.py

[error] invalid-argument-type - Argument to function `derive_private_key` is incorrect: Expected `EllipticCurve`, found `EllipticCurve | None`

tests/wycheproof/test_rsa.py

[warning] possibly-missing-attribute - Attribute `digest_size` may be missing on object of type `(HashAlgorithm & ~SHA1) | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `HashAlgorithm`, found `HashAlgorithm | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `HashAlgorithm`, found `HashAlgorithm | None`

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

cwltool/main.py

[warning] possibly-missing-attribute - Attribute `get` may be missing on object of type `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - Argument to bound method `_init_job` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - Argument to bound method `bind_input` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements] | list[MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] invalid-argument-type - Argument to function `printdeps` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-argument-type - Argument to bound method `store` is incorrect: Expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["cwl:tool"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] not-subscriptable - Cannot delete subscript on object of type `None` with no `__delitem__` method
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["__id"]` and `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] not-subscriptable - Cannot delete subscript on object of type `None` with no `__delitem__` method
[error] invalid-return-type - Return type does not match returned value: expected `MutableMapping[str, None | int | str | ... omitted 3 union elements]`, found `MutableMapping[str, None | int | str | ... omitted 3 union elements] | None`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[MutableMapping[str, None | int | str | ... omitted 3 union elements] | None, str, Loader]`, found `tuple[None | int | float | ... omitted 3 union elements, Unknown | str, Loader]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[MutableMapping[str, None | int | str | ... omitted 3 union elements] | None, str, Loader]`, found `tuple[None | (int & Top[MutableMapping[Unknown, Unknown]]) | (float & Top[MutableMapping[Unknown, Unknown]]) | ... omitted 3 union elements, Unknown | str, Loader]`

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

ddtrace/commands/ddtrace_run.py

[error] no-matching-overload - No overload of function `basename` matches arguments
[error] invalid-argument-type - Argument to function `execl` is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `None | str`
[warning] possibly-missing-attribute - Attribute `command` may be missing on object of type `None | Unknown`

.gitlab/validate-ddtrace-package.py

[error] invalid-argument-type - Argument to function `validate_sdist` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `build_expected_set` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `identify_version_mismatches` is incorrect: Expected `str`, found `str | None`

ddtrace/_trace/processor/__init__.py

[error] unsupported-operator - Operator `<=` is not supported between objects of type `int | float | None` and `Literal[0]`

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

discord/audit_logs.py

[error] invalid-argument-type - Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | int`
[error] invalid-argument-type - Argument to bound method `from_data` is incorrect: Expected `int`, found `None | Unknown | int`

django-stubs (https://github.com/typeddjango/django-stubs)

mypy_django_plugin/config.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `str | PathLike[str]`, found `str | None`

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

dulwich/notes.py

[error] invalid-argument-type - Argument is incorrect: Expected `bytes`, found `bytes | None`

egglog-python (https://github.com/egraphs-good/egglog-python)

python/egglog/pretty.py

[error] type-assertion-failure - Type `RulesetDecl | CombinedRulesetDecl | RewriteDecl | ... omitted 27 union elements` is not equivalent to `Never`
[error] type-assertion-failure - Type `PartialCallDecl & ~LitDecl & ~UnboundVarDecl & ~LetRefDecl & ~CallDecl & ~PyObjectDecl & ~ActionCommandDecl & ~RewriteDecl & ~BiRewriteDecl & ~RuleDecl & ~SetDecl & ~UnionDecl & ~LetDecl & ~ExprActionDecl & ~ExprFactDecl & ~ChangeDecl & ~PanicDecl & ~SetCostDecl & ~EqDecl & ~RulesetDecl & ~CombinedRulesetDecl & ~SaturateDecl & ~RepeatDecl & ~SequenceDecl & ~LetSchedulerDecl & ~RunDecl & ~DefaultRewriteDecl & ~BackOffDecl & ~ValueDecl & ~GetCostDecl` is not equivalent to `Never`

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

hydpy/models/sw1d_network.py

[error] invalid-argument-type - Argument to bound method `append_submodel` is incorrect: Expected `RoutingModel_V1 | RoutingModel_V2`, found `RoutingModel_V1 | RoutingModel_V2 | RoutingModel_V3`
[error] invalid-argument-type - Argument to bound method `append_submodel` is incorrect: Expected `RoutingModel_V2 | RoutingModel_V3`, found `RoutingModel_V1 | RoutingModel_V2 | RoutingModel_V3`
[error] invalid-argument-type - Argument to bound method `append_submodel` is incorrect: Expected `RoutingModel_V2 | RoutingModel_V3`, found `RoutingModel_V1 | RoutingModel_V2 | RoutingModel_V3`

hydpy/auxs/calibtools.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[str] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[str] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Sequence[str | None] | None`
[error] invalid-argument-type - Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | None`
[error] invalid-argument-type - Argument to class `tuple` is incorrect: Expected `Iterable[str | None]`, found `Sequence[str | None] | None`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `Sequence[str] | None`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `Sequence[int | float] | None | Unknown`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `Sequence[int | float] | None | Unknown`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `Sequence[int | float] | None | Unknown`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `Iterable[Any]`, found `Sequence[str | None] | None | Unknown`

hydpy/core/auxfiletools.py

[warning] possibly-missing-attribute - Attribute `__name__` may be missing on object of type `type[Parameter] | None`
[warning] possibly-missing-attribute - Attribute `__name__` may be missing on object of type `type[Parameter] | None`

hydpy/core/filetools.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `str | None`

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

ibis/backends/sqlite/__init__.py

[warning] possibly-missing-attribute - Attribute `schema` may be missing on object of type `Table | DataFrame | Unknown | None`
[warning] possibly-missing-attribute - Attribute `schema` may be missing on object of type `None | Table | (DataFrame & Expr) | (Unknown & Expr)`
[warning] possibly-missing-attribute - Attribute `get_name` may be missing on object of type `Table | DataFrame | Unknown | None`
[warning] possibly-missing-attribute - Attribute `get_name` may be missing on object of type `None | Table | (DataFrame & Expr) | (Unknown & Expr)`
[error] call-non-callable - Object of type `Series[Any]` is not callable

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

jax/_src/error_check.py

[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method
[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`

jax/_src/pallas/hlo_interpreter.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`

jax/_src/pallas/mosaic/interpret/interpret_pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`

jax/_src/pallas/mosaic_gpu/lowering.py

[error] unresolved-attribute - Object of type `Mesh` has no attribute `grid_names`
[error] unresolved-attribute - Object of type `Mesh` has no attribute `cluster_names`
[error] unresolved-attribute - Object of type `Mesh` has no attribute `thread_name`
[warning] possibly-missing-attribute - Attribute `grid_names` may be missing on object of type `jax._src.pallas.mosaic_gpu.core.Mesh | (jax._src.pallas.core.Mesh & ~AlwaysTruthy & ~jax._src.pallas.mosaic_gpu.core.Mesh)`
[warning] possibly-missing-attribute - Attribute `cluster_names` may be missing on object of type `jax._src.pallas.mosaic_gpu.core.Mesh | (jax._src.pallas.core.Mesh & ~AlwaysTruthy & ~jax._src.pallas.mosaic_gpu.core.Mesh)`
[warning] possibly-missing-attribute - Attribute `thread_name` may be missing on object of type `jax._src.pallas.mosaic_gpu.core.Mesh | (jax._src.pallas.core.Mesh & ~AlwaysTruthy & ~jax._src.pallas.mosaic_gpu.core.Mesh)`
[error] unresolved-attribute - Object of type `Mesh` has no attribute `cluster`
[error] invalid-argument-type - Argument to function `lower_jaxpr_to_module` is incorrect: Expected `tuple[int, ...]`, found `Sequence[int]`
[warning] possibly-missing-attribute - Attribute `cluster` may be missing on object of type `jax._src.pallas.mosaic_gpu.core.Mesh | (jax._src.pallas.core.Mesh & ~AlwaysTruthy & ~jax._src.pallas.mosaic_gpu.core.Mesh)`

jax/_src/pallas/pallas_call.py

[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | DynamicGridDim | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `Unknown | int | DynamicGridDim`

jax/experimental/pallas/ops/gpu/all_gather_mgpu.py

[error] unsupported-operator - Operator `%` is not supported between objects of type `int` and `int | None`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[128]` and `int | None`

jax/experimental/pallas/ops/gpu/reduce_scatter_mgpu.py

[error] unsupported-operator - Operator `%` is not supported between objects of type `int` and `int | None`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[128]` and `int | None`

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

src/jinja2/exceptions.py

[error] invalid-assignment - Object of type `str | Undefined | None` is not assignable to `str | None`

src/jinja2/parser.py

[error] invalid-assignment - Object of type `Expr` is not assignable to attribute `call` of type `Call`

kopf (https://github.com/nolar/kopf)

kopf/_cogs/structs/credentials.py

[error] unsupported-operator - Operator `not in` is not supported between objects of type `str` and `dict[str, object] | None`
[error] unsupported-operator - Operator `not in` is not supported between objects of type `str` and `dict[str, object] | None`
[error] invalid-assignment - Cannot assign to a subscript on an object of type `None`
[error] not-subscriptable - Cannot subscript object of type `None` with no `__getitem__` method

manticore (https://github.com/trailofbits/manticore)

manticore/native/state.py

[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] no-matching-overload - No overload of bound method `get` matches arguments
[error] invalid-argument-type - Method `__delitem__` of type `bound method dict[int | None, set[(StateBase, /) -> None]].__delitem__(key: int | None, /) -> None` cannot be called with key of type `int | str | None | (Any & ~str)` on object of type `dict[int | None, set[(StateBase, /) -> None]]`
[error] no-matching-overload - No overload of bound method `setdefault` matches arguments

manticore/platforms/wasm.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `ProtoFuncInst`, found `(ProtoFuncInst & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (TableInst & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (MemInst & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `ProtoFuncInst`, found `(ProtoFuncInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (TableInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | (MemInst & Top[(...) -> object] & ~FuncAddr & ~TableAddr & ~MemAddr & ~GlobalAddr & ~AlwaysFalsy) | ... omitted 7 union elements`

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

mesonbuild/backend/vs2010backend.py

[warning] possibly-missing-attribute - Attribute `get_generated_sources` may be missing on object of type `(Target & ~CustomTargetIndex) | CustomTarget | CompileTarget`

mesonbuild/interpreter/interpreter.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Program`, found `Executable | Program | Compiler | File | str`
[error] unresolved-attribute - Object of type `Executable | Program | Compiler | File | str` has no attribute `get_name`
[warning] possibly-missing-attribute - Attribute `get_name` may be missing on object of type `(Program & ~Executable) | ExternalProgram`
[warning] possibly-missing-attribute - Attribute `get_path` may be missing on object of type `Executable | Program | Compiler | File | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExternalProgram | Executable | CustomTarget | CustomTargetIndex`, found `Executable | Jar | Program | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `ExternalProgram | Executable | CustomTarget | CustomTargetIndex`, found `Program | Executable | (Jar & ~LocalProgram & ~File) | ... omitted 3 union elements`

mesonbuild/interpreter/mesonmain.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `str | Executable | Program`, found `str | File | Executable | Program | Unknown`

mesonbuild/modules/rust.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[str | File | BuildTarget | ... omitted 5 union elements]`, found `list[Unknown | File | CustomTarget | ... omitted 5 union elements]`

mesonbuild/options.py

[error] invalid-return-type - Return type does not match returned value: expected `UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 3 union elements`, found `UserBooleanOption | UserComboOption | UserIntegerOption | ... omitted 4 union elements`

packaging/createmsi.py

[error] invalid-argument-type - Argument to function `check_call` is incorrect: Expected `Sequence[str | bytes | PathLike[str] | PathLike[bytes]] | bytes | PathLike[str] | PathLike[bytes]`, found `list[Unknown | str | None]`
[error] invalid-argument-type - Argument to function `SubElement` is incorrect: Expected `dict[str, str]`, found `dict[str, str | Unknown | None]`

mkosi (https://github.com/systemd/mkosi)

mkosi/bootloader.py

[error] invalid-argument-type - Argument to function `extract_pe_section` is incorrect: Expected `Path`, found `Path | None`

mkosi/distribution/arch.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/azure.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/centos.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/debian.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/kali.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/mageia.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/openmandriva.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/distribution/opensuse.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`
[warning] possibly-missing-attribute - Attribute `iter` may be missing on object of type `Element[str] | None`

mkosi/distribution/postmarketos.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/sysupdate.py

[error] invalid-assignment - Object of type `list[Path | str | None]` is not assignable to `list[Path | str]`

mkosi/__init__.py

[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `Sequence[Path | str]`, found `list[Unknown | Path | str | None]`
[error] invalid-argument-type - Argument to function `systemd_tool_version` is incorrect: Expected `Path | str`, found `Unknown | Path | None`
[error] invalid-argument-type - Argument to function `systemd_tool_version` is incorrect: Expected `Path | str`, found `Unknown | Path | None`
[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[error] invalid-argument-type - Argument to bound method `sandbox` is incorrect: Expected `Sequence[Path | str]`, found `list[str | Unknown | None | Path]`
[error] invalid-return-type - Return type does not match returned value: expected `Path`, found `Path | None`
[error] invalid-argument-type - Argument to function `run` is incorrect: Expected `Sequence[Path | str]`, found `list[Path | None | str]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal["mkosi.key"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal["mkosi.crt"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal["mkosi.key"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal["mkosi.crt"]`
[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal["mkosi.version"]`

mkosi/config.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`
[error] invalid-return-type - Return type does not match returned value: expected `Architecture`, found `Unknown | Architecture | None`
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`
[error] invalid-return-type - Return type does not match returned value: expected `bool`, found `bool | None`
[error] call-non-callable - Object of type `None` is not callable

mkosi/distribution/fedora.py

[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[error] invalid-return-type - Return type does not match returned value: expected `str`, found `Unknown | str | None`

mkosi/qemu.py

[error] invalid-assignment - Object of type `list[Path | str | None]` is not assignable to `list[Path | str]`
[error] invalid-argument-type - Argument is incorrect: Expected `Sequence[Path | str]`, found `list[Path | None | str]`

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

gridfs/asynchronous/grid_file.py

[warning] possibly-missing-attribute - Attribute `next` may be missing on object of type `AsyncCursor[Any] | None`
[warning] possibly-missing-attribute - Attribute `close` may be missing on object of type `AsyncCursor[Any] | None`
[warning] possibly-missing-attribute - Attribute `next` may be missing on object of type `AsyncCursor[Any] | None`

gridfs/synchronous/grid_file.py

[warning] possibly-missing-attribute - Attribute `next` may be missing on object of type `Cursor[Any] | None`
[warning] possibly-missing-attribute - Attribute `close` may be missing on object of type `Cursor[Any] | None`
[warning] possibly-missing-attribute - Attribute `next` may be missing on object of type `Cursor[Any] | None`

mypy (https://github.com/python/mypy)

mypy/semanal_newtype.py

[error] invalid-argument-type - Argument to function `has_any_from_unimported_type` is incorrect: Expected `Type`, found `ProperType | None`
[error] invalid-argument-type - Argument to bound method `unimported_type_becomes_any` is incorrect: Expected `Type`, found `ProperType | None`

mypy/test/data.py

[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`

nox (https://github.com/wntrblm/nox)

nox/sessions.py

[warning] possibly-missing-attribute - Attribute `_reused` may be missing on object of type `(Unknown & ~PassthroughEnv) | (ProcessEnv & ~PassthroughEnv) | None`
[warning] possibly-missing-attribute - Attribute `is_offline` may be missing on object of type `Unknown | ProcessEnv | None`
[warning] possibly-missing-attribute - Attribute `conda_cmd` may be missing on object of type `Unknown | ProcessEnv | None`

openlibrary (https://github.com/internetarchive/openlibrary)

openlibrary/core/lists/model.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Thing | str | AnnotatedSeed`, found `str | ThingReferenceDict | AnnotatedSeedDict`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Thing | str | AnnotatedSeed`, found `str | (ThingReferenceDict & ~Top[dict[Unknown, Unknown]]) | (AnnotatedSeedDict & ~Top[dict[Unknown, Unknown]])`

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

paasta_tools/cleanup_expired_autoscaling_overrides.py

[warning] possibly-missing-attribute - Attribute `data` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `data` may be missing on object of type `Unknown | None`
[error] invalid-assignment - Object of type `dict[Unknown, Unknown]` is not assignable to attribute `data` on type `Unknown | None`

paasta_tools/cli/cmds/mesh_status.py

[warning] possibly-missing-attribute - Attribute `service` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `api_error` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `connection_error` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `timeout_error` may be missing on object of type `PaastaOApiClient | None`

paasta_tools/cli/cmds/start_stop_restart.py

[warning] possibly-missing-attribute - Attribute `service` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `api_error` may be missing on object of type `PaastaOApiClient | None`

paasta_tools/cli/cmds/status.py

[warning] possibly-missing-attribute - Attribute `service` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `api_error` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `connection_error` may be missing on object of type `PaastaOApiClient | None`
[warning] possibly-missing-attribute - Attribute `timeout_error` may be missing on object of type `PaastaOApiClient | None`

paasta_tools/kubernetes_tools.py

[error] invalid-return-type - Return type does not match returned value: expected `int | None`, found `str | int | None`

paasta_tools/oom_logger.py

[warning] possibly-missing-attribute - Attribute `config` may be missing on object of type `Unknown | None`

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

pandas/core/frame.py

[warning] possibly-missing-attribute - Attribute `get_loc` may be missing on object of type `None | Index`
[warning] possibly-missing-attribute - Attribute `drop` may be missing on object of type `None | Index`
[error] invalid-argument-type - Argument to function `arrays_to_mgr` is incorrect: Expected `Index`, found `None | Index`

pandas/core/methods/describe.py

[error] not-iterable - Object of type `Unknown | Sized` may not be iterable
[error] not-iterable - Object of type `Sized | Unknown` may not be iterable

pandas/core/resample.py

[error] invalid-argument-type - Argument to function `_get_timestamp_range_edges` is incorrect: Expected `Literal["right", "left"]`, found `Unknown | Literal["left", "right"] | None`
[error] no-matching-overload - No overload of bound method `searchsorted` matches arguments
[error] invalid-argument-type - Argument to function `_get_period_range_edges` is incorrect: Expected `Literal["right", "left"]`, found `Unknown | Literal["left", "right"] | None`

pandas/core/reshape/concat.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `SupportsIndex`, found `Any | None | Literal[0]`
[error] unsupported-operator - Operator `+` is not supported between objects of type `Any | None | Literal[0]` and `Literal[1]`
[warning] possibly-missing-attribute - Attribute `take` may be missing on object of type `(Unknown & ~None) | KeysView[object] | Index`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[list[Series | DataFrame], Index | None, set[int]]`, found `tuple[list[Unknown], Unknown | KeysView[object] | Index, set[Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | list[Unknown | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None | list[Unknown | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None | list[Unknown | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Unknown | None | list[Unknown | None]`

pandas/core/tools/numeric.py

[warning] possibly-missing-attribute - Attribute `_constructor` may be missing on object of type `(Unknown & Timedelta) | (Unknown & Timestamp) | (Number & ~Timedelta & ~Timestamp) | ... omitted 3 union elements`
[warning] possibly-missing-attribute - Attribute `index` may be missing on object of type `(Unknown & Timedelta) | (Unknown & Timestamp) | (Number & ~Timedelta & ~Timestamp) | ... omitted 3 union elements`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `(Unknown & Timedelta) | (Unknown & Timestamp) | (Number & ~Timedelta & ~Timestamp) | ... omitted 3 union elements`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `(Unknown & Timedelta) | (Unknown & Timestamp) | (Number & ~Timedelta & ~Timestamp) | ... omitted 3 union elements`

pandas/io/excel/_base.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[int | float | str | date, str | None]`, found `tuple[Unknown | int | float | Decimal | str, None | Unknown | str]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[int | float | str | date, str | None]`, found `tuple[@Todo | int | float | Decimal | str, None | Unknown | str]`

pandas/tests/tseries/holiday/test_holiday.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BaseOffset | list[BaseOffset] | None`, found `list[BaseOffset | Unknown | list[BaseOffset] | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BaseOffset | list[BaseOffset] | None`, found `list[BaseOffset | Unknown | None | list[BaseOffset]]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BaseOffset | list[BaseOffset] | None`, found `list[BaseOffset | Unknown | list[BaseOffset] | None]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `BaseOffset | list[BaseOffset] | None`, found `list[BaseOffset | Unknown | None | list[BaseOffset]]`

pandas/tests/window/test_ewm.py

[error] call-non-callable - Object of type `None` is not callable
[error] call-non-callable - Object of type `None` is not callable

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

tests/indexes/test_categoricalindex.py

[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[str | Unknown]`
[error] type-assertion-failure - Type `CategoricalIndex[str]` does not match asserted type `CategoricalIndex[Unknown | str]`

tests/series/test_series.py

[error] type-assertion-failure - Type `Series[Timestamp]` does not match asserted type `Unknown`

tests/test_string_accessors.py

[error] type-assertion-failure - Type `Index[bytes]` does not match asserted type `Index[bytes | Unknown]`
[error] type-assertion-failure - Type `Index[bytes]` does not match asserted type `Index[Unknown | bytes]`

poetry (https://github.com/python-poetry/poetry)

src/poetry/inspection/info.py

[error] invalid-assignment - Object of type `Literal["directory"]` is not assignable to attribute `_source_type` on type `PackageInfo | None`
[error] invalid-assignment - Object of type `str` is not assignable to attribute `_source_url` on type `PackageInfo | None`
[error] invalid-return-type - Return type does not match returned value: expected `PackageInfo`, found `PackageInfo | None`

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

src/prefect/_internal/analytics/service.py

[error] invalid-return-type - Return type does not match returned value: expected `AnalyticsService`, found `AnalyticsService | None`

src/prefect/cli/dashboard.py

[error] invalid-argument-type - Argument to function `run_sync_in_worker_thread` is incorrect: Expected `str`, found `str | None`

src/integrations/prefect-dbt/prefect_dbt/core/runner.py

[error] invalid-return-type - Return type does not match returned value: expected `str`, found `str | None`

src/prefect/cli/block.py

[warning] possibly-missing-attribute - Attribute `fields` may be missing on object of type `BlockSchema | None`
[warning] possibly-missing-attribute - Attribute `fields` may be missing on object of type `BlockSchema | None`

src/prefect/cli/deployment.py

[warning] possibly-missing-attribute - Attribute `is_completed` may be missing on object of type `State[Any] | None`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `State[Any] | None`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `State[Any] | None`

src/prefect/cli/events.py

[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown] | Any`
[error] invalid-argument-type - Argument is incorrect: Expected `Resource`, found `dict[Unknown, Unknown] | (Any & Top[dict[Unknown, Unknown]])`

src/prefect/cli/flow_run.py

[error] invalid-argument-type - Argument to function `run_sync_in_worker_thread` is incorrect: Expected `str`, found `str | None`
[warning] possibly-missing-attribute - Attribute `state_details` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - Attribute `is_scheduled` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - Attribute `timestamp` may be missing on object of type `State[Any] | None | Unknown`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `State[Any] | None | Unknown`
[error] invalid-argument-type - Argument to function `load_flow_from_entrypoint` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to bound method `execute_flow_run` is incorrect: Expected `UUID`, found `UUID | None`

src/prefect/cli/task_run.py

[error] invalid-argument-type - Argument to function `run_sync_in_worker_thread` is incorrect: Expected `str`, found `str | None`

src/prefect/cli/variable.py

[warning] possibly-missing-attribute - Attribute `model_dump` may be missing on object of type `Variable | None`

src/prefect/cli/work_pool.py

[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `BlockSchema | None`

src/prefect/cli/work_queue.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `UUID | str`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `str | None`, found `(UUID & ~AlwaysFalsy) | (str & ~AlwaysFalsy)`
[error] invalid-argument-type - Argument to bound method `read_work_queue_by_name` is incorrect: Expected `str`, found `UUID | str`
[error] invalid-argument-type - Argument to bound method `read_work_queue_by_name` is incorrect: Expected `str`, found `(UUID & ~AlwaysFalsy) | (str & ~AlwaysFalsy)`

src/prefect/cli/worker.py

[error] call-non-callable - Object of type `None` is not callable

src/prefect/events/clients.py

[warning] possibly-missing-attribute - Attribute `send` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `recv` may be missing on object of type `Unknown | None`

src/prefect/futures.py

[warning] possibly-missing-attribute - Attribute `aresult` may be missing on object of type `State[R@PrefectDistributedFuture] | None | (State[Any] & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `aresult` may be missing on object of type `State[R@PrefectFlowRunFuture] | None`

src/prefect/logging/clients.py

[warning] possibly-missing-attribute - Attribute `recv` may be missing on object of type `Unknown | None`

src/prefect/utilities/_engine.py

[error] invalid-argument-type - Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & Top[(...) -> object]) | (() -> str) | TaskRunNameCallbackWithParameters | (str & Top[(...) -> object])`
[error] invalid-argument-type - Argument to bound method `is_callback_with_parameters` is incorrect: Expected `(...) -> str`, found `(Unknown & Top[(...) -> object]) | (str & Top[(...) -> object]) | (() -> str) | TaskRunNameCallbackWithParameters`

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

tests/utils.py

[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[warning] possibly-missing-attribute - Attribute `groups` may be missing on object of type `Match[str] | None`

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

pydantic/v1/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `Mapping[int | str, Any]`, found `AbstractSet[int | str] | Mapping[int | str, Any] | dict[int | str, ellipsis]`
[error] invalid-return-type - Return type does not match returned value: expected `Mapping[int | str, Any]`, found `(AbstractSet[int | str] & Top[Mapping[Unknown, object]]) | (Mapping[int | str, Any] & AbstractSet[object]) | (Mapping[int | str, Any] & ~AbstractSet[object]) | dict[int | str, ellipsis]`

pyinstrument (https://github.com/joerick/pyinstrument)

pyinstrument/__main__.py

[error] no-matching-overload - No overload of function `dirname` matches arguments

pylint (https://github.com/pycqa/pylint)

pylint/checkers/async_checker.py

[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `(Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy) | None`

pylint/checkers/typecheck.py

[warning] possibly-missing-attribute - Attribute `parent` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `parent` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `statement` may be missing on object of type `None | Unknown`

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

pyodide-build/pyodide_build/pywasmcross.py

[error] no-matching-overload - No overload of function `run` matches arguments
[error] no-matching-overload - No overload of bound method `join` matches arguments

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

src/_pytest/python.py

[error] not-subscriptable - Cannot subscript object of type `_HiddenParam` with no `__getitem__` method
[error] invalid-argument-type - Method `__getitem__` of type `bound method defaultdict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `_HiddenParam` on object of type `defaultdict[str, int]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method defaultdict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `_HiddenParam` on object of type `defaultdict[str, int]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method defaultdict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `_HiddenParam` on object of type `defaultdict[str, int]`
[error] invalid-argument-type - Method `__getitem__` of type `bound method defaultdict[str, int].__getitem__(key: str, /) -> int` cannot be called with key of type `_HiddenParam` on object of type `defaultdict[str, int]`

src/_pytest/raises.py

[error] invalid-argument-type - Argument to function `issubclass` is incorrect: Expected `type`, found `type[BaseException] | None`

src/_pytest/terminal.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[str, list[str]]`, found `tuple[str | None, list[str] | None]`

src/_pytest/unittest.py

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

rich (https://github.com/Textualize/rich)

tests/test_tools.py

[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, Unknown | str]]`
[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Iterable[tuple[bool, str | Unknown]]`

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

rotkehlchen/exchanges/coinbase.py

[warning] possibly-missing-attribute - Attribute `value` may be missing on object of type `Unknown | CoinbaseKeyType | None`

rotkehlchen/serialization/deserialize.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - Argument is incorrect: Expected `int`, found `int | None`

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

src/schemathesis/specs/openapi/schemas.py

[warning] possibly-missing-attribute - Attribute `items` may be missing on object of type `Mapping[str, Any] | None`

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

sklearn/_loss/loss.py

[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `shape` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `squeeze` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `shape` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `squeeze` may be missing on object of type `Unknown | None`

sklearn/preprocessing/_encoders.py

[error] unsupported-operator - Operator `<=` is not supported between objects of type `Literal[0]` and `Unknown | None`
[error] unsupported-operator - Operator `<=` is not supported between objects of type `Literal[0]` and `(Unknown & ~Integral & ~None) | (Unknown & Integral) | None`
[error] unsupported-operator - Operator `<` is not supported between objects of type `Unknown | None` and `Unknown | int`
[error] unsupported-operator - Operator `<` is not supported between objects of type `(Unknown & ~Integral & ~None) | (Unknown & Integral) | None` and `Unknown | int`

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

scipy/integrate/_ode.py

[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `Unknown | None | Literal[0]`
[error] unsupported-operator - Operator `*` is not supported between objects of type `Literal[2]` and `None | (Unknown & ~None) | Literal[0]`

scipy/linalg/tests/test_lapack.py

[warning] possibly-missing-attribute - Attribute `split` may be missing on object of type `str | None`

scipy/stats/_sampling.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `None | int | float`, found `Unknown | generic[Any] | int | ... omitted 6 union elements`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `None | int | float`, found `None | Unknown | generic[Any] | ... omitted 6 union elements`

subprojects/array_api_compat/array_api_compat/array_api_compat/common/_linalg.py

[warning] possibly-missing-attribute - Attribute `max` may be missing on object of type `tuple[Any, ...] | Any`
[warning] possibly-missing-attribute - Attribute `max` may be missing on object of type `Any | tuple[Any, ...]`
[warning] possibly-missing-attribute - Attribute `dtype` may be missing on object of type `tuple[Any, ...] | Any`
[warning] possibly-missing-attribute - Attribute `dtype` may be missing on object of type `Any | tuple[Any, ...]`
[warning] possibly-missing-attribute - Attribute `max` may be missing on object of type `tuple[Any, ...] | Any`
[warning] possibly-missing-attribute - Attribute `max` may be missing on object of type `Any | tuple[Any, ...]`

tools/authors.py

[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`
[warning] possibly-missing-attribute - Attribute `group` may be missing on object of type `Match[str] | None`

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

scrapy/cmdline.py

[error] invalid-argument-type - Method `__getitem__` of type `bound method dict[str, ScrapyCommand].__getitem__(key: str, /) -> ScrapyCommand` cannot be called with key of type `None` on object of type `dict[str, ScrapyCommand]`

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

setuptools/_distutils/dist.py

[error] invalid-return-type - Return type does not match returned value: expected `str | list[str]`, found `Iterable[str] | list[Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `str | list[str]`, found `str | (Iterable[str] & Top[list[Unknown]]) | list[Unknown]`

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

lib/spack/spack/cmd/checksum.py

[error] invalid-assignment - Object of type `dict[StandardVersion, str] | None` is not assignable to `dict[StandardVersion, str]`

lib/spack/spack/cmd/patch.py

[error] invalid-argument-type - Argument to function `_patch_env` is incorrect: Expected `Environment`, found `Environment | None`

lib/spack/spack/cmd/repo.py

[warning] possibly-missing-attribute - Attribute `package_api` may be missing on object of type `Repo | None`
[error] invalid-argument-type - Argument to function `migrate_v1_to_v2` is incorrect: Expected `Repo`, found `Repo | None`
[warning] possibly-missing-attribute - Attribute `package_api` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `packages_path` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `root` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `namespace` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `namespace` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `package_api_str` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `root` may be missing on object of type `Repo | None`
[warning] possibly-missing-attribute - Attribute `namespace` may be missing on object of type `Repo | None`

lib/spack/spack/cmd/stage.py

[error] invalid-argument-type - Argument to function `_stage_env` is incorrect: Expected `Environment`, found `Environment | None`

lib/spack/spack/cmd/blame.py

[error] invalid-argument-type - Argument to function `git_prefix` is incorrect: Expected `str | Path`, found `None | Unknown | str`

lib/spack/spack/cmd/style.py

[error] unresolved-attribute - Object of type `AST` has no attribute `lineno`
[error] unresolved-attribute - Object of type `AST` has no attribute `col_offset`
[warning] possibly-missing-attribute - Attribute `lineno` may be missing on object of type `Str | (AST & ~Str)`
[warning] possibly-missing-attribute - Attribute `col_offset` may be missing on object of type `Str | (AST & ~Str)`

lib/spack/spack/detection/path.py

[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | bytes | PathLike[str] | ... omitted 3 union elements]`
[error] invalid-argument-type - Argument to function `dedupe_paths` is incorrect: Expected `list[str]`, found `Unknown | list[int | str | Unknown | ... omitted 3 union elements]`

lib/spack/spack/vendor/jinja2/exceptions.py

[error] invalid-assignment - Object of type `str | Undefined | None` is not assignable to `str | None`

lib/spack/spack/vendor/jinja2/parser.py

[error] invalid-assignment - Object of type `Expr` is not assignable to attribute `call` of type `Call`

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

static_frame/core/www.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[bool, Path | None]`, found `tuple[bool, Path | str | None]`

static_frame/test/unit/test_frame_iter.py

[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `to_pairs` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `tolist` may be missing on object of type `Any | tuple[Any, Any]`
[warning] possibly-missing-attribute - Attribute `shape` may be missing on object of type `tuple[Any, Any] | Any`
[warning] possibly-missing-attribute - Attribute `shape` may be missing on object of type `Any | tuple[Any, Any]`

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

lib/streamlit/runtime/metrics_util.py

[warning] unused-ignore-comment - Unused `ty: ignore` directive

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

sympy/physics/quantum/circuitutils.py

[error] invalid-argument-type - Argument to function `next` is incorrect: Expected `SupportsNext[Unknown]`, found `Unknown | None`

sympy/core/evalf.py

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

sympy/solvers/ode/ode.py

[warning] possibly-missing-attribute - Attribute `args` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `func` may be missing on object of type `Unknown | None`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `AppliedUndef`, found `Unknown | None`

sympy/solvers/pde.py

[warning] possibly-missing-attribute - Attribute `func` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `args` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `args` may be missing on object of type `Unknown | None`

sympy/solvers/solveset.py

[error] unresolved-attribute - Object of type `Expr | Relational` has no attribute `_assumptions_orig`
[error] unresolved-attribute - Object of type `Expr | Relational` has no attribute `_assumptions_orig`

trio (https://github.com/python-trio/trio)

src/trio/testing/_fake_net.py

[error] invalid-argument-type - Argument to bound method `from_python_sockaddr` is incorrect: Expected `tuple[str, int] | tuple[str, int, int, int]`, found `None | tuple[str, int]`

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

src/urllib3/contrib/emscripten/fetch.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None`

test/test_response.py

[error] not-iterable - Object of type `None` is not iterable
[error] not-iterable - Object of type `None` is not iterable
[error] not-iterable - Object of type `None` is not iterable
[error] not-iterable - Object of type `None` is not iterable

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

release/apply-release-changes.py

[error] unsupported-operator - Operator `/` is not supported between objects of type `Path | None` and `Literal[".github"]`

test/test_transforms_v2.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `InterpolationMode | int`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | tuple[int, int, int, int] | int | tuple[int | float, int | float]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float] | None`, found `Unknown | int | tuple[int | float, int | float] | tuple[int, int, int, int]`

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

xarray/core/dataset.py

[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Any] | None`, found `Hashable`

xarray/core/variable.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `data` may be missing on object of type `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `dims` may be missing on object of type `(Unknown & ~int & ~Top[integer[Any]] & ~slice[object, object, object]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `dims` may be missing on object of type `(Unknown & Variable & ~Top[integer[Any]]) | _arrayfunction[Any, Any] | _arrayapi[Any, Any] | ndarray[tuple[Any, ...], dtype[Unknown]]`

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

yarl/_url.py

[error] no-matching-overload - No overload of function `lru_cache` matches arguments

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

analytics/views/stats.py

[error] invalid-argument-type - Argument to function `time_range` is incorrect: Expected `datetime`, found `None | datetime | Unknown`
[error] invalid-argument-type - Argument to function `time_range` is incorrect: Expected `datetime`, found `None | datetime | Unknown`

zerver/actions/reactions.py

[error] invalid-argument-type - Argument to function `check_emoji_request` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `check_emoji_request` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `do_add_reaction` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `do_add_reaction` is incorrect: Expected `str`, found `str | None`

zerver/actions/uploads.py

[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `Message | ScheduledMessage`
[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `ScheduledMessage | (Message & ~ScheduledMessage)`

zerver/lib/queue.py

[warning] possibly-missing-attribute - Attribute `queue_declare` may be missing on object of type `Unknown | None`

zerver/tests/test_auth_backends.py

[error] invalid-return-type - Return type does not match returned value: expected `UserProfile | None`, found `AbstractBaseUser | None`

zerver/views/auth.py

[warning] possibly-missing-attribute - Attribute `is_mirror_dummy` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[error] invalid-argument-type - Argument to function `finish_mobile_flow` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | AbstractBaseUser`
[error] invalid-argument-type - Argument to function `finish_desktop_flow` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | AbstractBaseUser`
[error] invalid-argument-type - Argument to function `do_login` is incorrect: Expected `UserProfile`, found `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `realm` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `UserProfile | None`, found `None | AbstractBaseUser`

zproject/backends.py

[warning] possibly-missing-attribute - Attribute `full_name` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `delivery_email` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `full_name` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `delivery_email` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `realm` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`
[warning] possibly-missing-attribute - Attribute `is_mirror_dummy` may be missing on object of type `(Unknown & ~None) | AbstractBaseUser`