Skip to content

Commit fd2aca1

Browse files
Apply ruff rule RUF027
Possible f-string without an `f` prefix
1 parent 79d0301 commit fd2aca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)