qmk_firmware/lib/python/qmk/cli
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
..
chibios Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
doctor Relocate CLI git interactions (#16682) 2022-03-18 16:02:24 +00:00
format Refix "No C files in filelist: None" (#15728) 2022-01-03 22:42:15 +00:00
generate Relocate CLI git interactions (#16682) 2022-03-18 16:02:24 +00:00
list [CLI] list-keymaps/list-layouts: Check keyboard passed in (#15204) 2021-11-18 17:55:07 +00:00
new Relocate CLI git interactions (#16682) 2022-03-18 16:02:24 +00:00
__init__.py CLI: Add 'via2json' subcommand (#16468) 2022-03-24 21:13:40 +01:00
bux.py World domination (#13021) 2021-05-29 20:05:46 +01:00
c2json.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
cd.py CLI: Fix 'cd' subcommand on Windows (#16610) 2022-03-10 21:33:41 +00:00
cformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
clean.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00
compile.py --parallel improvements (#13800) 2021-08-18 08:46:59 +10:00
docs.py qmk docs: Run docsify serve if available (#15056) 2021-11-05 08:02:27 +11:00
fileformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
flash.py Enable CLI flashing via mdloader (#14729) 2021-10-15 22:07:33 +01:00
hello.py CLI: Add development mode support 2020-04-08 09:31:14 -07:00
info.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
json2c.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
kle2json.py Remove references to info.json width and height in CLI (#13728) 2021-07-29 22:37:18 -07:00
lint.py CLI: Lint non-data driven macros in info.json (#16739) 2022-03-27 21:28:36 +01:00
multibuild.py Migrate more makefile utilities to builddefs sub-directory (#16002) 2022-02-10 09:45:51 -08:00
pyformat.py Move all our CLI file formatters to the format dir (#13296) 2021-07-20 11:52:14 -07:00
pytest.py Format code according to conventions (#16435) 2022-02-22 18:29:47 +00:00
via2json.py CLI: Add 'via2json' subcommand (#16468) 2022-03-24 21:13:40 +01:00