From bac6cca48a4c91527280d667b8b8bb0cdd0d8868 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 23 Aug 2024 12:14:44 -0400 Subject: [PATCH] Fix type hinting issues in webhooks/postal.py. --- anymail/webhooks/postal.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/anymail/webhooks/postal.py b/anymail/webhooks/postal.py index d94a6789..44a82818 100644 --- a/anymail/webhooks/postal.py +++ b/anymail/webhooks/postal.py @@ -35,11 +35,11 @@ missing_package="cryptography", install_extra="postal" ) ) - serialization = error - hashes = error + serialization = error # type: ignore[assignment] + hashes = error # type: ignore[assignment] default_backend = error - padding = error - InvalidSignature = object + padding = error # type: ignore[assignment] + InvalidSignature = object # type:ignore[assignment,misc] class PostalBaseWebhookView(AnymailBaseWebhookView):