Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Golodkov committed Sep 5, 2024
1 parent 928a8c8 commit 9fc83b8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dedocutils/data_structures/bbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ def shift_bbox(bbox: "BBox", shift_x: int, shift_y: int) -> "BBox":
:param shift_x: x coordinate offset
:param shift_y: y coordinate offset
"""
return BBox(x_top_left=bbox.x_top_left + shift_x,
y_top_left=bbox.y_top_left + shift_y,
width=bbox.width,
height=bbox.height)
return BBox(x_top_left=bbox.x_top_left + shift_x, y_top_left=bbox.y_top_left + shift_y, width=bbox.width, height=bbox.height)

def rotate_coordinates(self, angle_rotate: float, image_shape: Tuple[int]) -> None:
xb, yb = self.x_top_left, self.y_top_left
Expand Down

0 comments on commit 9fc83b8

Please sign in to comment.