add missing f-string (#2650)
This commit is contained in:
parent
e0253080b0
commit
72a84d4099
@ -422,7 +422,7 @@ def visit_Assign(self, node: ast.Assign) -> None:
|
|||||||
src += f" {args[1]}"
|
src += f" {args[1]}"
|
||||||
else:
|
else:
|
||||||
raise AssertionError(
|
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."
|
"Please report a bug on https://github.com/psf/black/issues."
|
||||||
) from None
|
) from None
|
||||||
self.magics[node.value.lineno].append(
|
self.magics[node.value.lineno].append(
|
||||||
|
Loading…
Reference in New Issue
Block a user