In devel: PR #4320 improves Leo's annotations

18 views
Skip to first unread message

Edward K. Ream

unread,
Mar 31, 2025, 3:45:55 PM3/31/25
to leo-editor

PR #4320 is now part of Leo's devel branch. This PR improves the mypy annotations in Leo's core, Qt code, and standard plugins. At last, all concrete widget and wrapper classes have accurate annotations. These annotations clarify inherently complex code. These annotations should be of great value to future maintainers.


I have carefully documented all code changes in addition to the annotations. All such changes could be buggy. Please report any problems immediately.


Edward


P.S. This PR will have little effect on LeoJS. LeoJS contains full annotations because Typescript requires them.


P.P.S. Info issue #1585 now contains the notes in the PR's first comment.


EKR


Reply all
Reply to author
Forward
0 new messages