[PATCH 09 of 18 Nosylist cube] [autopep8] E26 - Fix spacing after comment hash for inline comments

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


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560419489 0
#      Thu Jun 13 09:51:29 2019 +0000
# Node ID 2bedf9676536907668305e35a6340aeeda988472
# Parent  666b6dfb1b02920ca6198ee0eb20067a09c17798
[autopep8] E26 - Fix spacing after comment hash for inline comments

diff --git a/cubicweb_nosylist/ccplugin.py b/cubicweb_nosylist/ccplugin.py
--- a/cubicweb_nosylist/ccplugin.py
+++ b/cubicweb_nosylist/ccplugin.py
@@ -66,7 +66,7 @@
             warn('nothing to analyze')
             return
         # get propagation rules
-        from cubicweb_nosylist.hooks import S_RELS, O_RELS # local import necessary
+        from cubicweb_nosylist.hooks import S_RELS, O_RELS  # local import necessary
         edges = analyzer.prop_edges(S_RELS, O_RELS, eschemas)
         # detect pbs
         problematic = analyzer.detect_problems(eschemas, edges)
diff --git a/cubicweb_nosylist/sobjects.py b/cubicweb_nosylist/sobjects.py
--- a/cubicweb_nosylist/sobjects.py
+++ b/cubicweb_nosylist/sobjects.py
@@ -22,4 +22,4 @@
             'Any U,E,A WHERE X nosy_list U, X eid %(e)s, U in_state S, '
             'S name "activated", U primary_email E, E address A',
             {'e': entity.eid},)
-        return list(rset.entities()) # we don't want an iterator but a list
+        return list(rset.entities())  # we don't want an iterator but a list



More information about the cubicweb-devel mailing list