keychron_qmk_firmware/lib/python/qmk/tests
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
..
__init__.py
.gitignore
attrdict.py
kle.txt
minimal_info.json Map PRODUCT define to keyboard_name (#14372) 2021-11-05 08:08:52 +11:00
minimal_keymap.json Add a qmk format-json command that will format JSON files (#12372) 2021-03-25 22:38:10 +11:00
test_cli_commands.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
test_qmk_errors.py
test_qmk_keymap.py Macros in JSON keymaps (#14374) 2021-11-22 11:11:35 -08:00
test_qmk_path.py