Skip to content

Commit

Permalink
Fix formatting for black version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
xs5871 committed Mar 28, 2024
1 parent 0abe2bc commit 299c18f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions kmk/extensions/international.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'''Adds international keys'''

from kmk.extensions import Extension
from kmk.keys import make_key

Expand Down
2 changes: 1 addition & 1 deletion kmk/modules/combos.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def on_timeout(self, keyboard, combo):
self.reset_combo(keyboard, combo)

def send_key_buffer(self, keyboard):
for (int_coord, key, is_pressed) in self._key_buffer:
for int_coord, key, is_pressed in self._key_buffer:
keyboard.resume_process_key(self, key, is_pressed, int_coord)

def activate(self, keyboard, combo):
Expand Down
2 changes: 1 addition & 1 deletion kmk/modules/holdtap.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def send_key_buffer(self, keyboard):
return

reprocess = False
for (int_coord, key, is_pressed) in self.key_buffer:
for int_coord, key, is_pressed in self.key_buffer:
keyboard.resume_process_key(self, key, is_pressed, int_coord, reprocess)
if isinstance(key.meta, HoldTapKeyMeta):
reprocess = True
Expand Down
1 change: 1 addition & 0 deletions kmk/modules/layers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'''One layer isn't enough. Adds keys to get to more of them'''

from kmk.keys import KC, make_argumented_key
from kmk.modules.holdtap import HoldTap, HoldTapKeyMeta
from kmk.utils import Debug
Expand Down
1 change: 1 addition & 0 deletions kmk/modules/pimoroni_trackball.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'''
Extension handles usage of Trackball Breakout by Pimoroni
'''

from micropython import const

import math
Expand Down
1 change: 1 addition & 0 deletions kmk/modules/split.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'''Enables splitting keyboards wirelessly or wired'''

import busio
from micropython import const
from supervisor import runtime, ticks_ms
Expand Down
1 change: 1 addition & 0 deletions kmk/transports/pio_uart.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Circuit Python wrapper around PIO implementation of UART
Original source of these examples: https://github.com/adafruit/Adafruit_CircuitPython_PIOASM/tree/main/examples (MIT)
'''

import rp2pio
from array import array

Expand Down
2 changes: 1 addition & 1 deletion util/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def compile():
if __name__ == '__main__':
try:
subprocess.run('mpy-cross', stdout=devnull, stderr=devnull)
except (FileNotFoundError):
except FileNotFoundError:
print()
print('`mpy-cross` not found. Ensure mpy-cross is working from a shell.')
print()
Expand Down

0 comments on commit 299c18f

Please sign in to comment.