Skip to content

Commit

Permalink
Merge pull request #142 from adafruit/patch-fix
Browse files Browse the repository at this point in the history
Linted
  • Loading branch information
kattni authored Nov 8, 2021
2 parents 58aca27 + c86f7cf commit 4376a0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion adafruit_esp32spi/digitalio.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def drive_mode(self, mode):
:param DriveMode mode: Defines the drive mode when outputting digital values.
Either PUSH_PULL or OPEN_DRAIN
"""
self.__drive_mode = mode
if mode is DriveMode.OPEN_DRAIN:
raise NotImplementedError(
"Drive mode %s not implemented in ESP32SPI." % mode
Expand Down
3 changes: 1 addition & 2 deletions examples/esp32spi_tcp_client.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# SPDX-FileCopyrightText: 2021 Adafruit Industries
# SPDX-License-Identifier: MIT

from secrets import secrets # pylint: disable=no-name-in-module
import board
from digitalio import DigitalInOut
from adafruit_esp32spi import adafruit_esp32spi
import adafruit_esp32spi.adafruit_esp32spi_socket as socket
import adafruit_requests as requests
from secrets import secrets


TIMEOUT = 5
Expand Down

0 comments on commit 4376a0d

Please sign in to comment.