Skip to content

Commit d95c9b7

Browse files
Apply ruff/flake8-simplify rule SIM105
SIM105 Use `contextlib.suppress(KeyError)` instead of `try`-`except`-`pass`
1 parent ae4e573 commit d95c9b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/zarr/storage/memory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from __future__ import annotations
22

3+
import contextlib
34
from logging import getLogger
45
from typing import TYPE_CHECKING, Self
56

0 commit comments

Comments
 (0)