applied black

This commit is contained in:
Matthias Bisping 2022-04-05 19:35:36 +02:00
parent 64e3350dee
commit 315679468b

View File

@ -58,7 +58,7 @@ class BoxSplitter:
new_boxes = splitter(box) new_boxes = splitter(box)
return new_boxes return new_boxes
def __tree_recurse(self, boxes, step): def __tree_recurse(self, boxes, step)
return map(rpartial(self.__split_recursively, step + 1), boxes) return map(rpartial(self.__split_recursively, step + 1), boxes)
def __split_horizontal(self, box): def __split_horizontal(self, box):
@ -88,4 +88,4 @@ class BoxSplitter:
box_left["c2"] = split_point box_left["c2"] = split_point
box_right["c1"] = split_point box_right["c1"] = split_point
return box_left.box, box_right.box return box_left.box, box_right.box