Skip to content

Commit a8db933

Browse files
committed
Linting.
1 parent 7507bcf commit a8db933

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

adafruit_max7219/bcddigits.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
`adafruit_max7219.bcddigits.BCDDigits`
2626
====================================================
2727
"""
28-
from adafruit_max7219 import max7219
2928
from micropython import const
29+
from adafruit_max7219 import max7219
3030

3131
__version__ = "0.0.0-auto.0"
3232
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git"

adafruit_max7219/matrices.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
`adafruit_max7219.matrices.Matrix8x8`
2626
====================================================
2727
"""
28-
from adafruit_max7219 import max7219
2928
from micropython import const
29+
from adafruit_max7219 import max7219
3030

3131
__version__ = "0.0.0-auto.0"
3232
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git"

adafruit_max7219/max7219.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@
5454
#. Datasheet: https://cdn-shop.adafruit.com/datasheets/MAX7219.pdf
5555
"""
5656
# MicroPython SSD1306 OLED driver, I2C and SPI interfaces
57-
import framebuf
5857
import digitalio
59-
6058
from adafruit_bus_device import spi_device
6159
from micropython import const
60+
import framebuf
6261

6362
__version__ = "0.0.0-auto.0"
6463
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MAX7219.git"
@@ -142,6 +141,7 @@ def scroll(self, delta_x, delta_y):
142141
self.framebuf.scroll(delta_x, delta_y)
143142

144143
def write_cmd(self, cmd, data):
144+
# pylint: disable=no-member
145145
"""Writes a command to spi device."""
146146
#print('cmd {} data {}'.format(cmd,data))
147147
self._chip_select.value = False

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@
5656

5757
# You can just specify the packages manually here if your project is
5858
# simple. Or you can use find_packages().
59-
py_modules=['adafruit_max7219'],
59+
packages=['adafruit_max7219'],
6060
)

0 commit comments

Comments
 (0)