Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksurry committed Dec 9, 2023
1 parent 55a1bb1 commit b7ea987
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions boards/boardsource/unicorne/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
from kmk.modules.combos import Chord, Combos
from kmk.modules.holdtap import HoldTapRepeat
from kmk.modules.layers import Layers
#from kmk.modules.modtap import ModTap
# from kmk.modules.modtap import ModTap
from kmk.modules.oneshot import OneShot
from kmk.modules.split import Split, SplitSide, SplitType

supervisor.runtime.autoreload = False
keyboard = KMKKeyboard()
#modtap = ModTap()
# modtap = ModTap()
combos = Combos()
oneshot = OneShot()
layers = Layers()
Expand All @@ -33,7 +33,7 @@
OS_LALT = KC.OS(KC.LALT)
keyboard.modules.append(oneshot)
keyboard.modules.append(layers)
#keyboard.modules.append(modtap)
# keyboard.modules.append(modtap)
keyboard.modules.append(combos)

# oled
Expand Down
3 changes: 1 addition & 2 deletions boards/fingerpunch/ffkb/other_pro_micro/kb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

from kmk.kmk_keyboard import KMKKeyboard as _KMKKeyboard
from kmk.quickpin.pro_micro.boardsource_blok import pinout as pins
from kmk.scanners import DiodeOrientation
from kmk.scanners import intify_coordinate
from kmk.scanners import DiodeOrientation, intify_coordinate

ic = lambda r, c: intify_coordinate(r, c, 8) # 8 columns

Expand Down
1 change: 1 addition & 0 deletions boards/keebio/iris/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from kmk.modules.layers import Layers
from kmk.modules.split import Split, SplitSide, SplitType
from kmk.modules.tapdance import TapDance

keyboard = KMKKeyboard()

keyboard.debug_enabled = False
Expand Down
5 changes: 2 additions & 3 deletions boards/lily58/main.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from kb import KMKKeyboard

from kmk.modules.split import Split, SplitSide
from kmk.modules.layers import Layers
from kmk.extensions.rgb import RGB
from kmk.keys import KC

from kmk.modules.layers import Layers
from kmk.modules.split import Split, SplitSide

keyboard = KMKKeyboard()

Expand Down
2 changes: 1 addition & 1 deletion boards/rhymestone/main.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from kb import KMKKeyboard

from kmk.keys import KC
from kmk.modules.layers import Layers
from kmk.modules.split import Split, SplitSide, SplitType
from kmk.keys import KC

keyboard = KMKKeyboard()

Expand Down
1 change: 1 addition & 0 deletions tests/mock_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import sys
from unittest.mock import Mock

from .mocks import init_circuit_python_modules_mocks

init_circuit_python_modules_mocks()
Expand Down
2 changes: 1 addition & 1 deletion tests/mocks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
import time
from unittest.mock import Mock, MagicMock
from unittest.mock import MagicMock, Mock


class KeyEvent:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_boards.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import subprocess
import unittest
from glob import glob
from os import path
import subprocess


class TestBoards(unittest.TestCase):
Expand Down

0 comments on commit b7ea987

Please sign in to comment.