Fix flake8 issues
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 29 Nov 2019 15:32:31 +0100
changeset 12782 ea8801f10a72
parent 12781 fda5efaf6937
child 12783 842939e69f3a
Fix flake8 issues cubicweb/server/sources/native.py:505: [E501] line too long (101 > 100 characters) cubicweb/pyramid/__init__.py:31: [E501] line too long (104 > 100 characters)
cubicweb/pyramid/__init__.py
cubicweb/server/sources/native.py
--- a/cubicweb/pyramid/__init__.py	Fri Nov 29 15:30:16 2019 +0100
+++ b/cubicweb/pyramid/__init__.py	Fri Nov 29 15:32:31 2019 +0100
@@ -28,7 +28,10 @@
 import wsgicors
 
 from cubicweb.cwconfig import CubicWebConfiguration as cwcfg
-from cubicweb.pyramid.debug_source_code import debug_display_source_code, DEBUG_DISPLAY_SOURCE_CODE_PATH
+from cubicweb.pyramid.debug_source_code import (
+    debug_display_source_code,
+    DEBUG_DISPLAY_SOURCE_CODE_PATH,
+)
 
 from pyramid.config import Configurator
 from pyramid.exceptions import ConfigurationError
--- a/cubicweb/server/sources/native.py	Fri Nov 29 15:30:16 2019 +0100
+++ b/cubicweb/server/sources/native.py	Fri Nov 29 15:32:31 2019 +0100
@@ -502,7 +502,8 @@
                 continue
         raise AuthenticationError()
 
-    def syntax_tree_search(self, cnx, union, args=None, cachekey=None, rql_query_tracing_token=None):
+    def syntax_tree_search(self, cnx, union, args=None, cachekey=None,
+                           rql_query_tracing_token=None):
         """return result from this source for a rql query (actually from
         a rql syntax tree and a solution dictionary mapping each used
         variable to a possible type). If cachekey is given, the query