mypy: remaining buckets — annotations, MIME typing, None-handling #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "pr/mypy-misc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
mypy: remaining buckets — annotations, MIME typing, None-handling.
Rebased onto master after #15/#17/#18: the protocol-scoped errors are gone and this PR now takes the codebase to 0 mypy errors (62 → 0 on this branch).
Highlights:
_BulkMoveWorker.runnarrows queue items (isinstance(item, tuple))MIMEMultipartfrom the right module, MIME parts typedMIMEBase, text attachments decoded forMIMETextQByteArray→bytesvia.data()QSocketNotifieroverload ignore,panel_historyannotation,message/update_single_threadtypes,install_desktopfd renameQVBoxLayoutnarrowing, threadparenttypedQObject, gnupg import ignorepolicy.clonewithout the invalidutf8kwarg,sign/encryptacceptMessagehide_tagsset conversion, model attr annotations, return types, narrow-after-assert inrefresh_threadVerified:
mypy lazarus→ 0 errors; compile clean; offscreen smoke (search rendering, MIME build, tag model) passes. Stacks on #18 (base updated).e13dedfb89to2a354e23d42a354e23d4to92552094e692552094e6to29c2d92584