QMK/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
format
generate
list
new
__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
pyformat.py
pytest.py