Skip to content

Commit b04d3e7

Browse files
committed
lint
1 parent 59827d6 commit b04d3e7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

adafruit_epd/epd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from digitalio import Direction
3232
from adafruit_epd import mcp_sram
3333

34-
class Adafruit_EPD: # pylint: disable=too-many-instance-attributes
34+
class Adafruit_EPD: # pylint: disable=too-many-instance-attributes, too-many-public-methods
3535
"""Base class for EPD displays
3636
"""
3737
BLACK = const(0)
@@ -281,7 +281,7 @@ def text(self, string, x, y, color, *, font_name="font5x8.bin"):
281281
self._blackframebuf.text(string, x, y, font_name=font_name,
282282
color=(color == Adafruit_EPD.BLACK) != self._black_inverted)
283283
self._colorframebuf.text(string, x, y, font_name=font_name,
284-
color=(color == Adafruit_EPD.RED) != self._color_inverted)
284+
color=(color == Adafruit_EPD.RED) != self._color_inverted)
285285

286286
@property
287287
def width(self):

adafruit_epd/il0373.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
import adafruit_framebuf
3232
from adafruit_epd.epd import Adafruit_EPD
3333

34-
_IL0373_POWER_SETTING = const(0x01)
3534
_IL0373_PANEL_SETTING = const(0x00)
35+
_IL0373_POWER_SETTING = const(0x01)
3636
_IL0373_POWER_OFF = const(0x02)
3737
_IL0373_POWER_OFF_SEQUENCE = const(0x03)
3838
_IL0373_POWER_ON = const(0x04)

adafruit_epd/il0398.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def power_down(self):
122122
"""Power down the display - required when not actively displaying!"""
123123
self.command(_IL0398_CDI, bytearray([0xF7]))
124124
self.command(_IL0398_POWER_OFF)
125-
self.busy_wait();
125+
self.busy_wait()
126126
self.command(_IL0398_DEEP_SLEEP, bytearray([0xA5]))
127127

128128
def update(self):

0 commit comments

Comments
 (0)