Skip to content

Commit d69e81e

Browse files
committed
linting
1 parent bd2219c commit d69e81e

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

examples/rgb_display_pillow_demo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# Setup SPI bus using hardware SPI:
2424
spi = board.SPI()
2525

26+
# pylint: disable=line-too-long
2627
# Create the display:
2728
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
2829
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
@@ -36,6 +37,7 @@
3637
#disp = ssd1331.SSD1331(spi, rotation=180, # 0.96" SSD1331
3738
disp = ili9341.ILI9341(spi, rotation=90, # 2.2", 2.4", 2.8", 3.2" ILI9341
3839
cs=cs_pin, dc=dc_pin, rst=reset_pin, baudrate=BAUDRATE)
40+
# pylint: enable=line-too-long
3941

4042
# Create blank image for drawing.
4143
# Make sure to create image with mode 'RGB' for full color.

examples/rgb_display_pillow_image.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
\import digitalio
1+
import digitalio
22
import board
33
from PIL import Image, ImageDraw
44
import adafruit_rgb_display.ili9341 as ili9341
@@ -19,6 +19,7 @@
1919
# Setup SPI bus using hardware SPI:
2020
spi = board.SPI()
2121

22+
# pylint: disable=line-too-long
2223
# Create the display:
2324
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
2425
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
@@ -32,6 +33,7 @@
3233
#disp = ssd1331.SSD1331(spi, rotation=180, # 0.96" SSD1331
3334
disp = ili9341.ILI9341(spi, rotation=90, # 2.2", 2.4", 2.8", 3.2" ILI9341
3435
cs=cs_pin, dc=dc_pin, rst=reset_pin, baudrate=BAUDRATE)
36+
# pylint: enable=line-too-long
3537

3638
# Create blank image for drawing.
3739
# Make sure to create image with mode 'RGB' for full color.

examples/rgb_display_pillow_stats.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
# Setup SPI bus using hardware SPI:
2222
spi = board.SPI()
2323

24+
# pylint: disable=line-too-long
2425
# Create the display:
2526
#disp = st7789.ST7789(spi, rotation=90 # 2.0" ST7789
2627
#disp = st7789.ST7789(spi, height=240, y_offset=80, rotation=90 # 1.3", 1.54" ST7789
@@ -34,6 +35,7 @@
3435
#disp = ssd1331.SSD1331(spi, rotation=180, # 0.96" SSD1331
3536
disp = ili9341.ILI9341(spi, rotation=90, # 2.2", 2.4", 2.8", 3.2" ILI9341
3637
cs=cs_pin, dc=dc_pin, rst=reset_pin, baudrate=BAUDRATE)
38+
# pylint: enable=line-too-long
3739

3840
# Create blank image for drawing.
3941
# Make sure to create image with mode 'RGB' for full color.

0 commit comments

Comments
 (0)