[PATCH 14 of 18 Nosylist cube] [autopep8] E305 - Expected 2 blank lines after end of function or class

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


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560419492 0
#      Thu Jun 13 09:51:32 2019 +0000
# Node ID 110fb256438eebd4746522437f3d0fb9361ed978
# Parent  537ffe54daa215220585905a247df6b17b09a44a
[autopep8] E305 - Expected 2 blank lines after end of function or class

diff --git a/cubicweb_nosylist/ccplugin.py b/cubicweb_nosylist/ccplugin.py
--- a/cubicweb_nosylist/ccplugin.py
+++ b/cubicweb_nosylist/ccplugin.py
@@ -78,5 +78,6 @@
             graph.layout(prog='dot')
             graph.draw(self.config.graph)
 
+
 if register_command:
     CWCTL.register(CheckNosyListCommand)
diff --git a/cubicweb_nosylist/hooks.py b/cubicweb_nosylist/hooks.py
--- a/cubicweb_nosylist/hooks.py
+++ b/cubicweb_nosylist/hooks.py
@@ -59,6 +59,7 @@
     subject_relations = S_RELS
     object_relations = O_RELS
 
+
 # relations where the "main" entity is the subject/object that should be skipped
 # when propagating to entities linked through some particular relation
 SKIP_S_RELS = set()
diff --git a/test/unittest_nosylist.py b/test/unittest_nosylist.py
--- a/test/unittest_nosylist.py
+++ b/test/unittest_nosylist.py
@@ -42,6 +42,7 @@
             rset = cnx.execute(rql)
             self.assertEqual(len(rset), 0)
 
+
 if __name__ == '__main__':
     import unittest
     unittest.main()



More information about the cubicweb-devel mailing list