From 72a84d4099f2930979bd1ca1d9e441140b0a304d Mon Sep 17 00:00:00 2001 From: Marco Edward Gorelli Date: Sat, 27 Nov 2021 02:53:16 +0000 Subject: [PATCH] add missing f-string (#2650) --- src/black/handle_ipynb_magics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/black/handle_ipynb_magics.py b/src/black/handle_ipynb_magics.py index 5807dac..8ae9d2e 100644 --- a/src/black/handle_ipynb_magics.py +++ b/src/black/handle_ipynb_magics.py @@ -422,7 +422,7 @@ class MagicFinder(ast.NodeVisitor): src += f" {args[1]}" else: raise AssertionError( - "Unexpected IPython magic {node.value.func.attr!r} found. " + f"Unexpected IPython magic {node.value.func.attr!r} found. " "Please report a bug on https://github.com/psf/black/issues." ) from None self.magics[node.value.lineno].append( -- 2.39.5