]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Linting 572/head
authorTom Christie <tom@tomchristie.com>
Tue, 9 Jul 2019 13:49:47 +0000 (14:49 +0100)
committerTom Christie <tom@tomchristie.com>
Tue, 9 Jul 2019 13:49:47 +0000 (14:49 +0100)
starlette/middleware/errors.py

index f06b705b8e2d9f2b4e1c3549561c7d842fda1d56..9c9005c28ed40c1b83a822f57cbadf4cbc78ff14 100644 (file)
@@ -188,7 +188,9 @@ class ServerErrorMiddleware:
             return LINE.format(**values)
         return CENTER_LINE.format(**values)
 
-    def generate_frame_html(self, frame: inspect.FrameInfo, center_lineno: int, is_collapsed: bool) -> str:
+    def generate_frame_html(
+        self, frame: inspect.FrameInfo, center_lineno: int, is_collapsed: bool
+    ) -> str:
         code_context = "".join(
             self.format_line(context_position, line, frame.lineno, center_lineno)
             for context_position, line in enumerate(frame.code_context)