summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/lint.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-10 10:45:24 +0000
committerQMK Bot <hello@qmk.fm>2022-06-10 10:45:24 +0000
commit6b838785b7aa5a8614d7cc348fc9ab74be952f2d (patch)
tree7b2f0d4353da266a628c2c9229b3d4c8dc03b331 /lib/python/qmk/cli/lint.py
parent97fc4f1b6a20da4323c73b74974a6eb732902cd9 (diff)
parent92665aef33148fef051ad07687028c88f0da64fc (diff)
downloadqmk_firmware-6b838785b7aa5a8614d7cc348fc9ab74be952f2d.tar.gz
qmk_firmware-6b838785b7aa5a8614d7cc348fc9ab74be952f2d.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/lint.py')
-rw-r--r--lib/python/qmk/cli/lint.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/python/qmk/cli/lint.py b/lib/python/qmk/cli/lint.py
index af057b4110..96593ed69b 100644
--- a/lib/python/qmk/cli/lint.py
+++ b/lib/python/qmk/cli/lint.py
@@ -116,13 +116,6 @@ def lint(cli):
if not keymap_check(kb, cli.config.lint.keymap):
ok = False
- # Check if all non-data driven macros exist in <keyboard.h>
- for layout, data in keyboard_info['layouts'].items():
- # Matrix data should be a list with exactly two integers: [0, 1]
- if not data['c_macro'] and not all('matrix' in key_data.keys() or len(key_data) == 2 or all(isinstance(n, int) for n in key_data) for key_data in data['layout']):
- cli.log.error(f'{kb}: "{layout}" has no "matrix" definition in either "info.json" or "<keyboard>.h"!')
- ok = False
-
# Report status
if not ok:
failed.append(kb)