From a135fd6b107b8ff8949a90b83bebb657bec59318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 6 Mar 2023 09:32:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20type=20annotation=20for=20?= =?UTF-8?q?ignore=5Ferrors=20in=20sentry=5Fsdk.init()=20(#1928)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anton Pirker --- sentry_sdk/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index bf576a63e8..072b49ced7 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -105,7 +105,7 @@ def __init__( send_default_pii=False, # type: bool http_proxy=None, # type: Optional[str] https_proxy=None, # type: Optional[str] - ignore_errors=[], # type: List[Union[type, str]] # noqa: B006 + ignore_errors=[], # type: Sequence[Union[type, str]] # noqa: B006 request_bodies="medium", # type: str before_send=None, # type: Optional[EventProcessor] before_breadcrumb=None, # type: Optional[BreadcrumbProcessor]