Finally, either it's not an issue or there is another issue, because
there is no typing in the MyPy stubs. Trying wxPython with some samples,
I noticed MyPy did not caught some errors which should have been
obvious. Looking into the the stub files, it appears there do not
provide type annotation, except in comments. Types in comments and not
in annotations, it looks strange.


If it may help, found someone is working on it: 
https://github.com/AlexionSoftware/types-wxpython . It was last updated two 
years ago, but maybe it's enough and it is up to date (will contribute to it, 
if needed).

Will try to install theses stubs as a workaround, and remove the
`py.typed` whose addition was suggestion in the first message.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2160462

Title:
  Missing setup for python3-wxgtk4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wxpython4.0/+bug/2160462/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to