Skip to content

Commit bc8ced5

Browse files
author
Jason Symons
committed
Add pylint exceptions for Pixel Protocol typing class
1 parent f6c051e commit bc8ced5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_espatcontrol/adafruit_espatcontrol_wifimanager.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ class Pixel(Protocol):
2626
requiring a pixel device (NeoPixel/DotStar)
2727
"""
2828

29-
def fill(self, value: Union[int, Tuple[int, int, int]]) -> Any:
29+
def fill(
30+
self, value: Union[int, Tuple[int, int, int]]
31+
) -> Any: # pylint: disable=unused-argument, no-self-use
3032
"""
3133
Duck types out the fill method for pixel devices
3234
"""

0 commit comments

Comments
 (0)