Skip to content

Commit

Permalink
black formatted again
Browse files Browse the repository at this point in the history
  • Loading branch information
makermelissa committed Aug 5, 2020
1 parent ac589b9 commit e83da21
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adafruit_extended_bus.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def init(self, bus_id, frequency):

# pylint: enable=arguments-differ


# pylint: disable=too-few-public-methods
class ExtendedSPI(SPI):
"""Extended SPI is a busio extension that allows creating a compatible
Expand All @@ -78,8 +79,10 @@ class ExtendedSPI(SPI):
# pylint: disable=invalid-name, redefined-builtin
class Pin:
"""Fake Pin class"""

def __init__(self, id):
self.id = id

# pylint: enable=invalid-name, redefined-builtin

# pylint: disable=super-init-not-called
Expand All @@ -97,4 +100,6 @@ def __init__(self, bus_id, chip_select):
self._pins = (self.Pin(0), self.Pin(0), self.Pin(0))

# pylint: enable=super-init-not-called


# pylint: enable=too-few-public-methods

0 comments on commit e83da21

Please sign in to comment.