1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk
Purdea Andrei b68e89f846
Don't print error message when there are no row pins and no col pins (#20104)
* Don't print error message when there are no row pins and no col pins

This error message could be triggered for example if MATRIX_IO_DELAY is
configured in config.h, but the matrix is a custom one. The custom matrix
can still call back to existing delay functions that make use of the
MATRIX_IO_DELAY macro. In this case 'matrix_pins' in info_data will be true,
but there will be no 'direct' 'cols' or 'rows' in info_data['matrix_pins'],
and without this commit it would trigger an invalid error.

* Update lib/python/qmk/info.py

Co-authored-by: Nick Brassel <nick@tzarc.org>

---------

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-12-02 21:50:34 +00:00
..
cli Fixup --no-temp for qmk mass-compile. (#22582) 2023-11-30 20:27:02 +11:00
tests Update json2c to use dump_lines (#21013) 2023-05-22 07:03:59 +01:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
build_targets.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
c_parse.py Slightly refine g_led_config parsing (#21170) 2023-06-08 21:08:02 +01:00
commands.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
constants.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
datetime.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
decorators.py CLI: Fix automagic (#13046) 2021-05-30 16:17:40 +01:00
errors.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
flashers.py feat, docs: WB32 flashing (#21217) 2023-07-08 00:48:45 +10:00
git.py Add commit info to version.h (#19542) 2023-02-02 18:23:27 +00:00
importers.py qmk format-json: Expose full key path and respect sort_keys (#20836) 2023-05-20 22:15:05 +10:00
info.py Don't print error message when there are no row pins and no col pins (#20104) 2023-12-02 21:50:34 +00:00
json_encoders.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
json_schema.py Reallocate user/kb keycode ranges (#19907) 2023-02-23 09:50:09 +11:00
keyboard.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
keycodes.py Reallocate user/kb keycode ranges (#19907) 2023-02-23 09:50:09 +11:00
keymap.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
makefile.py qmk find: usability improvements (#20440) 2023-05-20 22:14:43 +10:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
painter.py [Refactor] Python-ify QP's converter code (#20102) 2023-07-07 22:09:17 +10:00
painter_qff.py Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
painter_qgf.py [QP] Fix up delta frame boundaries (#20296) 2023-03-31 08:41:11 +11:00
path.py QMK Userspace (#22222) 2023-11-28 07:53:43 +11:00
search.py [CLI] Remove duplicates from search results (#22528) 2023-11-22 12:08:26 +11:00
submodules.py Report submodule status when not valid work-tree (#19474) 2023-01-03 09:00:29 +11:00
userspace.py Attempt to fix configurator. (#22555) 2023-11-28 14:07:21 +00:00
util.py Allow for disabling of parallel processing of qmk find and qmk mass-compile. (#22160) 2023-10-17 09:43:50 +11:00