Skip to content

Commit 2681f1c

Browse files
Aplly ruff/flake8-implicit-str-concat rule ISC003
ISC003 Explicitly concatenated string should be implicitly concatenated
1 parent 740b43a commit 2681f1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

zarr/_storage/store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ def set_partial_values(self, key_start_values):
360360
if start > len(values[key]): # pragma: no cover
361361
raise ValueError(
362362
f"Cannot set value at start {start}, "
363-
+ f"since it is beyond the data at key {key}, "
364-
+ f"having length {len(values[key])}."
363+
f"since it is beyond the data at key {key}, "
364+
f"having length {len(values[key])}."
365365
)
366366
if start < 0:
367367
values[key][start:] = value
@@ -429,7 +429,7 @@ def __init__(self, _type) -> None:
429429
if _type not in self.valid_types: # pragma: no cover
430430
raise ValueError(
431431
f"Storage transformer cannot be initialized with type {_type}, "
432-
+ f"must be one of {list(self.valid_types)}."
432+
f"must be one of {list(self.valid_types)}."
433433
)
434434
self.type = _type
435435
self._inner_store = None

0 commit comments

Comments
 (0)