[autopep8] E402 - Fix module level import not at top of file
authorNoe Gaumont <ngaumont@logilab.fr>
Fri, 21 Jun 2019 11:19:07 +0200
changeset 64 c98809729366
parent 63 f7dc6e080aa6
child 65 08349d11c828
[autopep8] E402 - Fix module level import not at top of file
cubicweb_treeview/views/formwidgets.py
cubicweb_treeview/views/treeview.py
--- a/cubicweb_treeview/views/formwidgets.py	Fri Jun 21 11:19:07 2019 +0200
+++ b/cubicweb_treeview/views/formwidgets.py	Fri Jun 21 11:19:07 2019 +0200
@@ -18,12 +18,12 @@
 """
 
 __docformat__ = "restructuredtext en"
+from cubicweb.web import formwidgets as fwdgs
+from cubicweb import tags
+from logilab.mtconverter import xml_escape
 _ = unicode
 
-from logilab.mtconverter import xml_escape
 
-from cubicweb import tags
-from cubicweb.web import formwidgets as fwdgs
 
 
 class TreeViewWidget(fwdgs.FieldWidget):
--- a/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:07 2019 +0200
+++ b/cubicweb_treeview/views/treeview.py	Fri Jun 21 11:19:07 2019 +0200
@@ -17,15 +17,15 @@
 """
 
 __docformat__ = "restructuredtext en"
+from cubicweb.uilib import cut
+from cubicweb.web.views import baseviews, treeview
+from cubicweb.predicates import is_instance, match_kwargs, adaptable
+from logilab.mtconverter import xml_escape
+import json
 _ = unicode
 
-import json
-
-from logilab.mtconverter import xml_escape
 
-from cubicweb.predicates import is_instance, match_kwargs, adaptable
-from cubicweb.web.views import baseviews, treeview
-from cubicweb.uilib import cut
+
 
 
 class TVTreeViewItemView(treeview.TreeViewItemView):