Skip to content

Commit edb1b8d

Browse files
committed
code format
1 parent e5227cb commit edb1b8d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

shared-bindings/vectorio/__init__.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -320,14 +320,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(vectorio_line_contains_point_obj, 0, vectorio_line_co
320320

321321

322322
//| def line_circle_intersects(
323-
//| x1: int,
324-
//| y1: int,
325-
//| x2: int,
326-
//| y2: int,
327-
//| cx: int,
328-
//| cy: int,
329-
//| cr: int,
330-
//| padding: float
323+
//| x1: int, y1: int, x2: int, y2: int, cx: int, cy: int, cr: int, padding: float
331324
//| ) -> bool:
332325
//| """Checks whether a line intersects with a circle
333326
//|

tests/circuitpython/vectorio_intersection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
args = ([(50, 0), (100, 0), (150, 50), (0, 50)], 0, 0, 160, 50, 10)
3535
padding = 0.1
3636
print(f"polygon circle validate True: {args}, {padding}")
37-
print(vectorio.polygon_circle_intersects(*args, padding=padding))
37+
print(vectorio.polygon_circle_intersects(*args, padding=padding))

0 commit comments

Comments
 (0)