Skip to content

Commit 822db05

Browse files
committed
Escape TRY300 / RET505 loop
1 parent 6fca518 commit 822db05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tilebox-datasets/tilebox/datasets/protobuf_conversion/to_protobuf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _is_scalar_missing(value: Any) -> bool:
129129
# pd.isna returns an array for array-like inputs; we only want scalar True/False
130130
if isinstance(result, (bool, np.bool_)):
131131
return bool(result)
132-
return False
132+
return False # noqa: TRY300
133133
except (TypeError, ValueError):
134134
return False
135135

0 commit comments

Comments
 (0)