From: Marco Edward Gorelli Date: Sat, 27 Nov 2021 02:53:16 +0000 (+0000) Subject: add missing f-string (#2650) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/72a84d4099f2930979bd1ca1d9e441140b0a304d?hp=e0253080b0d2b61bf2105a2f5afdf5173e33d0e5 add missing f-string (#2650) --- 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(