Skip to content

Commit

Permalink
add missing f-string (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Nov 27, 2021
1 parent e025308 commit 72a84d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/black/handle_ipynb_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def visit_Assign(self, node: ast.Assign) -> None:
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(
Expand Down

0 comments on commit 72a84d4

Please sign in to comment.