[PATCH 45 of 52 Narval cube] [flake8] fix E501 line too long

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 11:34:45 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585731488 0
#      Wed Apr 01 08:58:08 2020 +0000
# Node ID 2ca121b113de94e352e4fb72560edcc2b6e4a00b
# Parent  edb8d6244d6afd1c323cc68a14b2fdceb15345ae
[flake8] fix E501 line too long

diff --git a/cubicweb_narval/__pkginfo__.py b/cubicweb_narval/__pkginfo__.py
--- a/cubicweb_narval/__pkginfo__.py
+++ b/cubicweb_narval/__pkginfo__.py
@@ -14,7 +14,14 @@
 description = 'the Narval agent'
 web = 'http://www.cubicweb.org/project/%s' % distname
 
-__depends__ = {'cubicweb': '>= 3.26.0', 'cubicweb-localperms': None, 'cubicweb-file': '>= 1.14', 'cubicweb-signedrequest': None, 'Pygments': None, 'requests': '>= 2.0.0'}
+__depends__ = {
+    'cubicweb': '>= 3.26.0',
+    'cubicweb-localperms': None,
+    'cubicweb-file': '>= 1.14',
+    'cubicweb-signedrequest': None,
+    'Pygments': None,
+    'requests': '>= 2.0.0'}
+
 __recommends__ = {}
 
 classifiers = [
diff --git a/cubicweb_narval/views/recipe.py b/cubicweb_narval/views/recipe.py
--- a/cubicweb_narval/views/recipe.py
+++ b/cubicweb_narval/views/recipe.py
@@ -90,9 +90,10 @@
     __regid__ = 'narval.recipe.plans_summary'
 
     columns = ['execution', 'starttime', 'duration']
-    column_renderers = {'execution': tableview.MainEntityColRenderer(),
-                        'starttime': tableview.EntityTableColRenderer(lambda w, p: w(p._cw.format_date(p.starttime, time=True))),
-                        'duration': tableview.EntityTableColRenderer(lambda w, p: w(str(p.duration)))}
+    column_renderers = {
+        'execution': tableview.MainEntityColRenderer(),
+        'starttime': tableview.EntityTableColRenderer(lambda w, p: w(p._cw.format_date(p.starttime, time=True))),
+        'duration': tableview.EntityTableColRenderer(lambda w, p: w(str(p.duration)))}
     html_headers = no_robot_index
 
     def call(self):




More information about the cubicweb-devel mailing list