Skip to content

Commit 5f0f62a

Browse files
Apply ruff/flake8-return rule RET501
RET501 Do not explicitly `return None` in function if it is the only possible return value
1 parent 692593b commit 5f0f62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/abc/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async def _set_many(self, values: Iterable[tuple[str, Buffer]]) -> None:
170170
Insert multiple (key, value) pairs into storage.
171171
"""
172172
await gather(*(self.set(key, value) for key, value in values))
173-
return None
173+
return
174174

175175
@property
176176
@abstractmethod

0 commit comments

Comments
 (0)