Xqt submitted this change.

View Change

Approvals: Xqt: Verified; Looks good to me, approved
[IMPR] fix isort import errors

Change-Id: I43de7ec27d3b0cae946dc011153a4fadeef1e837
---
M pywikibot/data/api/_generators.py
M pywikibot/page/_filepage.py
M pywikibot/site/_apisite.py
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/pywikibot/data/api/_generators.py b/pywikibot/data/api/_generators.py
index e3a1f21..6684e7e 100644
--- a/pywikibot/data/api/_generators.py
+++ b/pywikibot/data/api/_generators.py
@@ -10,7 +10,7 @@
#
# Distributed under the terms of the MIT license.
#
-from abc import abstractmethod, ABC
+from abc import ABC, abstractmethod
from typing import Union
from warnings import warn

@@ -19,6 +19,7 @@
from pywikibot.exceptions import Error, InvalidTitleError, UnsupportedPageError
from pywikibot.tools.collections import GeneratorWrapper

+
__all__ = (
'APIGenerator',
'ListGenerator',
diff --git a/pywikibot/page/_filepage.py b/pywikibot/page/_filepage.py
index c8983a9..1616bb7 100644
--- a/pywikibot/page/_filepage.py
+++ b/pywikibot/page/_filepage.py
@@ -19,6 +19,7 @@
from pywikibot.page._pages import Page
from pywikibot.tools import compute_file_hash, deprecated

+
__all__ = (
'FileInfo',
'FilePage',
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index c1e14b5..8a6332f 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -56,9 +56,9 @@
LinterMixin,
PageImagesMixin,
ProofreadPageMixin,
+ TextExtractsMixin,
ThanksFlowMixin,
ThanksMixin,
- TextExtractsMixin,
UrlShortenerMixin,
WikibaseClientMixin,
)
@@ -69,8 +69,8 @@
from pywikibot.site._tokenwallet import TokenWallet
from pywikibot.site._upload import Uploader
from pywikibot.tools import (
- cached,
MediaWikiVersion,
+ cached,
deprecated,
merge_unique_dicts,
normalize_username,

To view, visit change 817319. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I43de7ec27d3b0cae946dc011153a4fadeef1e837
Gerrit-Change-Number: 817319
Gerrit-PatchSet: 1
Gerrit-Owner: Mpaa <mpaa.wiki@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged