[PATCH 2 of 2] Fix/ignore two flake8 errors

Denis Laxalde denis.laxalde at logilab.fr
Fri Jun 1 17:06:03 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1527865342 -7200
#      Fri Jun 01 17:02:22 2018 +0200
# Node ID 81aab3f4497bef33e6c10e1288a799d73735260a
# Parent  5fc48027dec222fa6fccb0c3d3a9dba7caadae8f
# Available At http://hg.logilab.org/review/cubes/sentry
#              hg pull http://hg.logilab.org/review/cubes/sentry -r 81aab3f4497b
# EXP-Topic py3
Fix/ignore two flake8 errors

diff --git a/ccplugin.py b/ccplugin.py
--- a/ccplugin.py
+++ b/ccplugin.py
@@ -41,6 +41,7 @@ def sentry_main_run(self, args, rcfile=N
                     logger.critical(msg)
         raise
 
+
 if HAS_PYRAMID:
     @monkeypatch(PyramidStartHandler, 'get_wsgi_app')
     def get_wsgi_app(self, cwconfig):
diff --git a/site_cubicweb.py b/site_cubicweb.py
--- a/site_cubicweb.py
+++ b/site_cubicweb.py
@@ -19,7 +19,7 @@ options = (
      {'type': 'choice',
       'choices': ('error', 'critical'),
       'default': None,
-      'help': 'emit Sentry event when logging exception with choosen log level (disabled by default)',
+      'help': 'emit Sentry event when logging exception with choosen log level (disabled by default)',  # noqa: E501
       'group': 'sentry',
       'level': 5,
       }


More information about the cubicweb-devel mailing list