Skip to content

Commit e91e97b

Browse files
committed
style: wrap long line in PointCloud2.__getstate__ for linter
1 parent 9a9a186 commit e91e97b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dimos/msgs/sensor_msgs/PointCloud2.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,11 @@ def __getstate__(self) -> dict[str, object]:
101101
del state["_pcd_tensor"]
102102
state["_pcd_legacy_cache"] = None
103103
# Remove cached_property values that hold unpicklable Open3D objects
104-
for key in ("axis_aligned_bounding_box", "oriented_bounding_box", "bounding_box_dimensions"):
104+
for key in (
105+
"axis_aligned_bounding_box",
106+
"oriented_bounding_box",
107+
"bounding_box_dimensions",
108+
):
105109
state.pop(key, None)
106110
return state
107111

0 commit comments

Comments
 (0)