Skip to content

Commit 64f0a7d

Browse files
committed
Linted and reformatted per pre-commit
1 parent cd2875e commit 64f0a7d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

circuitpython_typing/led.py

+6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,18 @@
2121
ColorBasedColorUnion = Union[int, Tuple[int, int, int]]
2222
FillBasedColorUnion = Union[ColorBasedColorUnion, Tuple[int, int, int, int]]
2323

24+
2425
class ColorBasedLED(Protocol):
26+
"""Protocol for LEDs using the :meth:`color` method"""
2527

2628
def color(self, value: ColorBasedColorUnion) -> None:
29+
"""Sets the color of the LED"""
2730
...
2831

32+
2933
class FillBasedLED(Protocol):
34+
"""Protocol for LEDs using the :meth:`fill` method"""
3035

3136
def fill(self, color: FillBasedColorUnion) -> None:
37+
"""Sets the color of the LED"""
3238
...

0 commit comments

Comments
 (0)