Skip to content

Commit cafb5ac

Browse files
Apply ruff rule RUF027
Possible f-string without an `f` prefix
1 parent 648a0d4 commit cafb5ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blosc2/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ def _convert_dtype(dt: str | DTypeLike):
586586
except TypeError: # likely passed e.g. a torch.float64
587587
return np.dtype(str(dt).split(".")[1])
588588
except Exception as e:
589-
raise TypeError("Could not parse dtype arg {dt}.") from e
589+
raise TypeError(f"Could not parse dtype arg {dt}.") from e
590590

591591

592592
class SimpleProxy(blosc2.Operand):

0 commit comments

Comments
 (0)