jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/816248 )
Change subject: [IMPR] split pagegenerators.py into pagegenerators module ......................................................................
[IMPR] split pagegenerators.py into pagegenerators module
Change-Id: Ia6e95dae949df6695a8bc9a6a8e81882503ca25e --- M pywikibot/CONTENT.rst C pywikibot/pagegenerators/__init__.py C pywikibot/pagegenerators/_factory.py C pywikibot/pagegenerators/_filters.py R pywikibot/pagegenerators/_generators.py M tox.ini 6 files changed, 13 insertions(+), 3 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/CONTENT.rst b/pywikibot/CONTENT.rst index b57f488..88fb524 100644 --- a/pywikibot/CONTENT.rst +++ b/pywikibot/CONTENT.rst @@ -54,8 +54,6 @@ | login.py | Log in to an account on your "home" wiki, or check | | | login status | +----------------------------+------------------------------------------------------+ - | pagegenerators.py | Generator pages | - +----------------------------+------------------------------------------------------+ | plural.py | Module containing plural rules of various languages | +----------------------------+------------------------------------------------------+ | proofreadpage.py | Objects representing objects used with ProofreadPage | @@ -137,6 +135,15 @@ | _wikibase.py | Objects representing wikibase structures | +----------------------------+------------------------------------------------------+
+ +----------------------------+------------------------------------------------------+ + | pagegenerators | Page generators module | + +============================+======================================================+ + | _factory.py | Generator factory class to handle options | + +----------------------------+------------------------------------------------------+ + | _filter.py | Filter functions | + +----------------------------+------------------------------------------------------+ + | _generators.py | Generator functions | + +----------------------------+------------------------------------------------------+
+----------------------------+------------------------------------------------------+ | scripts | Framework helper scripts and entry points | diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators/__init__.py similarity index 100% copy from pywikibot/pagegenerators.py copy to pywikibot/pagegenerators/__init__.py diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators/_factory.py similarity index 100% copy from pywikibot/pagegenerators.py copy to pywikibot/pagegenerators/_factory.py diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators/_filters.py similarity index 100% copy from pywikibot/pagegenerators.py copy to pywikibot/pagegenerators/_filters.py diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators/_generators.py similarity index 100% rename from pywikibot/pagegenerators.py rename to pywikibot/pagegenerators/_generators.py diff --git a/tox.ini b/tox.ini index fbe0d88..58be142 100644 --- a/tox.ini +++ b/tox.ini @@ -158,7 +158,10 @@ pywikibot/page/_collections.py: N802 pywikibot/page/_pages.py: N802 pywikibot/page/_wikibase.py: N802 - pywikibot/pagegenerators.py: N802, N803, N806, N816 + pywikibot/pagegenerators/__init__.py: N802, N803, N806, N816 + pywikibot/pagegenerators/_factory.py: N802, N803, N806, N816 + pywikibot/pagegenerators/_filters.py: N802, N803, N806, N816 + pywikibot/pagegenerators/_generators.py: N802, N803, N806, N816 pywikibot/scripts/generate_family_file.py: T001, T201 pywikibot/site/_datasite.py: N802 pywikibot/textlib.py: N801, N802, N803, N806
pywikibot-commits@lists.wikimedia.org