1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk
Erovia 8c0198334c
CLI: Lint non-data driven macros in info.json (#16739)
* CLI: Lint non-data driven macros in info.json

Macros in info.json should either have the "matrix" key with the matrix
data or should should be also present in <keyboard>.h

* Add verification of matrix data

* Use generic '<keyboard>.h' in output

* Add keyboard name to output

* Make C layout macro finding more robust

The old code missed C macros if they had whitespace between '#' and
'define' or had whitespace before '#'.
2022-03-27 21:28:36 +01:00
..
cli CLI: Lint non-data driven macros in info.json (#16739) 2022-03-27 21:28:36 +01:00
tests CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
c_parse.py CLI: Lint non-data driven macros in info.json (#16739) 2022-03-27 21:28:36 +01:00
commands.py Relocate CLI git interactions (#16682) 2022-03-18 16:02:24 +00: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 [CLI] Add common util for dumping generated content (#16674) 2022-03-18 01:09:29 +00: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
git.py Relocate CLI git interactions (#16682) 2022-03-18 16:02:24 +00:00
info.py Fix bug when 'info.json' lookup escapes keyboard dir (#16734) 2022-03-26 19:15:25 +00:00
json_encoders.py CLI: Add 'via2json' subcommand (#16468) 2022-03-24 21:13:40 +01:00
json_schema.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
keyboard.py qmk info: Nicer rendering of big-ass enter (#16541) 2022-03-08 20:45:47 +00:00
keymap.py CLI: Add 'via2json' subcommand (#16468) 2022-03-24 21:13:40 +01:00
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
path.py qmk.path.FileType: fix argument handling (#16693) 2022-03-19 20:58:30 +00:00
submodules.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00