Skip to content

Commit 6e06d4b

Browse files
Ignore ruff/Pylint rule PLR1714
PLR1714 Consider merging multiple comparisons
1 parent c40d55d commit 6e06d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/core/dtype/npy/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def check_json_float_v2(data: JSON) -> TypeGuard[JSONFloatV2]:
384384
Bool
385385
True if the data is a float, False otherwise.
386386
"""
387-
if data == "NaN" or data == "Infinity" or data == "-Infinity":
387+
if data == "NaN" or data == "Infinity" or data == "-Infinity": # noqa: PLR1714
388388
return True
389389
return isinstance(data, float | int)
390390

0 commit comments

Comments
 (0)