Skip to content

Commit 54de26a

Browse files
committed
pylint some more
1 parent 9727c1e commit 54de26a

File tree

1 file changed

+11
-15
lines changed
  • CircuitPython_ESP32_Camera/esp32-s3-eye-adafruitio-and-lcd

1 file changed

+11
-15
lines changed

CircuitPython_ESP32_Camera/esp32-s3-eye-adafruitio-and-lcd/code.py

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,22 @@
33
# SPDX-License-Identifier: Unlicense
44

55
"""
6-
Show the live camera image on the viewfinder, then upload to adafruit IO when the 'BOOT' button is pressed.
6+
Show the live camera image on the viewfinder, then upload to adafruit IO when
7+
the 'BOOT' button is pressed.
78
"""
89

9-
import esp32_camera
10-
from terminalio import FONT
11-
import board
12-
import displayio
13-
import busio
14-
import struct
15-
import adafruit_requests
16-
import wifi
10+
import binascii
1711
import ssl
18-
import socketpool
19-
import keypad
12+
import struct
13+
14+
from adafruit_io.adafruit_io import IO_MQTT
15+
import adafruit_minimqtt.adafruit_minimqtt as MQTT
2016
import board
2117
import dotenv
22-
import binascii
18+
import esp32_camera
19+
import keypad
20+
import socketpool
21+
import wifi
2322

2423
shutter_button = keypad.Keys((board.BOOT,), value_when_pressed=False)
2524

@@ -30,9 +29,6 @@
3029

3130
pool = socketpool.SocketPool(wifi.radio)
3231

33-
import adafruit_minimqtt.adafruit_minimqtt as MQTT
34-
from adafruit_io.adafruit_io import IO_MQTT
35-
3632
print("Connecting to Adafruit IO")
3733
mqtt_client = MQTT.MQTT(
3834
broker="io.adafruit.com",

0 commit comments

Comments
 (0)