Page MenuHomePhabricator

Consistently supply type hints
Closed, ResolvedPublic

Description

Often pywikibot supplies type hints, but often it doesn't. This is a tracking ticket for consistently supplying type hints throughout our library.

When finished I'll likely look into integrating mypy into our tests to prevent regression.

Event Timeline

Change 703916 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] bot_choice.py type hints

https://gerrit.wikimedia.org/r/703916

Change 704629 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [bugfix] OutputProxyOption's 'out' could return None

https://gerrit.wikimedia.org/r/704629

Change 704637 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [bugfix] ContextOption result() method returns None

https://gerrit.wikimedia.org/r/704637

Change 704872 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] backports.py type hints

https://gerrit.wikimedia.org/r/704872

Change 704885 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] bot.py type hints

https://gerrit.wikimedia.org/r/704885

Change 703916 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] bot_choice.py type hints

https://gerrit.wikimedia.org/r/703916

Change 704872 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] backports.py type hints

https://gerrit.wikimedia.org/r/704872

Change 704637 merged by jenkins-bot:

[pywikibot/core@master] [cleanup] Explicitly return None from ContextOption.result()

https://gerrit.wikimedia.org/r/704637

Change 704629 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] OutputProxyOption's 'out' could return None

https://gerrit.wikimedia.org/r/704629

Change 705041 had a related patch set uploaded (by JJMC89; author: JJMC89):

[pywikibot/core@master] [IMPR] add type hints

https://gerrit.wikimedia.org/r/705041

Change 705041 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] add type hints

https://gerrit.wikimedia.org/r/705041

Change 705164 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] cosmetic_changes.py type hints

https://gerrit.wikimedia.org/r/705164

Change 705168 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] daemonize.py type hints

https://gerrit.wikimedia.org/r/705168

Change 705168 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] daemonize.py type hints

https://gerrit.wikimedia.org/r/705168

Change 705164 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] cosmetic_changes.py type hints

https://gerrit.wikimedia.org/r/705164

Change 708872 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] date.py type hints

https://gerrit.wikimedia.org/r/708872

Change 708872 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] date.py type hints

https://gerrit.wikimedia.org/r/708872

Change 709236 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] diff.py type hints

https://gerrit.wikimedia.org/r/709236

Change 709251 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] echo.py type hints

https://gerrit.wikimedia.org/r/709251

Change 709252 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] editor.py type hints

https://gerrit.wikimedia.org/r/709252

Change 709253 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] exceptions.py type hints

https://gerrit.wikimedia.org/r/709253

Change 709590 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] family.py type hints

https://gerrit.wikimedia.org/r/709590

Change 704885 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] bot.py type hints

https://gerrit.wikimedia.org/r/704885

Change 709832 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] flow.py type hints

https://gerrit.wikimedia.org/r/709832

Change 710116 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] i18n.py type hints

https://gerrit.wikimedia.org/r/710116

Change 710382 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] __init__.py type hints

https://gerrit.wikimedia.org/r/710382

Change 710612 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] interwiki_graph.py type hints

https://gerrit.wikimedia.org/r/710612

Change 710615 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] logentries.py type hints

https://gerrit.wikimedia.org/r/710615

Change 710673 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] logging.py type hints

https://gerrit.wikimedia.org/r/710673

Change 710675 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] login.py type hints

https://gerrit.wikimedia.org/r/710675

Change 709251 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] echo.py type hints

https://gerrit.wikimedia.org/r/709251

Change 710675 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] login.py type hints

https://gerrit.wikimedia.org/r/710675

Change 709253 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] exceptions.py type hints

https://gerrit.wikimedia.org/r/709253

Change 710612 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] interwiki_graph.py type hints

https://gerrit.wikimedia.org/r/710612

Change 710673 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] logging.py type hints

https://gerrit.wikimedia.org/r/710673

Change 709252 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] editor.py type hints

https://gerrit.wikimedia.org/r/709252

Change 714210 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] pagegenerators.py type hints

https://gerrit.wikimedia.org/r/714210

Change 714455 had a related patch set uploaded (by Damian; author: Damian):

[pywikibot/core@master] [IMPR] proofreadpage.py type hints

https://gerrit.wikimedia.org/r/714455

Change 709832 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] flow.py type hints

https://gerrit.wikimedia.org/r/709832

Change 709236 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] diff.py type hints

https://gerrit.wikimedia.org/r/709236

Change 714455 abandoned by Damian:

[pywikibot/core@master] [IMPR] proofreadpage.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/714455

Change 710382 abandoned by Damian:

[pywikibot/core@master] [IMPR] __init__.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/710382

Change 710615 abandoned by Damian:

[pywikibot/core@master] [IMPR] logentries.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/710615

Change 714210 abandoned by Damian:

[pywikibot/core@master] [IMPR] pagegenerators.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/714210

Change 710116 abandoned by Damian:

[pywikibot/core@master] [IMPR] i18n.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/710116

Change 709590 abandoned by Damian:

[pywikibot/core@master] [IMPR] family.py type hints

Reason:

Left pywikibot (for details see blog.atagar.com)

https://gerrit.wikimedia.org/r/709590

Change 714455 restored by Xqt:

[pywikibot/core@master] [IMPR] proofreadpage.py type hints

https://gerrit.wikimedia.org/r/714455

Change 714455 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] proofreadpage.py type hints

https://gerrit.wikimedia.org/r/714455

Change 710382 restored by Xqt:

[pywikibot/core@master] [IMPR] __init__.py type hints

https://gerrit.wikimedia.org/r/710382

Change 710615 restored by Xqt:

[pywikibot/core@master] [IMPR] logentries.py type hints

https://gerrit.wikimedia.org/r/710615

Change 710615 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] logentries.py type hints

https://gerrit.wikimedia.org/r/710615

Change 710382 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] __init__.py type hints

https://gerrit.wikimedia.org/r/710382

Change 714210 restored by Xqt:

[pywikibot/core@master] [IMPR] pagegenerators.py type hints

https://gerrit.wikimedia.org/r/714210

Change 714210 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] pagegenerators.py type hints

https://gerrit.wikimedia.org/r/714210

Change 710116 restored by Xqt:

[pywikibot/core@master] [IMPR] i18n.py type hints

https://gerrit.wikimedia.org/r/710116

Change 710116 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] i18n.py type hints

https://gerrit.wikimedia.org/r/710116

Xqt removed atagar as the assignee of this task.Apr 28 2022, 7:23 AM
Xqt lowered the priority of this task from Low to Lowest.
Xqt claimed this task.
Xqt subscribed.

Nice to have but currently no benefit. Close it as solved.