Skip to content

Commit d6cd31e

Browse files
committed
Reformatted per pre-commit
1 parent f7b3251 commit d6cd31e

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

adafruit_ht16k33/segments.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,13 @@ class Seg7x4(Seg14x4):
312312

313313
POSITIONS = (0, 2, 6, 8) # The positions of characters.
314314

315-
def __init__(self, i2c: I2C, address: int = 0x70, auto_write: bool = True, char_dict: Optional[Dict[str, int]] = None):
315+
def __init__(
316+
self,
317+
i2c: I2C,
318+
address: int = 0x70,
319+
auto_write: bool = True,
320+
char_dict: Optional[Dict[str, int]] = None,
321+
):
316322
super().__init__(i2c, address, auto_write)
317323
# Use colon for controling two-dots indicator at the center (index 0)
318324
self._colon = Colon(self)
@@ -404,7 +410,13 @@ class BigSeg7x4(Seg7x4):
404410
"""Numeric 7-segment display. It has the same methods as the alphanumeric display, but only
405411
supports displaying a limited set of characters."""
406412

407-
def __init__(self, i2c: I2C, address: int = 0x70, auto_write: bool = True, char_dict: Optional[Dict[str, int]] = None):
413+
def __init__(
414+
self,
415+
i2c: I2C,
416+
address: int = 0x70,
417+
auto_write: bool = True,
418+
char_dict: Optional[Dict[str, int]] = None,
419+
):
408420
super().__init__(i2c, address, auto_write)
409421
# Use colon for controling two-dots indicator at the center (index 0)
410422
# or the two-dots indicators at the left (index 1)

0 commit comments

Comments
 (0)