jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/800932 )
Change subject: [IMPR] solve W505 doc line too long (85 > 80 characters) ......................................................................
[IMPR] solve W505 doc line too long (85 > 80 characters)
Change-Id: Iaba5d99ccf0c6b8cef397bc2c50faf957edd1db0 --- M scripts/dataextend.py 1 file changed, 2 insertions(+), 4 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/dataextend.py b/scripts/dataextend.py index 5792aee..313a6b6 100644 --- a/scripts/dataextend.py +++ b/scripts/dataextend.py @@ -10350,7 +10350,8 @@ if self.isperson: self.urlbase = 'https://enciclopedia.itaucultural.org.br/%7Bid%7D' else: - # Analyzer only created for persons, for works and possible other it can be extended later + # Analyzer only created for persons, + # for works and possible other it can be extended later self.urlbase = None self.hrtre = r'<h1[^<>]*>\s*Outras informações.*?<div class="section_content">(.*?)</section>' self.language = 'pt' @@ -13428,9 +13429,6 @@ return [self.findbyre(r'<b>(.*?)<', html)] + \ self.findallbyre(r'<FONT[^<>]*>(.*?)<', html)
- # def findlanguagesspoken(self, html): - # return self.findallbyre(r'<span class=LI>([^<>]*) - ', html, 'language') - def findmixedrefs(self, html): return self.finddefaultmixedrefs(html, includesocial=False)
pywikibot-commits@lists.wikimedia.org