Skip to content

Commit 75c1978

Browse files
committed
code format
1 parent d6262b4 commit 75c1978

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_display_shapes/roundrect.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ def __init__(
5555
if width <= 0 or height <= 0:
5656
raise ValueError("Rectangle dimensions must be larger than 0.")
5757
if r > width / 2 or r > height / 2:
58-
raise ValueError("Radius cannot exceed half of the smaller side (width or height).")
58+
raise ValueError(
59+
"Radius cannot exceed half of the smaller side (width or height)."
60+
)
5961

6062
self._palette = displayio.Palette(3)
6163
self._palette.make_transparent(0)

0 commit comments

Comments
 (0)