Skip to content

Commit a571b78

Browse files
committed
Fix pep8 f-string error
1 parent b025009 commit a571b78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytorch_lightning/metrics/functional/classification.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,8 +838,8 @@ def auc(
838838
direction = -1.
839839
else:
840840
# TODO: Update message on removing reorder
841-
raise ValueError(f"Reorder is not turned on, and the 'x' array is"
842-
" neither increasing or decreasing: {x}")
841+
raise ValueError("Reorder is not turned on, and the 'x' array is"
842+
f" neither increasing or decreasing: {x}")
843843

844844
return direction * torch.trapz(y, x)
845845

0 commit comments

Comments
 (0)