Skip to content

Commit

Permalink
Appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage committed Dec 16, 2024
1 parent c497b25 commit b972db5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion boards/anavi/anavi-arrows/arrows.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ class AnaviArrows(KMKKeyboard):
'''

def __init__(self):
self.matrix = KeysScanner([board.D1, board.D2, board.D3, board.D6], value_when_pressed=False)
self.matrix = KeysScanner(
[board.D1, board.D2, board.D3, board.D6],
value_when_pressed=False,
)
5 changes: 4 additions & 1 deletion boards/budgy/kb.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
class KMKKeyboard(_KMKKeyboard):
def __init__(self):
# create and register the scanner
self.matrix = KeysScanner(pins=_KEY_CFG_RIGHT if isRight else _KEY_CFG_LEFT, value_when_pressed=False)
self.matrix = KeysScanner(
pins=_KEY_CFG_RIGHT if isRight else _KEY_CFG_LEFT,
value_when_pressed=False,
)

# fmt: off
coord_mapping = [
Expand Down

0 comments on commit b972db5

Please sign in to comment.