sentry_sdk/spotlight.py:208: error: Item "None" of "Any | None" has no attribute "DEBUG" [union-attr]
sentry_sdk/integrations/socket.py:108: error: Incompatible return value type (got "list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[str, int, int, int] | tuple[int, bytes]]]", expected "list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]") [return-value]
sentry_sdk/integrations/socket.py:108: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
sentry_sdk/integrations/socket.py:108: note: Consider using "Sequence" instead, which is covariant
sentry_sdk/integrations/socket.py:112: error: Incompatible return value type (got "list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[str, int, int, int] | tuple[int, bytes]]]", expected "list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]") [return-value]
sentry_sdk/integrations/socket.py:112: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
sentry_sdk/integrations/socket.py:112: note: Consider using "Sequence" instead, which is covariant
sentry_sdk/integrations/socket.py:136: error: Incompatible return value type (got "list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[str, int, int, int] | tuple[int, bytes]]]", expected "list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]") [return-value]
sentry_sdk/integrations/socket.py:136: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
sentry_sdk/integrations/socket.py:136: note: Consider using "Sequence" instead, which is covariant
sentry_sdk/integrations/socket.py:146: error: Incompatible return value type (got "list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[str, int, int, int] | tuple[int, bytes]]]", expected "list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]") [return-value]
sentry_sdk/integrations/socket.py:146: note: "list" is invariant -- see https://mypy.readthedocs.io/en/stable/common_issues.html#variance
sentry_sdk/integrations/socket.py:146: note: Consider using "Sequence" instead, which is covariant
sentry_sdk/integrations/socket.py:148: error: Incompatible types in assignment (expression has type "Callable[[bytes | str | None, bytes | str | int | None, int, int, int, int], list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]]", variable has type "Callable[[bytes | str | None, bytes | str | int | None, int, int, int, int], list[tuple[Literal[AddressFamily.AF_INET], SocketKind, int, str, tuple[str, int]] | tuple[Literal[AddressFamily.AF_INET6], SocketKind, int, str, tuple[str, int, int, int] | tuple[int, bytes]]]]") [assignment]