Skip to content

Commit b12434d

Browse files
committed
Run pre-commit
1 parent 8330111 commit b12434d

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,8 @@ def start_scan_networks(self):
390390

391391
def get_scan_networks(self):
392392
"""The results of the latest SSID scan. Returns a list of dictionaries with
393-
'ssid', 'rssi', 'encryption', bssid, and channel entries, one for each AP found"""
393+
'ssid', 'rssi', 'encryption', bssid, and channel entries, one for each AP found
394+
"""
394395
self._send_command(_SCAN_NETWORKS)
395396
names = self._wait_response_cmd(_SCAN_NETWORKS)
396397
# print("SSID names:", names)

adafruit_esp32spi/adafruit_esp32spi_socket.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def set_interface(iface):
3434

3535
MAX_PACKET = const(4000)
3636

37+
3738
# pylint: disable=too-many-arguments, unused-argument
3839
def getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0):
3940
"""Given a hostname and a port name, return a 'socket.getaddrinfo'
@@ -46,6 +47,7 @@ def getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0):
4647

4748
# pylint: enable=too-many-arguments, unused-argument
4849

50+
4951
# pylint: disable=unused-argument, redefined-builtin, invalid-name
5052
class socket:
5153
"""A simplified implementation of the Python 'socket' class, for connecting

adafruit_esp32spi/digitalio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class DigitalInOut:
117117
"""
118118

119119
_pin = None
120+
120121
# pylint: disable = attribute-defined-outside-init
121122
def __init__(self, esp, pin):
122123
self._esp = esp

examples/esp32spi_wpa2ent_simpletest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import adafruit_esp32spi.adafruit_esp32spi_socket as socket
2020
from adafruit_esp32spi import adafruit_esp32spi
2121

22+
2223
# Version number comparison code. Credit to gnud on stackoverflow
2324
# (https://stackoverflow.com/a/1714190), swapping out cmp() to
2425
# support Python 3.x and thus, CircuitPython

0 commit comments

Comments
 (0)