qmk_sweep_skeletyl/lib/python/qmk
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
..
cli CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
tests CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
__init__.py
c_parse.py
commands.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
comment_remover.py
constants.py CLI: Minor additions #12795 (#16276) 2022-02-14 12:02:35 +01:00
converter.py
datetime.py
decorators.py
errors.py
info.py Fix issues with data driven split keyboards (#16457) 2022-02-27 13:39:24 +01:00
json_encoders.py
json_schema.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
keyboard.py
keymap.py
makefile.py
math.py
path.py CLI: Validate JSON keymap input (#16261) 2022-02-28 20:02:39 +00:00
submodules.py