From ee2ff649a359b18dd12a12034834760ed0cc8f8e Mon Sep 17 00:00:00 2001 From: Xqt Date: Mon, 29 Nov 2021 20:01:37 +0000 Subject: [PATCH] Revert "[flake8] Ignore bugbear B18 false possitives" This reverts commit 48d6024f29fab1670824bc17413b4ca1cfc29a03. Reason for revert: solved upstream Change-Id: I71d4952f8d9ec078784ee14d1a7f1392b43a34a1 --- pywikibot/families/wikihow_family.py | 2 +- pywikibot/family.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pywikibot/families/wikihow_family.py b/pywikibot/families/wikihow_family.py index 01dfbbdda9..38d3ab4f79 100644 --- a/pywikibot/families/wikihow_family.py +++ b/pywikibot/families/wikihow_family.py @@ -29,7 +29,7 @@ class Family(family.SubdomainFamily): removed_wikis = ['ca', 'cy', 'fa', 'he', 'pl', 'ur'] title_delimiter_and_aliases = '- ' - """.. versionadded:: 7.0""" # noqa: B018 + """.. versionadded:: 7.0""" @classproperty def domains(cls): diff --git a/pywikibot/family.py b/pywikibot/family.py index ac8f68248d..6d515bc0b5 100644 --- a/pywikibot/family.py +++ b/pywikibot/family.py @@ -555,7 +555,7 @@ def instance(cls): escape sequence if necessary .. versionadded:: 7.0 - """ # noqa: B018 + """ _families = {}