jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1238328?usp=email )
Change subject: Move copyright headers above module docstrings ...................................................................... Move copyright headers above module docstrings Bug: T416673 Change-Id: I0fce8a4d318a0d7a69b68d77b460d5311a8fae5d --- M pywikibot/editor.py M pywikibot/family.py M pywikibot/i18n.py M scripts/pagefromfile.py 4 files changed, 20 insertions(+), 16 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/pywikibot/editor.py b/pywikibot/editor.py index 5ecff70..b403fc4 100644 --- a/pywikibot/editor.py +++ b/pywikibot/editor.py @@ -1,13 +1,14 @@ -"""Text editor class for your favourite editor. - -.. note:: This module uses :mod:`userinterfaces.gui` and has dependencies - from other partially external modules. -""" # # (C) Pywikibot team, 2004-2026 # # Distributed under the terms of the MIT license. # +"""Text editor class for your favourite editor. + +.. note:: This module uses :mod:`userinterfaces.gui` and has dependencies + from other partially external modules. +""" + from __future__ import annotations import os diff --git a/pywikibot/family.py b/pywikibot/family.py index e53ad48..5d1d08c 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -1,9 +1,10 @@ -"""Objects representing MediaWiki families.""" # # (C) Pywikibot team, 2004-2026 # # Distributed under the terms of the MIT license. # +"""Objects representing MediaWiki families.""" + from __future__ import annotations import collections diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py index 28aacd9..efda97f 100644 --- a/pywikibot/i18n.py +++ b/pywikibot/i18n.py @@ -1,3 +1,8 @@ +# +# (C) Pywikibot team, 2004-2026 +# +# Distributed under the terms of the MIT license. +# """Various i18n functions. Helper functions for both the internal localization system and for @@ -14,11 +19,7 @@ __init__.py, and a message bundle called 'pywikibot' containing messages. See :py:obj:`twtranslate` for more information on the messages. """ -# -# (C) Pywikibot team, 2004-2026 -# -# Distributed under the terms of the MIT license. -# + from __future__ import annotations import json diff --git a/scripts/pagefromfile.py b/scripts/pagefromfile.py index 9b4095c..8b03c1d 100755 --- a/scripts/pagefromfile.py +++ b/scripts/pagefromfile.py @@ -1,4 +1,9 @@ #!/usr/bin/env python3 +# +# (C) Pywikibot team, 2004-2026 +# +# Distributed under the terms of the MIT license. +# r"""Bot to upload pages from a text file. This bot takes its input from the UTF-8 text file that contains a number @@ -70,11 +75,7 @@ ``-appendtop:foo`` would add 'foo' between them. A new line can be added between them by specifying '\n' as a value. """ -# -# (C) Pywikibot team, 2004-2026 -# -# Distributed under the terms of the MIT license. -# + from __future__ import annotations import os -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1238328?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Change-Id: I0fce8a4d318a0d7a69b68d77b460d5311a8fae5d Gerrit-Change-Number: 1238328 Gerrit-PatchSet: 2 Gerrit-Owner: Stitipragyan barik <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
