From ee698d045f2df2a0e57b9c0cd705cbc4bf34a59e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 28 Feb 2023 19:33:18 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20type=20annotation=20for=20?= =?UTF-8?q?ignore=5Ferrors=20in=20sentry=5Fsdk.init()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 df6a9a747c..88a8719f6d 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -64,7 +64,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]