summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-06-22 12:02:12 -0700
committerGitHub <noreply@github.com>2021-06-22 12:02:12 -0700
commitdf794fa5cc343b719450eb164e289a0c89b7461b (patch)
tree42bacbdc7b5a1b5a22743953850370c36e66f193 /lib
parente87d23164522371b0c9560e81f36ed08caadc0ff (diff)
Remove the redundant pin name validation (#13251)
* remove the redundant pin name validation * fix submodules
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/info.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index b43cf4e417..a70bd4c31c 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -143,13 +143,7 @@ def _pin_name(pin):
elif pin == 'NO_PIN':
return None
- elif pin[0] in 'ABCDEFGHIJK' and pin[1].isdigit():
- return pin
-
- elif pin.startswith('LINE_PIN'):
- return pin
-
- raise ValueError(f'Invalid pin: {pin}')
+ return pin
def _extract_pins(pins):