RPI2026F1 created this task. RPI2026F1 added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION **Steps to replicate the issue** (include links if applicable): A lot of parts of `pywikibot` use classes from other submodules, but it relies on the implicit importation of submodules from other submodules for it. This is incompatible with typecheckers like Pylance (https://github.com/microsoft/pylance-release/issues/4014). **What happens?**: Type checkers cannot resolve forward references when the submodule import is not explicit. **What should have happened instead?**: Type checking should work **Software version** (skip for WMF-hosted wikis like Wikipedia): **Other information** (browser name/version, screenshots, etc.): F36888707: image.png <https://phabricator.wikimedia.org/F36888707> TASK DETAIL https://phabricator.wikimedia.org/T331011 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RPI2026F1 Cc: Aklapper, pywikibot-bugs-list, RPI2026F1, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
