Skip to content

Commit 9a8090a

Browse files
committed
linted
1 parent 695205d commit 9a8090a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

adafruit_register/i2c_bit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ class ROBit(RWBit):
7474
:param int register_width: The number of bytes in the register. Defaults to 1.
7575
"""
7676
def __set__(self, obj, value):
77-
raise AttributeError()
77+
raise AttributeError()

adafruit_register/i2c_bits.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ def __set__(self, obj, value):
7070
with obj.i2c_device as i2c:
7171
i2c.write(self.buffer, end=1, stop=False)
7272
i2c.readinto(self.buffer, start=1)
73-
7473
# Set all of our bits to 1.
7574
self.buffer[self.byte] |= self.bit_mask
7675
# Set all 0 bits to 0 by anding together.
@@ -90,4 +89,4 @@ class ROBits(RWBits):
9089
:param int register_width: The number of bytes in the register. Defaults to 1.
9190
"""
9291
def __set__(self, obj, value):
93-
raise AttributeError()
92+
raise AttributeError()

0 commit comments

Comments
 (0)