jenkins-bot has submitted this change and it was merged.
Change subject: [bugfix] Solve flake8 F999 doctests ......................................................................
[bugfix] Solve flake8 F999 doctests
There where repeated keys in the same dictionary. The last key has been kept.
Bug: T144662 Bug: T115929 Change-Id: I607d162ad8c3bbfa634da776629f628c73e417cd --- M pywikibot/date.py M pywikibot/userinterfaces/transliteration.py 2 files changed, 4 insertions(+), 7 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved Xqt: Looks good to me, but someone else must approve jenkins-bot: Verified
diff --git a/pywikibot/date.py b/pywikibot/date.py index c3cb04c..23009fe 100644 --- a/pywikibot/date.py +++ b/pywikibot/date.py @@ -1112,7 +1112,6 @@ 'DecadeAD': { 'als': lambda v: dh_decAD(v, u'%der'), 'ar': lambda v: dh_decAD(v, u'%d عقد'), - 'ast': lambda v: dh_decAD(v, u'Años %d'), 'ang': lambda v: dh_decAD(v, u'%de'), 'ast': lambda v: dh_decAD(v, u'Años %d'), 'bg': lambda v: dh_decAD(v, u'%d-те'), @@ -1223,7 +1222,6 @@ lambda ii: (ii[1] - 1) * 100 + ii[0]), alwaysTrue)]), 'pt': lambda v: dh_decAD(v, u'Década de %d'), - 'ro': lambda v: dh_decAD(v, u'Anii %d'), 'ro': lambda m: multi(m, [ (lambda v: dh_constVal(v, 0, u'Primul deceniu d.Hr.'), lambda p: p == 0), @@ -1922,9 +1920,8 @@ 'ko': lambda v: dh_singVal(v, u'요즘 화제'), 'ksh': lambda v: dh_singVal(v, u'Et Neuste'), 'ku': lambda v: dh_singVal(v, u'Bûyerên rojane'), - 'la': lambda v: dh_singVal(v, u'Novissima'), - 'lb': lambda v: dh_singVal(v, u'Aktualitéit'), 'la': lambda v: dh_singVal(v, u"Nuntii"), + 'lb': lambda v: dh_singVal(v, u'Aktualitéit'), 'li': lambda v: dh_singVal(v, u"In 't nuujs"), 'mn': lambda v: dh_singVal(v, u'Мэдээ'), 'nl': lambda v: dh_singVal(v, u'In het nieuws'), diff --git a/pywikibot/userinterfaces/transliteration.py b/pywikibot/userinterfaces/transliteration.py index e1fac31..3d2ded4 100644 --- a/pywikibot/userinterfaces/transliteration.py +++ b/pywikibot/userinterfaces/transliteration.py @@ -296,18 +296,18 @@ u"І": u"I", u"і": u"i", u"Ї": u"Ji", u"ї": u"ji", u"Є": u"Je", u"є": u"je", u"Ґ": u"G", u"Ҝ": u"G", u"ґ": u"g", u"ҝ": u"g", u"Ђ": u"Dj", u"ђ": u"dj", - u"Ӣ": u"Y", u"ӣ": u"y", u"Љ": u"Lj", u"љ": u"lj", + "Љ": "Lj", "љ": "lj", u"Њ": u"Nj", u"њ": u"nj", u"Ћ": u"Cj", u"ћ": u"cj", u"Җ": u"Zhj", u"җ": u"zhj", u"Ѓ": u"Gj", u"ѓ": u"gj", u"Ќ": u"Kj", u"ќ": u"kj", u"Ӣ": u"Ii", u"ӣ": u"ii", - u"Ӯ": u"U", u"ӯ": u"u", u"Ҳ": u"H", u"ҳ": u"h", + "Ҳ": "H", "ҳ": "h", u"Ҷ": u"Dz", u"ҷ": u"dz", u"Ө": u"Ô", u"Ӫ": u"Ô", u"ө": u"ô", u"ӫ": u"ô", u"Ү": u"Y", u"ү": u"y", u"Һ": u"H", u"һ": u"h", u"Ә": u"AE", u"Ӕ": u"AE", u"ә": u"ae", u"Ӛ": u"Ë", u"Ӭ": u"Ë", u"ӛ": u"ë", u"ӭ": u"ë", u"Җ": u"Zhj", u"җ": u"zhj", u"Ұ": u"U", u"ұ": u"u", u"ў": u"ù", u"Ў": u"Ù", u"ѝ": u"ì", u"Ѝ": u"Ì", u"Ӑ": u"A", u"ă": u"a", u"Ӓ": u"Ä", - u"ҿ": u"ä", u"Ҽ": u"Ts", u"Ҿ": u"Ts", u"ҽ": u"ts", u"ҿ": u"ts", + "Ҽ": "Ts", "Ҿ": "Ts", "ҽ": "ts", "ҿ": "ts", u"Ҙ": u"Dh", u"ҙ": u"dh", u"Ӏ": u"", u"ӏ": u"", u"Ӆ": u"L", u"ӆ": u"l", u"Ӎ": u"M", u"ӎ": u"m", u"Ӧ": u"Ö", u"ӧ": u"ö", u"Ҩ": u"u", u"ҩ": u"u", u"Ҧ": u"Ph", u"ҧ": u"ph", u"Ҏ": u"R",
pywikibot-commits@lists.wikimedia.org