Skip to content

Commit 4411aa8

Browse files
authored
linting update
1 parent 5b0c6b0 commit 4411aa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_ht16k33/ht16k33.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def blink_rate(self, rate=None):
5858
self._blink_rate = rate
5959
self._write_cmd(_HT16K33_BLINK_CMD |
6060
_HT16K33_BLINK_DISPLAYON | rate << 1)
61+
return None
6162

6263
def brightness(self, brightness):
6364
"""Get or set the brightness. Range 0-15."""
@@ -66,6 +67,7 @@ def brightness(self, brightness):
6667
brightness = brightness & 0x0F
6768
self._brightness = brightness
6869
self._write_cmd(_HT16K33_CMD_BRIGHTNESS | brightness)
70+
return None
6971

7072
def show(self):
7173
"""Refresh the display and show the changes."""
@@ -90,6 +92,7 @@ def _pixel(self, x, y, color=None):
9092
else:
9193
self._buffer[(y * 2) + 1] &= ~(mask & 0xff)
9294
self._buffer[(y * 2) + 2] &= ~(mask >> 8)
95+
return None
9396

9497
def _set_buffer(self, i, value):
9598
self._buffer[i+1] = value # Offset by 1 to move past register address.

0 commit comments

Comments
 (0)