summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/generate/api.py
Commit message (Collapse)AuthorAgeFilesLines
* Publish data as part of API generation (#17020)Joel Challis2022-08-061-14/+23
|
* Rework generate-api CLI command to use .build directory (#16441)Joel Challis2022-02-271-7/+21
|
* search for the readme in higher directories as well (#12997)Zach White2021-05-241-3/+3
|
* Improve our CI tests (#11476)Zach White2021-05-101-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add a test and dry-run to qmk generate-api * add a dry-run to qmk pyformat * Add a --dry-run to qmk cformat * reverse the order of nose2 and flake8 tests * run CI test against cformat and pyformat * fix programming errors * tweak job name * fix argument * refine the files we select * fix stack trace in --ci * make cformat exit clean * fix c file extensions * decouple CI from pyformat * remove --ci arg * make ci happy * use the environment var instead * change output to text * fix log message * replace tabs
* Add a `qmk format-json` command that will format JSON files (#12372)Zach White2021-03-251-1/+1
| | | | | | | | | | | * Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py
* [CI] Format code according to conventions (#12363)github-actions[bot]2021-03-241-5/+5
| | | | | | | | | | * Format code according to conventions * Update lib/python/qmk/cli/generate/api.py * Update lib/python/qmk/cli/generate/api.py Co-authored-by: QMK Bot <hello@qmk.fm> Co-authored-by: Zach White <skullydazed@gmail.com>
* Add support for qmk_configurator style aliases (#11954)Zach White2021-03-241-17/+33
| | | | | | | | | * Add support for qmk_configurator style aliases * add the keyboard aliases to the api data * add support for a keyboard metadata file * make flake8 happy
* typo fixZach White2021-01-081-1/+1
|
* get qmk generate-api into a good stateZach White2021-01-071-1/+1
|
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * Make parameters from info.json available to the build system * move all clueboard settings to info.json * code formatting * make flake8 happy * make flake8 happy * make qmk lint happy * Add support for specifying led indicators in json * move led indicators to the clueboard info.json * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * add missing docstring Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* Change keyboard json format to bring it inline with the current api (#11231)Zach White2020-12-191-1/+1
|
* Generate api data on each push (#10609)Zach White2020-10-251-0/+58
* add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>