[PATCH 03 of 18 Nosylist cube] [autopep8] E123 - Align closing bracket to match opening bracket

Nsukami Patrick ndkpatt at gmail.com
Thu Jun 13 12:02:01 CEST 2019


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560419484 0
#      Thu Jun 13 09:51:24 2019 +0000
# Node ID 5b406bd77dda4eba7226acaf27b7a887b009b087
# Parent  b71dbf22324a2fa2328ce4dc6c16f9a2bf389172
[autopep8] E123 - Align closing bracket to match opening bracket

diff --git a/cubicweb_nosylist/ccplugin.py b/cubicweb_nosylist/ccplugin.py
--- a/cubicweb_nosylist/ccplugin.py
+++ b/cubicweb_nosylist/ccplugin.py
@@ -51,7 +51,7 @@
           'default': None,
           'help': 'draw propagation graph in the given file. Require pygraphviz installed',
           }),
-        )
+    )
 
     def run(self, args):
         """run the command with its specific arguments"""
diff --git a/cubicweb_nosylist/schema.py b/cubicweb_nosylist/schema.py
--- a/cubicweb_nosylist/schema.py
+++ b/cubicweb_nosylist/schema.py
@@ -15,7 +15,7 @@
         'read':   ('managers', 'users'),
         'add':    ('managers', RRQLExpression('U has_update_permission S', 'S'),),
         'delete': ('managers', RRQLExpression('U has_update_permission S', 'S'),),
-        }
+    }
     subject = 'CWUser'
 
 class nosy_list(RelationType):
@@ -26,5 +26,5 @@
         # we need to delete it from the ui (for instance to unregister from a
         # ticket when user is interested in a project)
         'delete': ('managers', RRQLExpression('U has_update_permission O', 'O')),
-        }
+    }
     object = 'CWUser'
diff --git a/cubicweb_nosylist/views.py b/cubicweb_nosylist/views.py
--- a/cubicweb_nosylist/views.py
+++ b/cubicweb_nosylist/views.py
@@ -79,7 +79,7 @@
            'title="%s" data-eid="%s">%s</a>' % (
                xml_escape(url), xml_escape(icon), xml_escape(btn_style),
             xml_escape(title), entity.eid, xml_escape(text),
-               ))
+           ))
 
 def has_user_interest(cnx, user, entity):
     """return true if the user is currently interested in the entity"""



More information about the cubicweb-devel mailing list