Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed May 11, 2023
1 parent b6a336a commit c6a0f53
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 1 deletion.
1 change: 0 additions & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ def __init__(
connect_retries: int = 5,
user_data=None,
) -> None:

self._socket_pool = socket_pool
self._ssl_context = ssl_context
self._sock = None
Expand Down
1 change: 1 addition & 0 deletions examples/cellular/minimqtt_adafruitio_cellular.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/cellular/minimqtt_simpletest_cellular.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connect(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/cpython/minimqtt_adafruitio_cpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/cpython/minimqtt_simpletest_cpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# Use this topic if you'd like to connect to io.adafruit.com
# mqtt_topic = secrets["aio_username"] + "/feeds/temperature"


### Code ###
# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_adafruitio_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_certificate_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connect(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_pub_sub_blocking_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_pub_sub_nonblocking_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
# Setup a feed named `testfeed` for publishing.
default_topic = secrets["user"] + "/feeds/testfeed"


### Code ###
# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_pub_sub_pyportal_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# ------------- MQTT Topic Setup ------------- #
mqtt_topic = "test/topic"


### Code ###
# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
Expand Down
1 change: 1 addition & 0 deletions examples/esp32spi/minimqtt_simpletest_esp32spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connect(mqtt_client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/ethernet/minimqtt_adafruitio_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connected(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/ethernet/minimqtt_simpletest_eth.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

### Code ###


# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
def connect(client, userdata, flags, rc):
Expand Down
1 change: 1 addition & 0 deletions examples/minimqtt_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
# Use this topic if you'd like to connect to io.adafruit.com
# mqtt_topic = secrets["aio_username"] + '/feeds/temperature'


### Code ###
# Define callback methods which are called when events occur
# pylint: disable=unused-argument, redefined-outer-name
Expand Down

0 comments on commit c6a0f53

Please sign in to comment.