From: Oleg Broytman Date: Mon, 20 Nov 2023 00:39:46 +0000 (+0300) Subject: Style: Fix `flake8` E501 line too long X-Git-Tag: 5.0.0~13 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3035a4957e210d7a6befcb224f237021b992d285;p=bookmarks_db.git Style: Fix `flake8` E501 line too long --- diff --git a/Robots/bkmk_robot_base.py b/Robots/bkmk_robot_base.py index 32f8c68..fd7237a 100644 --- a/Robots/bkmk_robot_base.py +++ b/Robots/bkmk_robot_base.py @@ -152,7 +152,8 @@ class robot_base(Robot): break content_stripped = content.strip() if content_stripped and is_html: - parser = parse_html(content_stripped, charset, self.log) + parser = parse_html( + content_stripped, charset, self.log) if charset: bookmark.charset = charset elif parser and parser.meta_charset: diff --git a/storage.py b/storage.py index 84c8dd5..75b424d 100644 --- a/storage.py +++ b/storage.py @@ -21,7 +21,8 @@ storage_name, storage_params = parse_params( def import_storage(storage_name): ns = locals() exec("from Storage import bkmk_st%s" % storage_name, globals(), ns) - exec("storage = bkmk_st%s.storage_%s" % (storage_name, storage_name), globals(), ns) + exec("storage = bkmk_st%s.storage_%s" % + (storage_name, storage_name), globals(), ns) return ns['storage'] diff --git a/writers.py b/writers.py index 50f74c5..217db79 100644 --- a/writers.py +++ b/writers.py @@ -20,7 +20,8 @@ writer_name, writer_params = parse_params(environ.get("BKMK_WRITER", "html")) def import_writer(writer_name): ns = locals() exec("from Writers import bkmk_w%s" % writer_name, globals(), ns) - exec("writer = bkmk_w%s.writer_%s" % (writer_name, writer_name), globals(), ns) + exec("writer = bkmk_w%s.writer_%s" % + (writer_name, writer_name), globals(), ns) return ns['writer']