summaryrefslogtreecommitdiffstats
path: root/lib/python
Commit message (Collapse)AuthorAgeFilesLines
* Created new_keymap.py, python version of new_keymap.sh (#6066)Kenny Hoang2019-09-104-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Created python version of new_keymap.sh: new_keymap.py * Updated usage message * Updated new_keymap.py to use python3.5+ syntax & be more similar to new_keyboard.sh * Updated complete message * Updated usage in argparser and removed incorrect usage_message * Reverted the fstrings back to strings that use .format() & updated docstring convention * Added helper to recursively cd .. until at qmk_firmware root directory * Revert "Added helper to recursively cd .. until at qmk_firmware root directory" This reverts commit 61a0ff3b25f91901287bec8d58eb51a1f126e2ad. * Updated new_keymap.py to use printf-style format strings * First draft lib/python/qmk/cli/new/keymap.py with milc * Removed shebang & syspath appending lines * Added optional args & resolved some cr comemnts * Added a docstring and updated strings
* Add a command to format python codeskullY2019-09-071-0/+16
|
* Make the modem manager check more pythonicskullY2019-09-071-10/+26
|
* run yapf on the codeskullY2019-09-074-1/+5
|
* Setup a python test frameworkskullY2019-09-079-10/+92
|
* readability enhancementsskullY2019-08-311-0/+5
|
* Add support for passing files at the command lineskullY2019-08-311-9/+11
|
* CLI command to format C codeskullY2019-08-311-0/+27
|
* Refactor `qmk compile-json` to `qmk compile` (#6592)skullydazed2019-08-253-44/+53
|
* Fix compiling json files. (#6340)skullydazed2019-07-152-7/+7
|
* QMK CLI and JSON keymap support (#6176)skullydazed2019-07-1511-0/+1012
* Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function