jenkins-bot has submitted this change and it was merged.
Change subject: PEP257 all python files ......................................................................
PEP257 all python files
Change-Id: I1ae97738a10b19393ce18bc3bbe5653e9d47c36f --- M __init__.py M add_text.py M archivebot.py M basic.py M blockpageschecker.py M capitalize_redirects.py M casechecker.py M catall.py M category.py M category_redirect.py M clean_sandbox.py M commons.py M commons_link.py M cosmetic_changes.py M delete.py M djvutext.py M editarticle.py M featured.py M fixing_redirects.py M interwiki.py M isbn.py M lonelypages.py M makecat.py M misspelling.py M movepages.py M ndashredir.py M noreferences.py M pagefromfile.py M protect.py M pywikibot.py M redirect.py M reflinks.py M replace.py M revertbot.py M selflink.py M solve_disambiguation.py M spamremove.py M spellcheck.py M table2wiki.py M template.py M thirdparty.py M undelete.py M unlink.py M unprotect.py M weblinkchecker.py M welcome.py M wiktionary.py 47 files changed, 47 insertions(+), 0 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/__init__.py b/__init__.py index 40a96af..6d47ec1 100644 --- a/__init__.py +++ b/__init__.py @@ -1 +1,2 @@ # -*- coding: utf-8 -*- +"""i18n message bundle package.""" diff --git a/add_text.py b/add_text.py index 39c79f2..152e10d 100644 --- a/add_text.py +++ b/add_text.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'add_text-adding': u'Bot: Adding %(adding)s', diff --git a/archivebot.py b/archivebot.py index c1b8b91..58b25c3 100644 --- a/archivebot.py +++ b/archivebot.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Xqt 'en': { diff --git a/basic.py b/basic.py index f71219e..91ef179 100644 --- a/basic.py +++ b/basic.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'basic-changing': u'Robot: Changing ...', diff --git a/blockpageschecker.py b/blockpageschecker.py index 2939033..1209602 100644 --- a/blockpageschecker.py +++ b/blockpageschecker.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'blockpageschecker-summary': u'Bot: Deleting out-dated template', diff --git a/capitalize_redirects.py b/capitalize_redirects.py index fb3de7d..5380acb 100644 --- a/capitalize_redirects.py +++ b/capitalize_redirects.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'capitalize_redirects-create-redirect': u'Bot: Create redirect to [[%(to)s]]', diff --git a/casechecker.py b/casechecker.py index 3236c2f..7467f15 100644 --- a/casechecker.py +++ b/casechecker.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'casechecker-delete-reason': u'This redirect used to point to %(target)s', diff --git a/catall.py b/catall.py index c8599cb..731fd63 100644 --- a/catall.py +++ b/catall.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'catall-changing': u'Bot: Changing categories', diff --git a/category.py b/category.py index f521574..abc206e 100644 --- a/category.py +++ b/category.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Xqt 'en': { diff --git a/category_redirect.py b/category_redirect.py index 186e4dd..6201603 100644 --- a/category_redirect.py +++ b/category_redirect.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'category_redirect-add-template': u'Bot: Adding category redirect template for maintenance', diff --git a/clean_sandbox.py b/clean_sandbox.py index ae5a220..2856239 100644 --- a/clean_sandbox.py +++ b/clean_sandbox.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'clean_sandbox-cleaned': u'Bot: Automatically cleaned', diff --git a/commons.py b/commons.py index 8f8ee84..d68ffd9 100644 --- a/commons.py +++ b/commons.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'commons-file-moved': u'[[:File:%(localfile)s|File]] moved to [[:commons:File:%(commonsfile)s|commons]].', diff --git a/commons_link.py b/commons_link.py index c6d3ad9..300c2e7 100644 --- a/commons_link.py +++ b/commons_link.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'commons_link-cat-template-added': u'Bot: Include commonscat template', diff --git a/cosmetic_changes.py b/cosmetic_changes.py index 500151b..f299398 100644 --- a/cosmetic_changes.py +++ b/cosmetic_changes.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'cosmetic_changes-append': u'; cosmetic changes', diff --git a/delete.py b/delete.py index 4bd0bc3..7756dc2 100644 --- a/delete.py +++ b/delete.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Lloffiwr # Author: Shirayuki diff --git a/djvutext.py b/djvutext.py index b2a3515..1c83981 100644 --- a/djvutext.py +++ b/djvutext.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'djvutext-creating': u'Bot: Creating page with text extracted from DjVu', diff --git a/editarticle.py b/editarticle.py index 5a4e5f0..7419dd0 100644 --- a/editarticle.py +++ b/editarticle.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'editarticle-edit': u'Manual edit with bot: %(description)s', diff --git a/featured.py b/featured.py index 8e19ba7..88c6d10 100644 --- a/featured.py +++ b/featured.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'featured-featured': u'Bot: %(page)s is a featured article', diff --git a/fixing_redirects.py b/fixing_redirects.py index 756cd0f..ea5d353 100644 --- a/fixing_redirects.py +++ b/fixing_redirects.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'fixing_redirects-fixing': u'Bot: Fixing redirects', diff --git a/interwiki.py b/interwiki.py index d69951e..6c64646 100644 --- a/interwiki.py +++ b/interwiki.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'interwiki-adding': u'Bot: Adding %(adding)s', diff --git a/isbn.py b/isbn.py index 6af65be..44faa96 100644 --- a/isbn.py +++ b/isbn.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'isbn-formatting': u'Bot: Formatting ISBN', diff --git a/lonelypages.py b/lonelypages.py index c29d0ac..8f4500b 100644 --- a/lonelypages.py +++ b/lonelypages.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'lonelypages-comment-add-disambig-template': u'Bot: Adding a disambig page', diff --git a/makecat.py b/makecat.py index 197e3be..b751f08 100644 --- a/makecat.py +++ b/makecat.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'makecat-create': u'Bot: Creation or update of category [[:Category:%(cat)s|]]', diff --git a/misspelling.py b/misspelling.py index 3e7cea2..485cb20 100644 --- a/misspelling.py +++ b/misspelling.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'misspelling-fixing': u'Bot: Fixing misspelled link to %(page)s', diff --git a/movepages.py b/movepages.py index 00cdfe0..a4d05b8 100644 --- a/movepages.py +++ b/movepages.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'movepages-moving': u'Bot: Moved page', diff --git a/ndashredir.py b/ndashredir.py index b4d43c9..989e38f 100644 --- a/ndashredir.py +++ b/ndashredir.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Bináris 'en': { diff --git a/noreferences.py b/noreferences.py index 52b8ffb..0087fa7 100644 --- a/noreferences.py +++ b/noreferences.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'noreferences-add-tag': u'Bot: Adding missing <references /> tag', diff --git a/pagefromfile.py b/pagefromfile.py index 906eedb..e44e106 100644 --- a/pagefromfile.py +++ b/pagefromfile.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'pagefromfile-msg': u'Bot: Automated import of articles', diff --git a/protect.py b/protect.py index 1b48c68..2847e7e 100644 --- a/protect.py +++ b/protect.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'protect-category': u'Bot: Protecting all pages from category %(cat)s', diff --git a/pywikibot.py b/pywikibot.py index 5c7f75a..9cff3b8 100644 --- a/pywikibot.py +++ b/pywikibot.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'pywikibot-enter-category-name': u'Please enter the category name:', diff --git a/redirect.py b/redirect.py index 9887ebe..8f6bb1a 100644 --- a/redirect.py +++ b/redirect.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Xqt 'en': { diff --git a/reflinks.py b/reflinks.py index 935c429..d64f6b4 100644 --- a/reflinks.py +++ b/reflinks.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'reflinks-autogen': u'autogenerated', diff --git a/replace.py b/replace.py index b00e947..e3985b3 100644 --- a/replace.py +++ b/replace.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'replace-replacing': u'Bot: Automated text replacement %(description)s', diff --git a/revertbot.py b/revertbot.py index 50c753e..472146e 100644 --- a/revertbot.py +++ b/revertbot.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'revertbot-revert': u'Bot: Reverted to revision %(revid)s by %(author)s on %(timestamp)s', diff --git a/selflink.py b/selflink.py index 085d8a0..c001171 100644 --- a/selflink.py +++ b/selflink.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'selflink-remove': u'Bot: Removing selflinks', diff --git a/solve_disambiguation.py b/solve_disambiguation.py index 90d50e7..36f3436 100644 --- a/solve_disambiguation.py +++ b/solve_disambiguation.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'solve_disambiguation-adding-dn-template': u'Bot-assisted disambiguation: %(from)s - Marked as needing expert attention', diff --git a/spamremove.py b/spamremove.py index 60c5a23..50ef0b1 100644 --- a/spamremove.py +++ b/spamremove.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'spamremove-remove': u'Removing links to spamming site %(url)s', diff --git a/spellcheck.py b/spellcheck.py index 7c4390d..fdb9954 100644 --- a/spellcheck.py +++ b/spellcheck.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'spellcheck-checking': u'Bot-aided spell checker', diff --git a/table2wiki.py b/table2wiki.py index 7d3947d..a95b29f 100644 --- a/table2wiki.py +++ b/table2wiki.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Xqt 'en': { diff --git a/template.py b/template.py index 3e30b9e..3c7d8fc 100644 --- a/template.py +++ b/template.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'template-changing': u'Bot: Changing {{PLURAL:%(num)d|template|templates}}: %(list)s', diff --git a/thirdparty.py b/thirdparty.py index ae827e4..da629c7 100644 --- a/thirdparty.py +++ b/thirdparty.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: DrTrigon 'en': { diff --git a/undelete.py b/undelete.py index d95bb81..d1e6141 100644 --- a/undelete.py +++ b/undelete.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { # Author: Unicodesnowman 'en': { diff --git a/unlink.py b/unlink.py index 57a0171..9dcb2ee 100644 --- a/unlink.py +++ b/unlink.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'unlink-unlinking': u'Bot: Unlinking "%s"', diff --git a/unprotect.py b/unprotect.py index 5428491..31af3fd 100644 --- a/unprotect.py +++ b/unprotect.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'unprotect-category': u'Bot: Unprotecting all pages from category %(cat)s', diff --git a/weblinkchecker.py b/weblinkchecker.py index 9ba6c5c..f701f13 100644 --- a/weblinkchecker.py +++ b/weblinkchecker.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'weblinkchecker-archive_msg': u'The web page has been saved by the Internet Archive. Please consider linking to an appropriate archived version: [%(URL)s].', diff --git a/welcome.py b/welcome.py index 948d47a..2683f9e 100644 --- a/welcome.py +++ b/welcome.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'en': { 'welcome-bad_username': u'Bot: Adding a username that needs to be checked', diff --git a/wiktionary.py b/wiktionary.py index 2bfe31d..261bc67 100644 --- a/wiktionary.py +++ b/wiktionary.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +"""i18n message bundle.""" msg = { 'nl': { 'wiktionary-lang-translingual': u'Taalonafhankelijk',
pywikibot-commits@lists.wikimedia.org