From: Oleg Broytman Date: Sat, 2 Sep 2023 22:02:46 +0000 (+0300) Subject: Style: Silent flake8 E227 missing whitespace around bitwise or shift operator X-Git-Tag: 5.0.0~89 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=c479f67d72a9242909268fb75b77b1c024457c88;p=bookmarks_db.git Style: Silent flake8 E227 missing whitespace around bitwise or shift operator --- diff --git a/parse_html/bkmk_ph_beautifulsoup.py b/parse_html/bkmk_ph_beautifulsoup.py index f796744..99cff4f 100644 --- a/parse_html/bkmk_ph_beautifulsoup.py +++ b/parse_html/bkmk_ph_beautifulsoup.py @@ -5,7 +5,7 @@ This file is a part of Bookmarks database and Internet robot. """ __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2007-2017 PhiloSoft Design" +__copyright__ = "Copyright (C) 2007-2023 PhiloSoft Design" __license__ = "GNU GPL" __all__ = ['parse_html'] @@ -37,7 +37,10 @@ class BadDeclParser(BeautifulSoup): except SGMLParseError: # Could not parse the DOCTYPE declaration # Try to just skip the actual declaration - match = re.search(r']*?)>', self.rawdata[i:], re.MULTILINE|re.IGNORECASE) + match = re.search( + r']*?)>', self.rawdata[i:], + re.MULTILINE|re.IGNORECASE) # noqa: E227 + # missing whitespace around bitwise or shift operator if match: toHandle = self.rawdata[i:match.end()] else: