From bda1306749c62ef4f11cfe567ed7d56c8ad94240 Mon Sep 17 00:00:00 2001
From: Michael Merickel <github@m.merickel.org>
Date: Mon, 15 Oct 2018 16:56:42 +0200
Subject: [PATCH] Merge pull request #3388 from mmerickel/black

---
 tests/test_config/pkgs/scannable/another.py |   44 +++++++++++++++++++++++++++++---------------
 1 files changed, 29 insertions(+), 15 deletions(-)

diff --git a/tests/test_config/pkgs/scannable/another.py b/tests/test_config/pkgs/scannable/another.py
index 529821b..e8b71e5 100644
--- a/tests/test_config/pkgs/scannable/another.py
+++ b/tests/test_config/pkgs/scannable/another.py
@@ -1,18 +1,22 @@
 from pyramid.view import view_config
 from pyramid.renderers import null_renderer
 
+
 @view_config(name='another', renderer=null_renderer)
 def grokked(context, request):
     return 'another_grokked'
+
 
 @view_config(request_method='POST', name='another', renderer=null_renderer)
 def grokked_post(context, request):
     return 'another_grokked_post'
 
+
 @view_config(name='another_stacked2', renderer=null_renderer)
 @view_config(name='another_stacked1', renderer=null_renderer)
 def stacked(context, request):
     return 'another_stacked'
+
 
 class stacked_class(object):
     def __init__(self, context, request):
@@ -22,10 +26,14 @@
     def __call__(self):
         return 'another_stacked_class'
 
-stacked_class = view_config(name='another_stacked_class1',
-                            renderer=null_renderer)(stacked_class)
-stacked_class = view_config(name='another_stacked_class2',
-                            renderer=null_renderer)(stacked_class)
+
+stacked_class = view_config(
+    name='another_stacked_class1', renderer=null_renderer
+)(stacked_class)
+stacked_class = view_config(
+    name='another_stacked_class2', renderer=null_renderer
+)(stacked_class)
+
 
 class oldstyle_grokked_class:
     def __init__(self, context, request):
@@ -34,10 +42,12 @@
 
     def __call__(self):
         return 'another_oldstyle_grokked_class'
-    
-oldstyle_grokked_class = view_config(name='another_oldstyle_grokked_class',
-                                     renderer=null_renderer)(
-    oldstyle_grokked_class)
+
+
+oldstyle_grokked_class = view_config(
+    name='another_oldstyle_grokked_class', renderer=null_renderer
+)(oldstyle_grokked_class)
+
 
 class grokked_class(object):
     def __init__(self, context, request):
@@ -46,24 +56,28 @@
 
     def __call__(self):
         return 'another_grokked_class'
-        
-grokked_class = view_config(name='another_grokked_class',
-                            renderer=null_renderer)(grokked_class)
+
+
+grokked_class = view_config(
+    name='another_grokked_class', renderer=null_renderer
+)(grokked_class)
+
 
 class Foo(object):
     def __call__(self, context, request):
         return 'another_grokked_instance'
 
+
 grokked_instance = Foo()
-grokked_instance = view_config(name='another_grokked_instance',
-                               renderer=null_renderer)(
-    grokked_instance)
+grokked_instance = view_config(
+    name='another_grokked_instance', renderer=null_renderer
+)(grokked_instance)
 
 # ungrokkable
 
 A = 1
 B = {}
 
+
 def stuff():
     """ """
-    

--
Gitblit v1.9.3