qmk_firmware/lib/python/qmk/cli
Erovia fbfd5312b9
CLI: Validate JSON keymap input (#16261)
* Fix schema validator

It should use the passed schema.

* Add required attributes to keymap schema

* Rework subcommands to validate the JSON keymaps

The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.

* Fix required fields in keymap schema

* Add tests

* Fix compiling keymaps directly from keymap directory

* Schema should not require version for now.
2022-02-28 20:02:39 +00:00
..
chibios
doctor `qmk doctor`: display qmk_firmware version tag (#16155) 2022-02-01 20:31:42 -08:00
format Refix "No C files in filelist: None" (#15728) 2022-01-03 22:42:15 +00:00
generate Fix issues with data driven split keyboards (#16457) 2022-02-27 13:39:24 +01:00
list
new Various fixes for new-keyboard (#16358) 2022-02-15 01:42:58 +00:00
__init__.py
bux.py
c2json.py
cd.py
cformat.py
clean.py
compile.py
docs.py
fileformat.py
flash.py
hello.py
info.py
json2c.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
kle2json.py
lint.py
multibuild.py Migrate more makefile utilities to builddefs sub-directory (#16002) 2022-02-10 09:45:51 -08:00
pyformat.py
pytest.py Format code according to conventions (#16435) 2022-02-22 18:29:47 +00:00