]> git.phdru.name Git - bookmarks_db.git/commitdiff
Style: Silent flake8 E221 multiple spaces before operator
authorOleg Broytman <phd@phdru.name>
Sat, 2 Sep 2023 21:42:52 +0000 (00:42 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 10:15:32 +0000 (13:15 +0300)
Here I prefer to align multiple assignments.

Robots/bkmk_robot_base.py

index 24bc4de92cf30cb8eb5709759e77a16a18706a67..395d4f8d6981a3a17e50bbe11986e8c30a325ac2 100644 (file)
@@ -64,7 +64,8 @@ class robot_base(Robot):
 
             url_type, url_rest = urllib.splittype(bookmark.href)
             url_host, url_path = urllib.splithost(url_rest)
-            url_path, url_tag  = urllib.splittag(url_path)
+            url_path, url_tag  = urllib.splittag(url_path)  # noqa: E221
+            #                            multiple spaces before operator
 
             url = "%s://%s%s" % (url_type, url_host, url_path)
             error, redirect_code, redirect_to, headers, content = self.get(bookmark, url, True)