[PATCH 15 of 18 Nosylist cube] [autopep8] E402 - Fix module level import not at top of file

Nsukami Patrick ndkpatt at gmail.com
Thu Jun 13 12:02:13 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 212c7211b4d663f01c832c8e8f3dae099d2d6e9e
# Parent  110fb256438eebd4746522437f3d0fb9361ed978
[autopep8] E402 - Fix module level import not at top of file

diff --git a/cubicweb_nosylist/views.py b/cubicweb_nosylist/views.py
--- a/cubicweb_nosylist/views.py
+++ b/cubicweb_nosylist/views.py
@@ -6,22 +6,22 @@
 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
 """
 __docformat__ = "restructuredtext en"
-_ = unicode
-
-from logilab.common.registry import objectify_predicate
-from logilab.common.decorators import monkeypatch
-from logilab.mtconverter import xml_escape
-
-from cubicweb import tags, utils
+from cubicweb.web.views.ajaxcontroller import ajaxfunc
+from cubicweb.web.views import basecontrollers, forms, uicfg
+from cubicweb.web import formfields as ff, formwidgets as fw
+from cubicweb.web import component, action, stdmsgs
+from cubicweb.view import EntityView, StartupView
 from cubicweb.predicates import (relation_possible, authenticated_user,
                                  is_instance, one_line_rset,
                                  match_user_groups, logged_user_in_rset,
                                  match_kwargs)
-from cubicweb.view import EntityView, StartupView
-from cubicweb.web import component, action, stdmsgs
-from cubicweb.web import formfields as ff, formwidgets as fw
-from cubicweb.web.views import basecontrollers, forms, uicfg
-from cubicweb.web.views.ajaxcontroller import ajaxfunc
+from cubicweb import tags, utils
+from logilab.mtconverter import xml_escape
+from logilab.common.decorators import monkeypatch
+from logilab.common.registry import objectify_predicate
+_ = unicode
+
+
 
 
 _pvs = uicfg.primaryview_section



More information about the cubicweb-devel mailing list