Skip to content

Commit 4860c4e

Browse files
committed
add dep, another lint
1 parent 95d2f6c commit 4860c4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

adafruit_pcd8544.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def write_cmd(self, cmd):
124124
"""Send a command to the SPI device"""
125125
self._dc_pin.value = 0
126126
with self.spi_device as spi:
127-
spi.write(bytearray([cmd]))
127+
spi.write(bytearray([cmd])) # pylint: disable=no-member
128128

129129
def extended_command(self, cmd):
130130
"""Send a command in extended mode"""
@@ -141,7 +141,7 @@ def show(self):
141141
self.write_cmd(_PCD8544_SETXADDR)
142142
self._dc_pin.value = True
143143
with self.spi_device as spi:
144-
spi.write(bytes(self.buffer))
144+
spi.write(self.buffer) # pylint: disable=no-member
145145

146146
@property
147147
def invert(self):

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Adafruit-Blinka
22
adafruit-circuitpython-busdevice
3+
adafruit-circuitpython-framebuf

0 commit comments

Comments
 (0)