]> git.phdru.name Git - bookmarks_db.git/commitdiff
Style: Fix flake8 E305 expected 2 blank lines, found 1
authorOleg Broytman <phd@phdru.name>
Mon, 4 Sep 2023 17:00:36 +0000 (20:00 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 10:21:52 +0000 (13:21 +0300)
After class or function definition.

Robots/bkmk_rurllib.py
Writers/bkmk_whtml.py
check_url.py
parse_html/__main__.py
robots.py
storage.py
writers.py

index 3ef47eba975ac4d475306915ec862701d0f33c05..0045f2d9f428dae8a428bbdb021f65ff9c627483 100644 (file)
@@ -78,6 +78,7 @@ class myftpwrapper(urllib_ftpwrapper):
         global ftpcache_key
         ftpcache_key = (user, host, port, '/'.join(dirs))
 
+
 urllib.ftpwrapper = myftpwrapper
 
 
index eae6e5ff214db06491b2bc613be04b2bac0c0101..a9e46e872d3500f89c56b15950258395825de6ef 100644 (file)
@@ -20,6 +20,7 @@ def dump_comment(comment):
         comment = comment.replace("\n", "<BR>\n")
     return comment
 
+
 ind_s = " "*4
 
 
index 7b52c7002f2312a0ead0df92b168bc57a50d54f9..0d40ba9672e9c01a986c2cfcf0f9ce7bffb4a0d8 100755 (executable)
@@ -19,6 +19,7 @@ class MyHTTP(HTTP):
         HTTP._setup(self, conn)
         self.set_debuglevel(1)
 
+
 httplib.HTTP = MyHTTP
 
 from bkmk_objects import Bookmark
index 61e04e06c527196a13c139e3f8637e813ab13af8..34b891c1f66c1e47f03baf1c2e51d366c3b7fed3 100644 (file)
@@ -9,7 +9,7 @@ from .bkmk_parse_html import parse_filename
 
 
 __author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2014-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2014-2023 PhiloSoft Design"
 __license__ = "GNU GPL"
 
 
@@ -31,5 +31,6 @@ def main():
     print("   refresh:", parser.refresh)
     print("   icon   :", parser.icon)
 
+
 if __name__ == '__main__':
     main()
index 2527a0c2192e7700cd3ed31acd9337a7d31d35d8..84a3a2bcac5069158e5acd243629d5305c145b9b 100644 (file)
--- a/robots.py
+++ b/robots.py
@@ -22,5 +22,6 @@ def import_robot(robot_name):
     exec("robot = bkmk_r%s.robot_%s" % (robot_name, robot_name))
     return robot
 
+
 robot = import_robot(robot_name)
 set_params(robot, robot_params)
index 407fa24f1340c7ba5ea2eb1535b867ba0dbb6759..c61d24cad0bac4b4b4210669c3fb32b7d77eaa2f 100644 (file)
@@ -22,5 +22,6 @@ def import_storage(storage_name):
     exec("storage = bkmk_st%s.storage_%s" % (storage_name, storage_name))
     return storage
 
+
 storage = import_storage(storage_name)
 set_params(storage, storage_params)
index 3212e5a157d9c0fa2030a356a2bc5d3ffc535f1f..8d856704c96371581b917f41ac758b9741588a48 100644 (file)
@@ -22,5 +22,6 @@ def import_writer(writer_name):
     exec("writer = bkmk_w%s.writer_%s" % (writer_name, writer_name))
     return writer
 
+
 writer = import_writer(writer_name)
 set_params(writer, writer_params)