Skip to content

Commit 2a9f7e2

Browse files
committed
linting
1 parent 4350de8 commit 2a9f7e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_tca9548a.py

+2
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def __getitem__(self, key: Literal[0, 1, 2, 3]) -> "TCA9548A_Channel":
136136
self.channels[key] = TCA9548A_Channel(self, key)
137137
return self.channels[key]
138138

139+
139140
class TCA9547D_Channel(TCA9548A_Channel):
140141
"""Helper class to represent an output channel on the TCA9547D and take care
141142
of the necessary I2C commands for channel switching. This class needs to
@@ -149,6 +150,7 @@ def __init__(self, tca: "TCA9547D", channel: int) -> None:
149150
"""
150151
self.channel_switch = (channel + (1<<3)).to_bytes(1, "little")
151152

153+
152154
class TCA9547D(TCA9548A):
153155
"""Class which provides interface to TCA9547D I2C multiplexer."""
154156

0 commit comments

Comments
 (0)