Ecosystem report

Old: main (merge base) 20a17411 New: 23172/merge 780b6b16
Lint Rule Removed Added Changed
Total 270 61 253
possibly-missing-attribute 77 22 129
invalid-argument-type 79 13 68
invalid-return-type 27 3 14
unresolved-attribute 13 1 13
invalid-assignment 11 1 13
not-subscriptable 15 8 0
unsupported-operator 11 1 11
no-matching-overload 11 7 0
unresolved-reference 10 0 0
not-iterable 5 0 3
call-non-callable 7 0 0
unused-type-ignore-comment 2 5 0
type-assertion-failure 0 0 2
invalid-type-form 1 0 0
redundant-cast 1 0 0
Project Removed Added Changed
Total 270 61 253
pandas 19 10 20
scipy 2 17 21
prefect flaky 18 0 14
mkosi 31 0 0
meson 9 1 20
static-frame 1 0 28
sympy flaky 7 2 14
jax 12 6 4
cloud-init 16 0 5
pip 0 0 20
spack 17 0 3
zulip 17 0 1
dd-trace-py 6 0 11
xarray 3 8 6
hydpy 10 1 4
paasta 14 0 1
scikit-learn 6 0 9
bokeh 8 1 5
core 5 0 5
discord.py 2 3 5

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

tanjun/clients.py

[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `@Todo` on object of type `dict[Path, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Path | str` and value of type `@Todo` on object of type `dict[Path, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `str | Path` and value of type `@Todo` on object of type `dict[str, ModuleType]`
[error] invalid-assignment - Invalid subscript assignment with key of type `Path | str` and value of type `@Todo` on object of type `dict[str, ModuleType]`

tanjun/commands/slash.py

[error] invalid-assignment - Object of type `None | Mapping[str, str] | (Sequence[str] & Top[Mapping[Unknown, object]]) | (Sequence[tuple[str, str]] & Top[Mapping[Unknown, object]]) | (Sequence[CommandChoice] & Top[Mapping[Unknown, object]])` is not assignable to `Mapping[str, str] | list[CommandChoice] | None`
[error] invalid-assignment - Object of type `Mapping[str, str] | (Sequence[str] & Top[Mapping[Unknown, object]]) | (Sequence[tuple[str, str]] & Top[Mapping[Unknown, object]]) | (Sequence[CommandChoice] & Top[Mapping[Unknown, object]]) | None` is not assignable to `Mapping[str, str] | list[CommandChoice] | None`

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/_core/_sockets.py

[error] invalid-argument-type - Argument is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `(str & ~ByteStreamConnectable) | (bytes & ~ByteStreamConnectable) | (tuple[str | IPv4Address | IPv6Address, int] & PathLike[object] & ~ByteStreamConnectable) | (PathLike[str] & ~ByteStreamConnectable)`
[error] invalid-argument-type - Argument is incorrect: Expected `str | bytes | PathLike[str] | PathLike[bytes]`, found `(tuple[str | IPv4Address | IPv6Address, int] & PathLike[object] & ~ByteStreamConnectable) | (PathLike[str] & ~ByteStreamConnectable) | (str & ~ByteStreamConnectable) | (bytes & ~ByteStreamConnectable)`

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

archinstall/tui/ui/components.py

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

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

beartype/_check/code/_pep/pep484585/codepep484585subclass.py

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

beartype/_util/hint/pep/utilpepsign.py

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

black (https://github.com/psf/black)

src/blib2to3/pgen2/conv.py

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

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`

src/bokeh/io/showing.py

[error] invalid-argument-type - Argument to function `_show_with_state` is incorrect: Expected `UIElement | DOMNode | Sequence[UIElement | DOMNode]`, found `UIElement | DOMNode | Sequence[UIElement | DOMNode] | (Application & Sequence[object]) | (((Document, /) -> None) & Sequence[object])`
[error] invalid-argument-type - Argument to function `_show_with_state` is incorrect: Expected `UIElement | DOMNode | Sequence[UIElement | DOMNode]`, found `Sequence[UIElement | DOMNode] | (Application & Sequence[object]) | (((Document, /) -> None) & Sequence[object]) | DOMNode | UIElement`

src/bokeh/layouts.py

[error] invalid-return-type - Return type does not match returned value: expected `ToolProxy | Tool`, found `Tool | Literal["auto"] | None`
[error] invalid-return-type - Return type does not match returned value: expected `ToolProxy | Tool`, found `Literal["auto"] | None | Tool`
[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 `int` and `None | int`

src/bokeh/sphinxext/_internal/bokeh_jinja.py

[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Any | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `(Any & ~None) | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Any | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `(Any & ~None) | 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/sources/DataSourceOpenNebula.py

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

cloudinit/util.py

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

tests/unittests/test_ds_identify.py

[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]`
[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[Unknown | dict[Unknown | str, Unknown | str | int]] & ~AlwaysFalsy) | ... omitted 7 union elements`
[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `Unknown | str | list[Unknown | dict[Unknown | str, Unknown | str | int]] | dict[Unknown | str, Unknown | str] | list[Unknown | str]`
[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (list[Unknown | dict[Unknown | str, Unknown | str | int]] & ~AlwaysFalsy) | ... omitted 7 union elements`

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

colour/utilities/network.py

[error] invalid-assignment - Object of type `Self@parent | None` is not assignable to attribute `_parent` of type `Self@__init__ | None`
[error] invalid-assignment - Object of type `None | Self@parent` is not assignable to attribute `_parent` of type `Self@__init__ | None`

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

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/plex/services.py

[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `(Any & ~int) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`
[warning] possibly-missing-attribute - Attribute `update` may be missing on object of type `(Any & ~Top[dict[Unknown, Unknown]] & ~int) | (Any & Top[dict[Unknown, Unknown]]) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`
[warning] possibly-missing-attribute - Attribute `pop` may be missing on object of type `(Any & ~int) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`
[warning] possibly-missing-attribute - Attribute `pop` may be missing on object of type `(Any & ~Top[dict[Unknown, Unknown]] & ~int) | (Any & Top[dict[Unknown, Unknown]]) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`
[warning] possibly-missing-attribute - Attribute `copy` may be missing on object of type `(Any & ~int) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`
[warning] possibly-missing-attribute - Attribute `copy` may be missing on object of type `(Any & ~Top[dict[Unknown, Unknown]] & ~int) | (Any & Top[dict[Unknown, Unknown]]) | dict[Unknown, Unknown] | str | dict[Unknown | str, Unknown | int]`

homeassistant/components/roomba/vacuum.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[int, int]`, found `tuple[Unknown | int | float, Unknown]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[int, int]`, found `tuple[(Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy) | int | float, Unknown]`

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]`

homeassistant/helpers/template/__init__.py

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

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`

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

cwltool/command_line_tool.py

[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 `Literal["secondaryFiles"]` on object of type `Top[MutableSequence[Unknown]]`
[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 `Literal["secondaryFiles"]` on object of type `Top[MutableSequence[Unknown]]`
[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 `Literal["secondaryFiles"]` on object of type `Top[MutableSequence[Unknown]]`

cwltool/main.py

[error] invalid-argument-type - Argument to function `realize_input_schema` is incorrect: Expected `MutableSequence[str | MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `list[str | MutableMapping[str, None | int | str | ... omitted 3 union elements] | (Unknown & Top[Mapping[Unknown, object]]) | ... omitted 4 union elements]`
[error] invalid-argument-type - Argument to function `realize_input_schema` is incorrect: Expected `MutableSequence[str | MutableMapping[str, None | int | str | ... omitted 3 union elements]]`, found `list[str | MutableMapping[str, None | int | str | ... omitted 3 union elements] | (int & Top[Mapping[Unknown, object]]) | ... omitted 4 union elements]`
[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 | CommentedMap | int | ... 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`

benchmarks/base/run.py

[error] invalid-argument-type - Argument to function `cpu_affinity_to_cpu_groups` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `cpu_affinity_to_cpu_groups` is incorrect: Expected `str`, found `(str & ~AlwaysFalsy) | (str & ~AlwaysTruthy) | None`

benchmarks/bm/iast_fixtures/str_methods_py3.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `dict[Unknown, Unknown]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `list[Any]`, found `(dict[Unknown, Unknown] & ~AlwaysFalsy) | (dict[Unknown, Unknown] & ~AlwaysTruthy)`

ddtrace/appsec/_iast/taint_sinks/code_injection.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `None | Unknown | dict[str, Any]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `None | Unknown | (dict[str, Any] & ~AlwaysTruthy) | (dict[str, Any] & ~AlwaysFalsy)`

ddtrace/vendor/ply/yacc.py

[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy) | (YaccSymbol & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `(Unknown & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (YaccSymbol & ~AlwaysFalsy & ~<Protocol with members 'lineno'>) | (Unknown & <Protocol with members 'lineno'> & ~AlwaysFalsy) | (YaccSymbol & <Protocol with members 'lineno'> & ~AlwaysFalsy)`

tests/contrib/integration_registry/conftest.py

[error] not-iterable - Object of type `Unknown | None` may not be iterable
[error] not-iterable - Object of type `(Unknown & Top[list[Unknown]]) | (Unknown & ~Top[list[Unknown]]) | None` may not be iterable
[error] invalid-return-type - Return type does not match returned value: expected `list[dict[Unknown, Unknown]]`, found `Unknown | None`
[error] invalid-return-type - Return type does not match returned value: expected `list[dict[Unknown, Unknown]]`, found `(Unknown & Top[list[Unknown]]) | (Unknown & ~Top[list[Unknown]]) | None`

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`

discord/ext/commands/core.py

[error] unresolved-attribute - Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] unresolved-attribute - Object of type `object` has no attribute `append`
[warning] possibly-missing-attribute - Attribute `__commands_checks__` may be missing on object of type `(((...) -> Coroutine[Any, Any, Any]) & <Protocol with members '__commands_checks__'> & ~Top[Command[Unknown, Top[(...)], Unknown]]) | (((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>)`
[error] unresolved-attribute - Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] unresolved-attribute - Object of type `object` has no attribute `append`
[warning] possibly-missing-attribute - Attribute `__commands_checks__` may be missing on object of type `(((...) -> Coroutine[Any, Any, Any]) & <Protocol with members '__commands_checks__'> & ~Top[Command[Unknown, Top[(...)], Unknown]]) | (((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>)`
[error] invalid-assignment - Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_guild_only__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_guild_only__` on type `(((...) -> Coroutine[Any, Any, Any]) & <Protocol with members '__commands_checks__'> & ~Top[Command[Unknown, Top[(...)], Unknown]]) | (((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>)`
[error] unresolved-attribute - Object of type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]` has no attribute `__commands_checks__`
[error] unresolved-attribute - Object of type `object` has no attribute `append`
[warning] possibly-missing-attribute - Attribute `__commands_checks__` may be missing on object of type `(((...) -> Coroutine[Any, Any, Any]) & <Protocol with members '__commands_checks__'> & ~Top[Command[Unknown, Top[(...)], Unknown]]) | (((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>)`
[error] invalid-assignment - Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_is_nsfw__` on type `((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]]`
[error] invalid-assignment - Object of type `Literal[True]` is not assignable to attribute `__discord_app_commands_is_nsfw__` on type `(((...) -> Coroutine[Any, Any, Any]) & <Protocol with members '__commands_checks__'> & ~Top[Command[Unknown, Top[(...)], Unknown]]) | (((...) -> Coroutine[Any, Any, Any]) & ~Top[Command[Unknown, Top[(...)], Unknown]] & ~<Protocol with members '__commands_checks__'>)`

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`
[error] invalid-assignment - Object of type `(Unknown & ~AlwaysFalsy) | str | None` is not assignable to attribute `django_settings_module` of type `str`
[error] invalid-assignment - Object of type `(Unknown & ~AlwaysFalsy) | (str & ~AlwaysFalsy) | (str & ~AlwaysTruthy) | None` is not assignable to attribute `django_settings_module` of type `str`

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/egraph.py

[error] invalid-argument-type - Argument to function `expr_action` is incorrect: Expected `BaseExpr`, found `(BaseExpr & ~Action) | (Fact & ~Action)`

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 class `tuple` is incorrect: Expected `Iterable[int | float]`, found `Sequence[int | float] | 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`

hydpy/core/devicetools.py

[error] type-assertion-failure - Type `Literal["inlets", "outlets", "observers", "receivers", "senders", "inputs", "outputs"]` is not equivalent to `Never`
[error] type-assertion-failure - Type `Literal["outlets", "senders", "inputs", "outputs", "receivers", "observers", "inlets"]` is not equivalent to `Never`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[t@_make_tuple | None, t@_make_tuple | None]`, found `tuple[None | str | int, None | str | int]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[t@_make_tuple | None, t@_make_tuple | None]`, found `tuple[str | int | None, str | int | None]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[t@_make_tuple | None, t@_make_tuple | None]`, found `tuple[None | str | int, None | str | int]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[t@_make_tuple | None, t@_make_tuple | None]`, found `tuple[str | int | None, str | int | None]`

hydpy/core/filetools.py

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

hydpy/core/objecttools.py

[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(~str & ~Real) | (Integral & ~str) | (Unknown & ~Real) | (Unknown & Integral) | float`
[error] invalid-argument-type - Argument to function `__new__` is incorrect: Expected `str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc`, found `(Integral & ~str) | (~str & ~Real) | (Unknown & Integral) | (Unknown & ~Real) | float`

hydpy/core/selectiontools.py

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

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

ibis/backends/materialize/__init__.py

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

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

ibis/expr/api.py

[error] invalid-argument-type - Argument is incorrect: Expected `Value[Integer, Any]`, found `Unknown | None`
[error] invalid-argument-type - Argument is incorrect: Expected `Value[Integer, Any]`, found `None | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `Value[Integer, Any]`, found `Unknown | None`
[error] invalid-argument-type - Argument is incorrect: Expected `Value[Integer, Any]`, found `None | Unknown`

ibis/expr/types/numeric.py

[error] invalid-argument-type - Argument is incorrect: Expected `Value[Numeric, Any] | None`, found `int | float | Decimal | ... omitted 3 union elements`
[error] invalid-argument-type - Argument is incorrect: Expected `Value[Numeric, Any] | None`, found `None | int | float | ... omitted 3 union elements`

ibis/expr/types/relations.py

[error] invalid-argument-type - Argument is incorrect: Expected `Value[Numeric | String, Any] | FrozenDict[str, Any]`, found `Scalar | Mapping[str, Scalar]`
[error] invalid-argument-type - Argument is incorrect: Expected `Value[Numeric | String, Any] | FrozenDict[str, Any]`, found `(Scalar & Top[Mapping[Unknown, object]]) | Mapping[str, Scalar] | (Scalar & ~Top[Mapping[Unknown, object]])`

ibis/selectors.py

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

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

ignite/engine/deterministic.py

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

tests/ignite/distributed/utils/__init__.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `str | None` and `Literal["horovod"]`
[error] unsupported-operator - Operator `in` is not supported between objects of type `None | str` and `Literal["horovod"]`

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

jax/_src/array.py

[error] invalid-assignment - Object of type `Unknown | Sharding | None | AUTO` is not assignable to `Sharding | Format`
[error] invalid-assignment - Object of type `Unknown | Sharding | AUTO | None` is not assignable to `Sharding | Format`

jax/_src/pallas/hlo_interpreter.py

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

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

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

jax/_src/pallas/mosaic_gpu/lowering.py

[error] unresolved-attribute - Object of type `ShapedAbstractValue & AbstractRef` has no attribute `collective`
[warning] possibly-missing-attribute - Attribute `collective` may be missing on object of type `(ShapedAbstractValue & AbstractRef & ~AbstractRefUnion) | (ShapedAbstractValue & AbstractRefUnion)`
[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.core.Mesh & ~AlwaysTruthy) | (jax._src.pallas.mosaic_gpu.core.Mesh & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `cluster_names` may be missing on object of type `(jax._src.pallas.core.Mesh & ~AlwaysTruthy) | (jax._src.pallas.mosaic_gpu.core.Mesh & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `thread_name` may be missing on object of type `(jax._src.pallas.core.Mesh & ~AlwaysTruthy) | (jax._src.pallas.mosaic_gpu.core.Mesh & ~AlwaysFalsy)`
[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.core.Mesh & ~AlwaysTruthy) | (jax._src.pallas.mosaic_gpu.core.Mesh & ~AlwaysFalsy)`

jax/_src/pallas/pallas_call.py

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

jax/_src/pallas/triton/lowering.py

[error] invalid-argument-type - Argument to bound method `from_slice` is incorrect: Expected `int`, found `int | Squeezed`
[error] invalid-argument-type - Argument to bound method `from_slice` is incorrect: Expected `int`, found `(int & ~Squeezed) | Squeezed`
[error] invalid-argument-type - Argument to function `_bcast_to` is incorrect: Expected `tuple[int, ...]`, found `tuple[int | Array, ...]`
[error] invalid-argument-type - Argument to function `_bcast_to` is incorrect: Expected `tuple[int, ...]`, found `(tuple[int | Array, ...] & ~AlwaysTruthy) | (tuple[int | Array, ...] & ~AlwaysFalsy)`
[error] invalid-argument-type - Argument to function `_bcast_to` is incorrect: Expected `tuple[int, ...]`, found `tuple[int | Array, ...]`
[error] invalid-argument-type - Argument to function `_bcast_to` is incorrect: Expected `tuple[int, ...]`, found `(tuple[int | Array, ...] & ~AlwaysTruthy) | (tuple[int | Array, ...] & ~AlwaysFalsy)`

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`

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

manticore/core/smtlib/expression.py

[error] unresolved-attribute - Object of type `Array & ~ArrayVariable` has no attribute `array`
[warning] possibly-missing-attribute - Attribute `array` may be missing on object of type `(Array & ~ArrayVariable & ~ArraySlice) | (ArraySlice & ~ArrayVariable)`

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/utils/helpers.py

[error] invalid-argument-type - Argument to function `pickle_dump` is incorrect: Expected `IO[bytes]`, found `GzipFile | Unknown`
[error] invalid-argument-type - Argument to function `pickle_dump` is incorrect: Expected `IO[bytes]`, found `GzipFile | (Unknown & ~<Protocol with members 'name'>) | (Unknown & <Protocol with members 'name'>)`

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

mesonbuild/backend/ninjabackend.py

[warning] possibly-missing-attribute - Attribute `get_builddir` may be missing on object of type `CustomTarget | CustomTargetIndex | GeneratedList`
[warning] possibly-missing-attribute - Attribute `get_builddir` may be missing on object of type `(CustomTarget & ~GeneratedList) | (CustomTargetIndex & ~GeneratedList) | GeneratedList`
[warning] possibly-missing-attribute - Attribute `uses_rust_abi` may be missing on object of type `BuildTarget | CustomTarget | CustomTargetIndex`
[warning] possibly-missing-attribute - Attribute `uses_rust_abi` may be missing on object of type `(BuildTarget & ~StaticLibrary) | (CustomTarget & ~StaticLibrary) | (CustomTargetIndex & ~StaticLibrary) | StaticLibrary`
[error] invalid-argument-type - Argument to function `_get_rust_dependency_name` is incorrect: Expected `SharedLibrary | StaticLibrary | CustomTarget | CustomTargetIndex`, found `BuildTarget | CustomTarget | CustomTargetIndex`
[error] invalid-argument-type - Argument to function `_get_rust_dependency_name` is incorrect: Expected `SharedLibrary | StaticLibrary | CustomTarget | CustomTargetIndex`, found `(BuildTarget & ~StaticLibrary) | (CustomTarget & ~StaticLibrary) | (CustomTargetIndex & ~StaticLibrary) | StaticLibrary`

mesonbuild/backend/vs2010backend.py

[warning] possibly-missing-attribute - Attribute `get_generated_sources` may be missing on object of type `(Target & ~CustomTargetIndex) | CustomTarget | CompileTarget`
[error] invalid-argument-type - Argument to bound method `object_filename_from_source` is incorrect: Expected `BuildTarget`, found `BuildTarget | CustomTarget | CustomTargetIndex`
[error] invalid-argument-type - Argument to bound method `object_filename_from_source` is incorrect: Expected `BuildTarget`, found `(BuildTarget & ~CustomTargetIndex) | (CustomTarget & ~CustomTargetIndex) | CustomTargetIndex`
[error] invalid-argument-type - Argument to bound method `flatten_object_list` is incorrect: Expected `BuildTarget`, found `BuildTarget | CustomTarget | CustomTargetIndex`
[error] invalid-argument-type - Argument to bound method `flatten_object_list` is incorrect: Expected `BuildTarget`, found `(BuildTarget & ~CustomTargetIndex) | (CustomTarget & ~CustomTargetIndex) | CustomTargetIndex`

mesonbuild/backend/xcodebackend.py

[error] invalid-argument-type - Argument to bound method `get_custom_target_dir_include_args` is incorrect: Expected `CustomTarget`, found `BuildTarget`
[error] invalid-argument-type - Argument to bound method `get_custom_target_dir_include_args` is incorrect: Expected `CustomTarget`, found `(BuildTarget & ~SharedLibrary) | (SharedLibrary & ~SharedModule) | SharedModule`

mesonbuild/build.py

[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `BuildTarget | CustomTarget | CustomTargetIndex`, found `Unknown | ExternalProgram | Executable | CustomTarget | CustomTargetIndex`
[error] invalid-argument-type - Argument to bound method `append` is incorrect: Expected `BuildTarget | CustomTarget | CustomTargetIndex`, found `Unknown | (ExternalProgram & ~CustomTarget) | (Executable & ~CustomTarget) | (CustomTargetIndex & ~CustomTarget) | CustomTarget`

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 `Jar | CustomTargetIndex | Executable | ... omitted 4 union elements`
[error] invalid-argument-type - Argument to function `env_convertor_with_method` is incorrect: Expected `EnvironmentVariables | list[str] | list[list[str]] | ... omitted 3 union elements`, found `str | list[str | int | Sequence[Divergent] | ... omitted 5 union elements] | dict[str, str | int | Sequence[Divergent] | ... omitted 5 union elements]`
[error] invalid-argument-type - Argument to function `env_convertor_with_method` is incorrect: Expected `EnvironmentVariables | list[str] | list[list[str]] | ... omitted 3 union elements`, found `dict[str, str | int | Sequence[Divergent] | ... omitted 5 union elements] | str | list[str | int | Sequence[Divergent] | ... omitted 5 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`

mesonbuild/rewriter.py

[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `None | IntrospectionBuildTarget`
[error] invalid-argument-type - Argument to bound method `add_src_or_extra` is incorrect: Expected `IntrospectionBuildTarget`, found `IntrospectionBuildTarget | None`
[error] invalid-argument-type - Argument to bound method `add_src_or_extra` is incorrect: Expected `IntrospectionBuildTarget`, found `None | IntrospectionBuildTarget`
[error] invalid-argument-type - Argument to bound method `rm_src_or_extra` is incorrect: Expected `IntrospectionBuildTarget`, found `IntrospectionBuildTarget | None`
[error] invalid-argument-type - Argument to bound method `rm_src_or_extra` is incorrect: Expected `IntrospectionBuildTarget`, found `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `node` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `node` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `source_nodes` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `source_nodes` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `subdir` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `extra_files` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `extra_files` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `extra_files` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `extra_files` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `name` may be missing on object of type `None | IntrospectionBuildTarget`
[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `IntrospectionBuildTarget | None`
[warning] possibly-missing-attribute - Attribute `id` may be missing on object of type `None | IntrospectionBuildTarget`

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]`

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

mitmproxy/net/encoding.py

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

mitmproxy/tools/console/master.py

[error] invalid-return-type - Return type does not match returned value: expected `T@spawn_editor`, found `bytes | T@spawn_editor | Any`

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/__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-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`

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)

pymongo/ssl_support.py

[error] invalid-assignment - Object of type `Any | Literal[0]` is not assignable to attribute `verify_flags` on type `pymongo.pyopenssl_context.SSLContext | ssl.SSLContext`
[error] invalid-assignment - Object of type `Any | Literal[0]` is not assignable to attribute `verify_flags` on type `(ssl.SSLContext & ~<Protocol with members 'check_ocsp_endpoint'>) | pymongo.pyopenssl_context.SSLContext | (ssl.SSLContext & <Protocol with members 'check_ocsp_endpoint'>)`

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 `is_offline` may be missing on object of type `ProcessEnv | Unknown | None`
[warning] possibly-missing-attribute - Attribute `conda_cmd` may be missing on object of type `Unknown | ProcessEnv | None`
[warning] possibly-missing-attribute - Attribute `conda_cmd` may be missing on object of type `ProcessEnv | Unknown | 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]])`

openlibrary/plugins/upstream/borrow.py

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

openlibrary/solr/types_generator.py

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

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/utils.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[int, str]`, found `tuple[int | Any | None, str]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[int, str]`, found `tuple[int | (Any & ~Literal[-9]) | (Any & ~None) | None, str]`

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

pandas/core/arrays/datetimes.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[_TimestampNoneT1@_maybe_normalize_endpoints, _TimestampNoneT2@_maybe_normalize_endpoints]`, found `tuple[_TimestampNoneT1@_maybe_normalize_endpoints | None, _TimestampNoneT2@_maybe_normalize_endpoints | None]`

pandas/core/arrays/interval.py

[warning] possibly-missing-attribute - Attribute `closed` may be missing on object of type `Unknown | ExtensionArray`
[warning] possibly-missing-attribute - Attribute `closed` may be missing on object of type `Unknown | (ExtensionArray & ~Top[Interval[Unknown]]) | (ExtensionArray & Top[Interval[Unknown]])`

pandas/core/arrays/timedeltas.py

[error] unresolved-attribute - Object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]` has no attribute `_mask`
[error] unresolved-attribute - Object of type `(ExtensionArray & ~TimedeltaArray) | (ndarray[tuple[Any, ...], dtype[Any]] & ~TimedeltaArray) | TimedeltaArray` has no attribute `_mask`
[error] unresolved-attribute - Object of type `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]` has no attribute `_data`
[error] unresolved-attribute - Object of type `(ExtensionArray & ~TimedeltaArray) | (ndarray[tuple[Any, ...], dtype[Any]] & ~TimedeltaArray) | TimedeltaArray` has no attribute `_data`
[error] invalid-argument-type - Argument to function `cast_from_unit_vectorized` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | Unknown`
[error] invalid-argument-type - Argument to function `cast_from_unit_vectorized` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `(ExtensionArray & ~TimedeltaArray) | (ndarray[tuple[Any, ...], dtype[Any]] & ~TimedeltaArray) | TimedeltaArray | Unknown`
[error] invalid-argument-type - Argument to function `astype_overflowsafe` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Argument to function `astype_overflowsafe` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `(ExtensionArray & ~TimedeltaArray) | (ndarray[tuple[Any, ...], dtype[Any]] & ~TimedeltaArray) | TimedeltaArray`

pandas/core/dtypes/cast.py

[error] no-matching-overload - No overload of bound method `astype` matches arguments
[error] no-matching-overload - No overload of bound method `astype` matches arguments
[warning] possibly-missing-attribute - Attribute `_hasna` may be missing on object of type `Unknown | (int & ~Series) | (float & ~Series)`
[error] invalid-argument-type - Argument to function `allclose` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Argument to function `allclose` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `(ExtensionArray & ~ndarray[tuple[object, ...], dtype[object]]) | (ExtensionArray & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]]`

pandas/core/dtypes/dtypes.py

[error] unresolved-attribute - Object of type `BaseOffset` has no attribute `_period_dtype_code`
[error] unresolved-attribute - Object of type `(BaseOffset & ~BusinessDay) | BusinessDay` has no attribute `_period_dtype_code`

pandas/core/frame.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Iterable[Unknown]`, found `Hashable & ~slice[object, object, object] & ~DataFrame`
[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/generic.py

[error] invalid-argument-type - Argument to bound method `fast_xs` is incorrect: Expected `int`, found `@Todo | int | integer[Any]`

pandas/core/groupby/grouper.py

[warning] possibly-missing-attribute - Attribute `categories` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `categories` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `isna` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `isna` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `ordered` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `ordered` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | Index | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`
[warning] possibly-missing-attribute - Attribute `codes` may be missing on object of type `Unknown | (Index & ~ndarray[tuple[object, ...], dtype[object]]) | (Index & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Any]] | Categorical`

pandas/core/indexes/datetimelike.py

[warning] possibly-missing-attribute - Attribute `asi8` may be missing on object of type `(Any & Index) | CategoricalIndex | Self@equals`
[warning] possibly-missing-attribute - Attribute `asi8` may be missing on object of type `Self@equals | (Any & Index & ~Self@equals) | CategoricalIndex`

pandas/core/internals/construction.py

[warning] possibly-missing-attribute - Attribute `reshape` may be missing on object of type `Unknown | ndarray[tuple[int, int], dtype[Any]] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`
[warning] possibly-missing-attribute - Attribute `reshape` may be missing on object of type `Unknown | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | ndarray[tuple[int, int], dtype[Any]]`
[error] invalid-argument-type - Argument to function `_check_values_indices_shape_match` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ndarray[tuple[int, int], dtype[Any]] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]]`
[error] invalid-argument-type - Argument to function `_check_values_indices_shape_match` is incorrect: Expected `ndarray[tuple[Any, ...], dtype[Any]]`, found `Unknown | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | ndarray[tuple[int, int], dtype[Any]]`

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/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 | Decimal | int | float | str, None | Unknown | str]`

pandas/io/formats/format.py

[error] no-matching-overload - No overload of bound method `get` matches arguments

pandas/tests/io/test_sql.py

[error] unresolved-attribute - Object of type `PandasSQL` has no attribute `run_transaction`
[warning] possibly-missing-attribute - Attribute `run_transaction` may be missing on object of type `(PandasSQL & ~SQLDatabase) | SQLDatabase`
[error] unresolved-attribute - Object of type `PandasSQL` has no attribute `run_transaction`
[warning] possibly-missing-attribute - Attribute `run_transaction` may be missing on object of type `(PandasSQL & ~SQLDatabase) | SQLDatabase`
[error] unresolved-attribute - Object of type `PandasSQL` has no attribute `run_transaction`
[warning] possibly-missing-attribute - Attribute `run_transaction` may be missing on object of type `(PandasSQL & ~SQLDatabase) | SQLDatabase`

pandas/tests/resample/test_datetime_index.py

[error] invalid-argument-type - Argument to bound method `resample` is incorrect: Expected `str | date | datetime64[date | int | None] | ... omitted 3 union elements`, found `Unknown | str | Timestamp | None`
[error] invalid-argument-type - Argument to bound method `resample` is incorrect: Expected `str | date | datetime64[date | int | None] | ... omitted 3 union elements`, found `(Unknown & ~None) | str | Timestamp | (Unknown & ~Literal["start_day"]) | None`

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

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

pandera/api/pandas/components.py

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

tests/modin/test_logical_dtypes.py

[error] invalid-argument-type - Argument to bound method `check` is incorrect: Expected `pandera.engines.pandas_engine.DataType`, found `pandera.dtypes.DataType`
[error] invalid-argument-type - Argument to bound method `check` is incorrect: Expected `Series[Any] | None`, found `Series[Any] | DataFrame`

parso (https://github.com/davidhalter/parso)

parso/python/pep8.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 `Unknown | None`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `type` may be missing on object of type `Unknown | None`

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

src/pip/_internal/operations/prepare.py

[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `file_path` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `file_path` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_existing_dir` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_existing_dir` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `file_path` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `file_path` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_vcs` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_vcs` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_existing_dir` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_existing_dir` may be missing on object of type `Unknown | None | Link`
[error] invalid-argument-type - Argument to bound method `_fetch_metadata_using_lazy_wheel` is incorrect: Expected `Link`, found `Unknown | Link | None`
[error] invalid-argument-type - Argument to bound method `_fetch_metadata_using_lazy_wheel` is incorrect: Expected `Link`, found `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `metadata_link` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `metadata_link` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `url` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `url` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | None | Link`
[error] invalid-argument-type - Argument to function `_check_download_dir` is incorrect: Expected `Link`, found `Unknown | Link | None`
[error] invalid-argument-type - Argument to function `_check_download_dir` is incorrect: Expected `Link`, found `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `url` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `url` may be missing on object of type `Unknown | None | Link`

src/pip/_internal/resolution/resolvelib/candidates.py

[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `filename` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_wheel` may be missing on object of type `Unknown | None | Link`
[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | Link | None`
[warning] possibly-missing-attribute - Attribute `is_file` may be missing on object of type `Unknown | None | Link`

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/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-sqlalchemy/tests/test_database.py

[error] invalid-assignment - Object of type `Unknown` is not assignable to attribute `_is_async` on type `AsyncSqlAlchemyConnector | SqlAlchemyConnector`
[error] invalid-assignment - Object of type `(Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy)` is not assignable to attribute `_is_async` on type `AsyncSqlAlchemyConnector | SqlAlchemyConnector`

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`
[error] invalid-argument-type - Argument to function `assert_deployment_name_format` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to function `assert_deployment_name_format` is incorrect: Expected `str`, found `None | str`
[error] invalid-argument-type - Argument to bound method `read_deployment_by_name` is incorrect: Expected `str`, found `str | None`
[error] invalid-argument-type - Argument to bound method `read_deployment_by_name` is incorrect: Expected `str`, found `None | str`

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/deployments/flow_runs.py

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

src/prefect/input/run_input.py

[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunInput]`, found `list[FlowRunInput] | Coroutine[Any, Any, list[FlowRunInput]]`
[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunInput]`, found `(list[FlowRunInput] & ~AlwaysTruthy) | (Coroutine[Any, Any, list[FlowRunInput]] & ~AlwaysTruthy) | (list[FlowRunInput] & ~AlwaysFalsy) | (Coroutine[Any, Any, list[FlowRunInput]] & ~AlwaysFalsy)`
[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunInput]`, found `list[FlowRunInput] | Coroutine[Any, Any, list[FlowRunInput]]`
[error] invalid-return-type - Return type does not match returned value: expected `list[FlowRunInput]`, found `(list[FlowRunInput] & ~AlwaysTruthy) | (Coroutine[Any, Any, list[FlowRunInput]] & ~AlwaysTruthy) | (list[FlowRunInput] & ~AlwaysFalsy) | (Coroutine[Any, Any, list[FlowRunInput]] & ~AlwaysFalsy)`

src/prefect/task_engine.py

[error] invalid-assignment - Object of type `Unknown | None | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool)` is not assignable to `((Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]], TaskRun, State[R@SyncTaskRunEngine], /) -> bool) | None`
[error] invalid-assignment - Object of type `Unknown | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool) | None` is not assignable to `((Task[P@SyncTaskRunEngine, Coroutine[Any, Any, R@SyncTaskRunEngine]], TaskRun, State[R@SyncTaskRunEngine], /) -> bool) | None`
[error] invalid-assignment - Object of type `Unknown | None | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool)` is not assignable to `((Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]], TaskRun, State[R@AsyncTaskRunEngine], /) -> bool) | None`
[error] invalid-assignment - Object of type `Unknown | ((Task[(...), Any], TaskRun, State[Any], /) -> Awaitable[bool] | bool) | None` is not assignable to `((Task[P@AsyncTaskRunEngine, Coroutine[Any, Any, R@AsyncTaskRunEngine]], TaskRun, State[R@AsyncTaskRunEngine], /) -> bool) | None`

src/prefect/utilities/engine.py

[warning] redundant-cast - Value is already of type `Any`

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`

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

pwndbg/aglib/heap/ptmalloc.py

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

pwndbg/aglib/kernel/symbol.py

[error] invalid-argument-type - Argument to function `get_typed_pointer` is incorrect: Expected `int | Value`, found `Value | None | int`
[error] invalid-argument-type - Argument to function `get_typed_pointer` is incorrect: Expected `int | Value`, found `None | Value | int`
[error] invalid-argument-type - Argument to function `get_typed_pointer_value` is incorrect: Expected `int | Value`, found `Value | None | int`
[error] invalid-argument-type - Argument to function `get_typed_pointer_value` is incorrect: Expected `int | Value`, found `None | Value | int`

pwndbg/commands/nearpc.py

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

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] | 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/typecheck.py

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

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/unittest.py

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

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

adodbapi/test/adodbapitestconfig.py

[error] invalid-assignment - Object of type `int` is not assignable to attribute `verbose` of type `(int & ~AlwaysTruthy) | (int & ~AlwaysFalsy)`

com/win32comext/axscript/client/error.py

[error] unresolved-attribute - Object of type `com_error` has no attribute `strerror`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `strerror`
[error] unresolved-attribute - Object of type `com_error` has no attribute `hresult`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `hresult`
[error] unresolved-attribute - Object of type `com_error` has no attribute `hresult`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `hresult`
[error] unresolved-attribute - Object of type `com_error` has no attribute `excepinfo`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `excepinfo`
[error] unresolved-attribute - Object of type `com_error` has no attribute `excepinfo`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `excepinfo`
[error] unresolved-attribute - Object of type `com_error` has no attribute `excepinfo`
[error] unresolved-attribute - Object of type `(com_error & ~AlwaysTruthy) | (com_error & ~AlwaysFalsy)` has no attribute `excepinfo`

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

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/ensemble/_hist_gradient_boosting/utils.py

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

sklearn/externals/_numpydoc/docscrape.py

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

sklearn/linear_model/_omp.py

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

sklearn/utils/validation.py

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

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

scipy/_lib/_docscrape.py

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

scipy/_lib/_util.py

[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `None | Any`
[warning] possibly-missing-attribute - Attribute `ndim` may be missing on object of type `(Any & ~None) | None`

scipy/cluster/hierarchy/_hierarchy_impl.py

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

scipy/integrate/_quad_vec.py

[error] invalid-argument-type - Argument is incorrect: Expected `ArrayLike`, found `None | Unknown`
[error] invalid-argument-type - Argument is incorrect: Expected `ArrayLike`, found `None | (Unknown & ~float & ~complex) | (Unknown & float) | (Unknown & complex)`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | Unknown`
[error] invalid-argument-type - Argument to function `abs` is incorrect: Expected `SupportsAbs[Unknown]`, found `None | (Unknown & ~float & ~complex) | (Unknown & float) | (Unknown & complex)`

scipy/integrate/tests/test_integrate.py

[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[Unknown, Unknown | Literal["adams"]]`
[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[(Unknown & ~<Protocol with members 'jac'>) | (Unknown & <Protocol with members 'jac'>), Unknown | Literal["adams"]]`
[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[Unknown, Unknown | Literal["adams"]]`
[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[(Unknown & ~<Protocol with members 'jac'>) | (Unknown & <Protocol with members 'jac'>), Unknown | Literal["adams"]]`
[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[Unknown, Unknown | Literal["adams"]]`
[error] invalid-argument-type - Argument to function `assert_` is incorrect: Expected `str | (() -> str)`, found `tuple[(Unknown & ~<Protocol with members 'jac'>) | (Unknown & <Protocol with members 'jac'>), Unknown | Literal["adams"]]`

scipy/interpolate/_fitpack_repro.py

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

scipy/optimize/_differentiable_functions.py

[error] not-iterable - Object of type `Unknown | None` may not be iterable
[error] not-iterable - Object of type `(Unknown & ~None) | None` may not be iterable

scipy/optimize/_nonlin.py

[error] invalid-argument-type - Argument to function `signature` is incorrect: Expected `(...) -> Any`, found `((A, b, x0=None, *, rtol=..., atol=..., maxiter=None, M=None, callback=None) -> Unknown) | ((A, b, x0=None, *, rtol=..., shift=..., maxiter=None, M=None, callback=None, show=False, check=False) -> Unknown) | Unknown | Literal["lgmres"]`
[error] invalid-argument-type - Argument to function `signature` is incorrect: Expected `(...) -> Any`, found `Literal["lgmres"] | (((A, b, x0=None, *, rtol=..., atol=..., maxiter=None, M=None, callback=None) -> Unknown) & ~(def gmres(A, b, x0=None, *, rtol=..., atol=..., restart=None, maxiter=None, M=None, callback=None, callback_type=None) -> Unknown)) | (((A, b, x0=None, *, rtol=..., shift=..., maxiter=None, M=None, callback=None, show=False, check=False) -> Unknown) & ~(def gmres(A, b, x0=None, *, rtol=..., atol=..., restart=None, maxiter=None, M=None, callback=None, callback_type=None) -> Unknown)) | (Unknown & ~(def gmres(A, b, x0=None, *, rtol=..., atol=..., restart=None, maxiter=None, M=None, callback=None, callback_type=None) -> Unknown)) | (def gmres(A, b, x0=None, *, rtol=..., atol=..., restart=None, maxiter=None, M=None, callback=None, callback_type=None) -> Unknown)`

scipy/sparse/_base.py

[error] unresolved-attribute - Object of type `Self@__repr__` has no attribute `dtype`
[error] unresolved-attribute - Object of type `(Self@__repr__ & ~sparray) | (Self@__repr__ & sparray)` has no attribute `dtype`

scipy/sparse/linalg/_isolve/iterative.py

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

scipy/stats/_continuous_distns.py

[warning] possibly-missing-attribute - Attribute `size` may be missing on object of type `generic[Any] | int | float | ... omitted 5 union elements`
[warning] possibly-missing-attribute - Attribute `item` may be missing on object of type `generic[Any] | int | float | ... omitted 5 union elements`

scipy/stats/tests/test_continuous.py

[error] not-subscriptable - Cannot subscript object of type `complex` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `generic[Any]` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `complex` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `float` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `generic[Any]` with no `__getitem__` method
[error] not-subscriptable - Cannot subscript object of type `int` with no `__getitem__` method
[warning] possibly-missing-attribute - Attribute `dtype` may be missing on object of type `Any | generic[Any] | int | ... omitted 5 union elements`
[error] no-matching-overload - No overload of function `assert_allclose` matches arguments
[error] unsupported-operator - Operator `+` is not supported between objects of type `Unknown | generic[Any] | int | ... omitted 5 union elements` and `complex`
[warning] possibly-missing-attribute - Attribute `dtype` may be missing on object of type `Unknown | generic[Any] | int | ... omitted 5 union elements`
[error] no-matching-overload - No overload of function `assert_allclose` matches arguments
[warning] possibly-missing-attribute - Attribute `dtype` may be missing on object of type `Unknown | generic[Any] | int | ... omitted 5 union elements`
[error] no-matching-overload - No overload of function `assert_allclose` matches arguments
[error] unsupported-operator - Operator `*` is not supported between two objects of type `Unknown | None`
[error] unsupported-operator - Operator `*` is not supported between objects of type `None | Unknown` and `Unknown | None`

subprojects/pyprima/pyprima/pyprima/src/pyprima/cobyla/cobyla.py

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

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]`

tests/test_pipeline_files.py

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

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 `(Iterable[str] & Top[list[Unknown]]) | str | list[Unknown]`

setuptools/_vendor/backports/tarfile/__init__.py

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

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

sockeye/inference.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `list[str] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(list[str] & ~AlwaysFalsy) | (list[str] & ~AlwaysTruthy) | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `list[str] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(list[str] & ~AlwaysFalsy) | (list[str] & ~AlwaysTruthy) | None`

test/unit/test_data_io.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | list[Unknown] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | list[Unknown]`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | list[Unknown] | None`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `Unknown | None | 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/ci/__init__.py

[error] unsupported-operator - Operator `in` is not supported between objects of type `Any` and `None | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Any` and `None | (Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy)`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["image"]` and `None | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["image"]` and `None | (Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy)`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["tags"]` and `None | Unknown`
[error] unsupported-operator - Operator `in` is not supported between objects of type `Literal["tags"]` and `None | (Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy)`

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`

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`

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

sphinx/ext/autodoc/_legacy_class_based/_documenters.py

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

sphinx/ext/viewcode.py

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

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

static_frame/core/container_util.py

[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `reindex` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_index` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `values` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]]) | (Any & Frame) | ndarray[tuple[Any, ...], dtype[Unknown]]`
[warning] possibly-missing-attribute - Attribute `_columns` may be missing on object of type `(Any & Frame & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & Top[Series[Any, Any]] & ~ndarray[tuple[object, ...], dtype[object]]) | (Any & ndarray[tuple[object, ...], dtype[object]]) | ndarray[tuple[Any, ...], dtype[Unknown]]`

static_frame/core/index_datetime.py

[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'> & ~Top[Index[Any]] & ~str) | (Any & ndarray[object, object]) | (datetime64[date | int | None] & <Protocol with members '__len__'>)`
[error] invalid-argument-type - Argument to function `len` is incorrect: Expected `Sized`, found `(Any & <Protocol with members '__len__'> & ~Top[Index[Any]] & ~str & ~datetime64[date | int | None] & ~timedelta) | (Any & timedelta & <Protocol with members '__len__'> & ~datetime64[date | int | None]) | (datetime64[date | int | None] & <Protocol with members '__len__'>) | (Any & ndarray[object, object] & ~datetime64[date | int | None] & ~timedelta)`

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]`

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

strawberry/subscriptions/protocols/graphql_ws/handlers.py

[error] invalid-assignment - Object of type `None | dict[str, object]` is not assignable to attribute `connection_params` on type `(Unknown & <Protocol with members 'connection_params'> & ~Top[dict[Unknown, Unknown]]) | (Context@BaseGraphQLWSHandler & <Protocol with members 'connection_params'> & ~Top[dict[Unknown, Unknown]])`
[error] invalid-assignment - Object of type `dict[str, object] | None` is not assignable to attribute `connection_params` on type `(Unknown & <Protocol with members 'connection_params'> & ~Top[dict[Unknown, Unknown]]) | (Context@BaseGraphQLWSHandler & <Protocol with members 'connection_params'> & ~Top[dict[Unknown, Unknown]])`

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

sympy/core/containers.py

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

sympy/core/evalf.py

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

sympy/core/expr.py

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

sympy/matrices/matrixbase.py

[error] invalid-return-type - Return type does not match returned value: expected `tuple[MatrixBase, MatrixBase | Expr, str]`, found `tuple[MatrixBase | Unknown, None | MatrixBase | Expr | Unknown, Literal["invalid_type", "is_matrix", "possible_scalar"]]`
[error] invalid-return-type - Return type does not match returned value: expected `tuple[MatrixBase, MatrixBase | Expr, str]`, found `tuple[MatrixBase | Unknown, None | (Expr & ~MatrixBase) | MatrixBase | Unknown, Literal["invalid_type", "is_matrix", "possible_scalar"]]`

sympy/ntheory/factor_.py

[error] not-iterable - Object of type `Unknown | None` may not be iterable
[error] not-iterable - Object of type `(Unknown & ~None) | None` may not be iterable

sympy/physics/quantum/circuitutils.py

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

sympy/polys/numberfields/primes.py

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

sympy/printing/str.py

[warning] possibly-missing-attribute - Attribute `p` may be missing on object of type `Unknown | Expr`
[warning] possibly-missing-attribute - Attribute `p` may be missing on object of type `Expr | Unknown`
[warning] possibly-missing-attribute - Attribute `p` may be missing on object of type `Unknown | Expr`
[warning] possibly-missing-attribute - Attribute `p` may be missing on object of type `Expr | Unknown`
[warning] possibly-missing-attribute - Attribute `q` may be missing on object of type `Unknown | Expr`
[warning] possibly-missing-attribute - Attribute `q` may be missing on object of type `Expr | Unknown`
[warning] possibly-missing-attribute - Attribute `q` may be missing on object of type `Unknown | Expr`
[warning] possibly-missing-attribute - Attribute `q` may be missing on object of type `Expr | Unknown`

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/ode/systems.py

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

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/stats/symbolic_probability.py

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

sympy/tensor/tensor.py

[error] unresolved-attribute - Object of type `int` has no attribute `_matches`

sympy/utilities/tests/test_lambdify.py

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

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)

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
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `None | Unknown`
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `compress` may be missing on object of type `None | (Unknown & ~AlwaysTruthy) | (Unknown & ~AlwaysFalsy)`
[warning] possibly-missing-attribute - Attribute `__name__` may be missing on object of type `Unknown | None`
[warning] possibly-missing-attribute - Attribute `__name__` may be missing on object of type `None | Unknown`

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"]`

.github/process_commit.py

[error] invalid-argument-type - Argument to function `get_pr_merger_and_labels` is incorrect: Expected `int`, found `int | None`
[error] invalid-argument-type - Argument to function `get_pr_merger_and_labels` is incorrect: Expected `int`, found `(int & ~AlwaysFalsy) | (int & ~AlwaysTruthy) | None`

test/datasets_utils.py

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

test/test_transforms_v2.py

[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float]`, found `Unknown | None | int | list[Unknown | int]`
[error] invalid-argument-type - Argument to bound method `__init__` is incorrect: Expected `Sequence[int | float]`, found `(Unknown & ~Top[list[Unknown]]) | None | int | (Unknown & Top[list[Unknown]]) | list[Unknown | int]`

websockets (https://github.com/aaugustin/websockets)

src/websockets/asyncio/connection.py

[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `ExceptionGroup` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined

src/websockets/legacy/protocol.py

[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined
[error] unresolved-reference - Name `ExceptionGroup` used when not defined
[error] unresolved-reference - Name `exceptions` used when not defined

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

xarray/coding/cftime_offsets.py

[error] invalid-return-type - Return type does not match returned value: expected `T_FreqStr@_legacy_to_new_freq`, found `(str & ~AlwaysFalsy) | T_FreqStr@_legacy_to_new_freq`

xarray/conventions.py

[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, Literal[True] | Unknown] | Literal[True]`, found `bool | CFDatetimeCoder | Mapping[str, bool | CFDatetimeCoder]`
[error] invalid-argument-type - Argument to function `_item_or_default` is incorrect: Expected `Mapping[Any, Literal[True] | Unknown] | Literal[True]`, found `bool | (CFDatetimeCoder & ~AlwaysTruthy) | (Mapping[str, bool | CFDatetimeCoder] & ~AlwaysTruthy) | (CFDatetimeCoder & ~AlwaysFalsy) | (Mapping[str, bool | CFDatetimeCoder] & ~AlwaysFalsy)`

xarray/core/dataset.py

[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Any] | None`, found `Hashable`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Resampler | str | int | tuple[int, ...] | None] | None`, found `(str & Top[Mapping[Unknown, object]]) | (int & Top[Mapping[Unknown, object]]) | (tuple[int, ...] & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements`
[error] invalid-argument-type - Argument to function `either_dict_or_kwargs` is incorrect: Expected `Mapping[Any, Resampler | str | int | tuple[int, ...] | None] | None`, found `None | (str & Top[Mapping[Unknown, object]]) | (int & Top[Mapping[Unknown, object]]) | ... omitted 3 union elements`

xarray/core/groupby.py

[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `DataArray` of type variable `Self`
[error] invalid-argument-type - Argument to bound method `drop_vars` is incorrect: Argument type `T_Xarray@GroupBy` does not satisfy upper bound `Dataset` of type variable `Self`

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]]`

xarray/plot/utils.py

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

xarray/tests/test_dataset.py

[error] invalid-argument-type - Argument to bound method `quantile` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `Hashable`
[error] invalid-argument-type - Argument to bound method `quantile` is incorrect: Expected `_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | ... omitted 5 union elements`, found `Hashable`

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)

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) | Message`

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`