- self.position = of["position"] if of and "position" in of else Hex(0,0,0)
- self.layout = of["layout"] if of and "layout" in of else Layout(Hexagon.layout_flat, Point(1,1), Point(0,0))
- self.spiralRadiusProfile = of["spiralRadiusProfile"] if of and "spiralRadiusProfile" in of else SpiralRadiusProfile()
+ self.position = of["position"] if of and "position" in of else Hex(0, 0, 0)
+ self.layout = (
+ of["layout"]
+ if of and "layout" in of
+ else Layout(Hexagon.layout_flat, Point(1, 1), Point(0, 0))
+ )
+ self.spiralRadiusProfile = (
+ of["spiralRadiusProfile"]
+ if of and "spiralRadiusProfile" in of
+ else SpiralRadiusProfile()
+ )