Skip to content

Commit dc658bb

Browse files
Apply ruff/flake8-bugbear rule B028
B028 No explicit `stacklevel` keyword argument found
1 parent c2d517d commit dc658bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numcodecs/zarr3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def __init__(self, **codec_config: JSON) -> None:
9595
"Numcodecs codecs are not in the Zarr version 3 specification and "
9696
"may not be supported by other zarr implementations.",
9797
category=UserWarning,
98+
stacklevel=2,
9899
)
99100

100101
@cached_property

0 commit comments

Comments
 (0)