[flake8] fix F401 imported but unused

Sun, 29 Mar 2020 06:04:36 +0000

author
Nsukami Patrick <ptrck at nskm dot xyz>
date
Sun, 29 Mar 2020 06:04:36 +0000
changeset 106
b315b6313793
parent 105
03e700f17fe3
child 107
b7358ecb7e31

[flake8] fix F401 imported but unused

cubicweb_mailinglist/views.py file | annotate | diff | comparison | revisions
test/unittest_mailinglist.py file | annotate | diff | comparison | revisions
tox.ini file | annotate | diff | comparison | revisions
--- a/cubicweb_mailinglist/views.py	Sun Mar 29 06:01:45 2020 +0000
+++ b/cubicweb_mailinglist/views.py	Sun Mar 29 06:04:36 2020 +0000
@@ -9,7 +9,7 @@
 from cubicweb.view import EntityView, EntityAdapter
 from cubicweb import tags
 from cubicweb.web import action
-from cubicweb.web.views import primary, baseviews, uicfg
+from cubicweb.web.views import primary, uicfg
 
 
 from cubicweb import _
--- a/test/unittest_mailinglist.py	Sun Mar 29 06:01:45 2020 +0000
+++ b/test/unittest_mailinglist.py	Sun Mar 29 06:04:36 2020 +0000
@@ -1,6 +1,6 @@
 from cubicweb.devtools.testlib import CubicWebTC
 
-from cubicweb.web.views import actions, massmailing
+from cubicweb.web.views import actions
 from cubicweb_mailinglist import views as mlactions
 
 
--- a/tox.ini	Sun Mar 29 06:01:45 2020 +0000
+++ b/tox.ini	Sun Mar 29 06:04:36 2020 +0000
@@ -22,4 +22,5 @@
   {envpython} -m check_manifest {toxinidir}
 
 [flake8]
+max-line-length = 120
 exclude = cubicweb_mailinglist/migration/*,test/data/*,.tox/*

mercurial