summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/keymap.py
Commit message (Collapse)AuthorAgeFilesLines
* Use pathlib everywhere we can (#7872)skullydazed2020-02-171-12/+6
| | | | | | | | | | | | | | | | | | | | | | * Use pathlib everywhere we can * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Update lib/python/qmk/path.py Co-Authored-By: Erovia <Erovia@users.noreply.github.com> * Improvements based on @erovia's feedback * rework qmk compile and qmk flash to use pathlib * style * Remove the subcommand_name argument from find_keyboard_keymap() Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* fix list_keymaps for python 3.5skullY2020-02-151-2/+2
|
* Pathlib-ify qmk.keymap.list_keymaps()Erovia2020-02-151-9/+10
|
* Fix commandline parsing and flake8 findings, rebaseErovia2020-02-151-2/+1
| | | | | Fixed commandline and config parsing. Thx @xplusplus. Rebased on master and fixed merge conflicts.
* Major rework, no regex/globbing, more walkingErovia2020-02-151-36/+16
| | | | | | Instead of using regexes and globbing to find the rules.mk and keymap.c files, walk the directory tree to find them. Also, do away with the concept of revision.
* Fix merging community and base keymapsErovia2020-02-151-1/+1
|
* Return only the unique keymapsErovia2020-02-151-6/+5
|
* Another major refactoring, add documentationErovia2020-02-151-0/+59
| | | | | | Move all useful functions to the qmk module and use the cli subcommand as a wrapper around it. Add both inline comments and documentation.
* Add flake8 to our test suite and fix all errors (#7379)skullydazed2019-11-201-4/+0
| | | | | | * Add flake8 to our test suite and fix all errors * Add some documentation
* Fix compiling json files. (#6340)skullydazed2019-07-151-1/+1
|
* QMK CLI and JSON keymap support (#6176)skullydazed2019-07-151-0/+100
* 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