linting
This commit is contained in:
parent
247abbe6e6
commit
ea869be57f
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ def get_unique_pins():
|
|||
exclude = ['NEOPIXEL', 'APA102_MOSI', 'APA102_SCK']
|
||||
pins = [pin for pin in [
|
||||
getattr(board, p) for p in dir(board) if p not in exclude]
|
||||
if isinstance(pin, Pin)]
|
||||
if isinstance(pin, Pin)]
|
||||
unique = []
|
||||
for p in pins:
|
||||
if p not in unique:
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ def get_unique_pins():
|
|||
exclude = ['NEOPIXEL', 'APA102_MOSI', 'APA102_SCK']
|
||||
pins = [pin for pin in [
|
||||
getattr(board, p) for p in dir(board) if p not in exclude]
|
||||
if isinstance(pin, Pin)]
|
||||
if isinstance(pin, Pin)]
|
||||
unique = []
|
||||
for p in pins:
|
||||
if p not in unique:
|
||||
|
|
|
|||
Loading…
Reference in a new issue