From ddac2166e606b38334b195e57079c2347058f301 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Fri, 22 Oct 2021 14:42:44 -0600 Subject: [PATCH] updated to fix linter --- .../jpconstantineau/Batreus44/kb_BlueMicro840.py | 15 ++++++++++++--- .../jpconstantineau/batreus44_colemak_dh.py | 4 +--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/boards/jpconstantineau/Batreus44/kb_BlueMicro840.py b/boards/jpconstantineau/Batreus44/kb_BlueMicro840.py index ac8296c..d598454 100644 --- a/boards/jpconstantineau/Batreus44/kb_BlueMicro840.py +++ b/boards/jpconstantineau/Batreus44/kb_BlueMicro840.py @@ -6,9 +6,18 @@ from kmk.matrix import DiodeOrientation class KMKKeyboard(_KMKKeyboard): col_pins = ( - board.P0_15, board.P0_17, board.P0_20, board.P0_13, board.P0_24, - board.P0_09, board.P0_03, board.P1_13, board.P0_02, board.P0_29, board.P0_26, board.P0_30 + board.P0_15, + board.P0_17, + board.P0_20, + board.P0_13, + board.P0_24, + board.P0_09, + board.P0_03, + board.P1_13, + board.P0_02, + board.P0_29, + board.P0_26, + board.P0_30, ) row_pins = (board.P0_28, board.P1_11, board.P0_10, board.P1_06) diode_orientation = DiodeOrientation.COL2ROW - diff --git a/user_keymaps/jpconstantineau/batreus44_colemak_dh.py b/user_keymaps/jpconstantineau/batreus44_colemak_dh.py index 92710d9..655d5f9 100644 --- a/user_keymaps/jpconstantineau/batreus44_colemak_dh.py +++ b/user_keymaps/jpconstantineau/batreus44_colemak_dh.py @@ -3,12 +3,10 @@ # Board can use different controllers. # Edit last 2 lines if you have a nRF52840 and want BLE - from kb import KMKKeyboard +from kmk.hid import HIDModes from kmk.keys import KC from kmk.modules.layers import Layers -from kmk.hid import HIDModes - keyboard = KMKKeyboard() keyboard.modules.append(Layers())