[flake8] fix errors in cubicweb_i18ntestcube/views.py test file 3.26
authorDenis Laxalde <denis.laxalde@logilab.fr>
Fri, 08 Mar 2019 11:52:31 +0100
branch3.26
changeset 12487 76f7753e81a2
parent 12486 d189d10e2469
child 12488 3ad34ceee0c4
[flake8] fix errors in cubicweb_i18ntestcube/views.py test file
cubicweb/devtools/test/data/libpython/cubicweb_i18ntestcube/views.py
flake8-ok-files.txt
--- a/cubicweb/devtools/test/data/libpython/cubicweb_i18ntestcube/views.py	Fri Mar 08 11:50:20 2019 +0100
+++ b/cubicweb/devtools/test/data/libpython/cubicweb_i18ntestcube/views.py	Fri Mar 08 11:52:31 2019 +0100
@@ -21,9 +21,11 @@
 from cubicweb.web.views import primary, baseviews, uicfg
 from cubicweb.web.views.uicfg import autoform_section as afs
 
+
 class MyAFS(uicfg.AutoformSectionRelationTags):
     __select__ = is_instance('ForumThread')
 
+
 _myafs = MyAFS(__module__=__name__)
 
 _myafs.tag_object_of(('*', 'in_forum', 'Forum'), 'main', 'inlined')
@@ -57,5 +59,6 @@
         _('Last answered')
         _('This forum does not have any thread yet.')
 
+
 class ForumThreadPrimaryView(primary.PrimaryView):
     __select__ = primary.PrimaryView.__select__ & is_instance('ForumThread')
--- a/flake8-ok-files.txt	Fri Mar 08 11:50:20 2019 +0100
+++ b/flake8-ok-files.txt	Fri Mar 08 11:52:31 2019 +0100
@@ -13,6 +13,7 @@
 cubicweb/dataimport/test/test_stores.py
 cubicweb/dataimport/test/unittest_importer.py
 cubicweb/devtools/test/data/cubes/i18ntestcube/__init__.py
+cubicweb/devtools/test/data/cubes/i18ntestcube/views.py
 cubicweb/devtools/test/data/cubes/__init__.py
 cubicweb/devtools/test/data/schema.py
 cubicweb/devtools/testlib.py