[autopep8] E302 - Add missing 2 blank lines

Sun, 29 Mar 2020 06:01:43 +0000

author
Nsukami Patrick <ptrck at nskm dot xyz>
date
Sun, 29 Mar 2020 06:01:43 +0000
changeset 103
8a7a0f14e617
parent 102
c8efb573582e
child 104
97317dc89282

[autopep8] E302 - Add missing 2 blank lines

cubicweb_mailinglist/entities.py file | annotate | diff | comparison | revisions
cubicweb_mailinglist/schema.py file | annotate | diff | comparison | revisions
cubicweb_mailinglist/views.py file | annotate | diff | comparison | revisions
test/test_mailinglist.py file | annotate | diff | comparison | revisions
test/unittest_mailinglist.py file | annotate | diff | comparison | revisions
--- a/cubicweb_mailinglist/entities.py	Sun Mar 29 06:01:42 2020 +0000
+++ b/cubicweb_mailinglist/entities.py	Sun Mar 29 06:01:43 2020 +0000
@@ -8,6 +8,7 @@
 
 from cubicweb.entities import AnyEntity, fetch_config
 
+
 class MailingList(AnyEntity):
     """customized class for MailingList entities"""
     __regid__ = 'MailingList'
--- a/cubicweb_mailinglist/schema.py	Sun Mar 29 06:01:42 2020 +0000
+++ b/cubicweb_mailinglist/schema.py	Sun Mar 29 06:01:43 2020 +0000
@@ -3,6 +3,7 @@
 
 from cubicweb import _
 
+
 class MailingList(EntityType):
     __permissions__ = {
         'read': ('managers', 'users', 'guests'),
--- a/cubicweb_mailinglist/views.py	Sun Mar 29 06:01:42 2020 +0000
+++ b/cubicweb_mailinglist/views.py	Sun Mar 29 06:01:43 2020 +0000
@@ -18,6 +18,7 @@
 for attr in ('name', 'homepage', 'archive', 'mlid', 'email_address'):
     uicfg.primaryview_section.tag_attribute(('MailingList', attr), 'hidden')
 
+
 class MLPrimaryView(primary.PrimaryView):
     __select__ = is_instance('MailingList')
     show_attr_label = False
@@ -85,6 +86,7 @@
     def isioc_items(self):
         return self.reverse_sent_on
 
+
 def registration_callback(vreg):
     vreg.register_all(globals().values(), __name__, (MLISIOCContainerAdapter,))
     if 'sent_on' in vreg.schema['MailingList'].object_relations():
--- a/test/test_mailinglist.py	Sun Mar 29 06:01:42 2020 +0000
+++ b/test/test_mailinglist.py	Sun Mar 29 06:01:43 2020 +0000
@@ -1,6 +1,7 @@
 import unittest
 from cubicweb.devtools.testlib import AutomaticWebTest
 
+
 class AutomaticWebTest(AutomaticWebTest):
 
     def to_test_etypes(self):
--- a/test/unittest_mailinglist.py	Sun Mar 29 06:01:42 2020 +0000
+++ b/test/unittest_mailinglist.py	Sun Mar 29 06:01:43 2020 +0000
@@ -3,6 +3,7 @@
 from cubicweb.web.views import actions, massmailing
 from cubicweb_mailinglist import views as mlactions
 
+
 class MailingListTC(CubicWebTC):
     def test_possible_actions(self):
         with self.admin_access.web_request() as req:

mercurial