[PATCH 12 of 16 Mailinglist cube] [flake8] fix F401 imported but unused

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:45:27 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585461876 0
#      Sun Mar 29 06:04:36 2020 +0000
# Node ID b315b6313793862634a81ca4240d52f91bb5b432
# Parent  03e700f17fe32f1e051782f2d9e14575a5a14c7f
[flake8] fix F401 imported but unused

diff --git a/cubicweb_mailinglist/views.py b/cubicweb_mailinglist/views.py
--- a/cubicweb_mailinglist/views.py
+++ b/cubicweb_mailinglist/views.py
@@ -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 _
diff --git a/test/unittest_mailinglist.py b/test/unittest_mailinglist.py
--- a/test/unittest_mailinglist.py
+++ b/test/unittest_mailinglist.py
@@ -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
 
 
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -22,4 +22,5 @@
   {envpython} -m check_manifest {toxinidir}
 
 [flake8]
+max-line-length = 120
 exclude = cubicweb_mailinglist/migration/*,test/data/*,.tox/*




More information about the cubicweb-devel mailing list