Skip to content

Commit 0587b66

Browse files
brentrubrentru
authored andcommitted
lint!
1 parent b0a4e53 commit 0587b66

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/minimqtt_pub_sub_blocking.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# CircuitPython MiniMQTT Library
22
# Adafruit IO SSL/TLS Example for WiFi (ESP32SPI)
3-
import time
43
import board
54
import busio
65
from digitalio import DigitalInOut
@@ -49,7 +48,7 @@ def connect_wifi():
4948
print("IP: ", esp.pretty_ip(esp.ip_address))
5049

5150
# Define callback methods which are called when events occur
52-
# pylint: disable=unused-argument
51+
# pylint: disable=unused-argument, redefined-outer-name
5352
def connected(client, userdata, flags, rc):
5453
# This function will be called when the client is connected
5554
# successfully to the broker.

examples/minimqtt_pub_sub_nonblocking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def connect_wifi():
4747
print("IP: ", esp.pretty_ip(esp.ip_address))
4848

4949
# Define callback methods which are called when events occur
50-
# pylint: disable=unused-argument
50+
# pylint: disable=unused-argument, redefined-outer-name
5151
def connected(client, userdata, flags, rc):
5252
# This function will be called when the client is connected
5353
# successfully to the broker.

0 commit comments

Comments
 (0)