DM: to my friend pylint
This commit is contained in:
parent
6f0914a46e
commit
e54c825bbf
2 changed files with 2 additions and 3 deletions
|
|
@ -95,7 +95,7 @@ class Adafruit_EPD:
|
|||
|
||||
if end:
|
||||
self._cs.value = True
|
||||
|
||||
|
||||
return outbuf[0]
|
||||
|
||||
def data(self, dat):
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ import board
|
|||
from PIL import Image
|
||||
from PIL import ImageDraw
|
||||
from PIL import ImageFont
|
||||
from adafruit_epd.epd import Adafruit_EPD
|
||||
from adafruit_epd.il0373 import Adafruit_IL0373
|
||||
|
||||
# create the spi device and pins we will need
|
||||
|
|
@ -59,7 +58,7 @@ draw.rectangle((x, top, x+shape_width, bottom), outline=RED, fill=BLACK)
|
|||
x += shape_width+padding
|
||||
# Draw a triangle.
|
||||
draw.polygon([(x, bottom), (x+shape_width/2, top), (x+shape_width, bottom)],
|
||||
outline=BLACK, fill=RED)
|
||||
outline=BLACK, fill=RED)
|
||||
x += shape_width+padding
|
||||
# Draw an X.
|
||||
draw.line((x, bottom, x+shape_width, top), fill=RED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue