You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- store/file.py: handle None payload explicitly, use get_mime_type()
instead of super().mime_type, narrow LazyHTTPFile.get_data types
- signers.py: normalize privkey to bytes before parsing, use
cast(bytes, ...) for vendored dkim.sign, rewrite sign methods
with explicit if/else
- backend/smtp/client.py: add return type annotation for sendmail,
add from __future__ import annotations
- backend/smtp/backend.py: remove no-any-return ignore (now typed
via client.py), assert sendmail result is not None
- utils.py: add overloads for to_unicode, use cast(F, wrapper)
for renderable decorator, build decode_header result with
explicit loop and assert
Remaining 5 ignores are private API access (msg._headers,
email.utils internals), MIMEMixin inheritance, and a dead
code path in to_unicode.
0 commit comments