Skip to content

Commit

Permalink
Fix type hinting issues in webhooks/postal.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
YPCrumble committed Aug 23, 2024
1 parent dfe7836 commit bac6cca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions anymail/webhooks/postal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit bac6cca

Please sign in to comment.