summaryrefslogtreecommitdiff
path: root/lib/python
AgeCommit message (Collapse)Author
2021-05-10Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-10Improve our CI tests (#11476)Zach White
* 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
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Catch 'LAYOUTS = all' in lint (#12848)Joel Challis
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09fix the makefile snippet so flake8 and yapf don't fight (#12849)Zach White
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09CLI: Use BASH if SHELL variable is not set (Windows) (#12847)Erovia
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-10[CI] Format code according to conventions (#12838)github-actions[bot]
Co-authored-by: QMK Bot <hello@qmk.fm>
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Add script to perform parallel builds. (#12497)Nick Brassel
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Align qmk info ascii logic with milc logging (#11627)Joel Challis
2021-05-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-09Allow MAKE environment override for 'qmk clean' (#12473)Joel Challis
2021-05-08New command: qmk console (#12828)Zach White
* stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-03Fix comment parsing (#12750)Zach White
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
2021-05-02Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-02Shim cli to new keyboard script (#12780)Joel Challis
* Shim cli to new keyboard script * Shim cli to new keyboard script * Add docs
2021-05-02Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-02Fix unused import in recent generation code (#12781)Joel Challis
2021-05-01Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-01Allow <keyboard>.h to be optional when going data driven (#12706)Joel Challis
* Allow <keyboard>.h to be optional when going data driven * Remove stub files as no longer required * Rename function * Remove include of layouts.h for now * Take advantage of type=keyboard_folder * Take advantage of type=keyboard_folder - kb should still be mandatory
2021-04-26Add STM32L433 and L443 support (#12063)Xelus22
* initial L433 commit * change to XC * fix L433 * disable all peripherals * update system and peripheral clocks * 433 change * use its own board files * revert its own board files * l433 specific change * fix stm32l432xx define * remove duplicate #define * fix bootloader jump * move to L443xx and add i2c2, spi2, usart3 to mcuconf.h * move to L443 * move to L443 * fix sdmmc in mcuconf.h * include STM32L443 * add L443 * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Update config bootloader jump description Co-authored-by: Nick Brassel <nick@tzarc.org> * Update ChibiOS define reasoning Co-authored-by: Nick Brassel <nick@tzarc.org> * Update quantum/mcu_selection.mk Co-authored-by: Nick Brassel <nick@tzarc.org> * fix git conflict Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-04-25Add support for MCU = STM32F446 (#12619)Purdea Andrei
* Add support for MCU = STM32F446 * Update platforms/chibios/GENERIC_STM32_F446XE/configs/config.h Co-authored-by: Nick Brassel <nick@tzarc.org> * Restore mcuconf.h to the one used by RT-STM32F446RE-NUCLEO64 * stm32f446: update mcuconf.h and board.h for 16MHz operation, with USB enabled, and other peripherals disabled. Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-04-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-25Fix CLI incorrectly following `DEFAULT_FOLDER` (#12529)Nick Brassel
* Attempt to sort out incorrectly following DEFAULT_FOLDER. * Fix CI checks. * qmk pyformat
2021-04-15Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-14Add support for tab completion (#12411)Zach White
* Add support for tab completion * make flake8 happy * Add documentation
2021-04-08Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-08`qmk chibios-confmigrate`: Make `-i` and `-r` required (#12515)Ryan
2021-04-02Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-02`qmk doctor`: Fix WSL /mnt check (#12466)Ryan
2021-04-02Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-04-02qmk doctor: Display macOS and Windows versions, and add WSL warning for /mnt ↵Ryan
(#12441)
2021-03-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-31Format code according to conventions (#12437)github-actions[bot]
Co-authored-by: QMK Bot <hello@qmk.fm>
2021-03-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-31Allow for clang-format up to v20. (#12407)Nick Brassel
2021-03-27Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-27add utf-8 encoding to the open() call (#12388)Zach White
2021-03-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-25Add a `qmk format-json` command that will format JSON files (#12372)Zach White
* 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
2021-03-25Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-24[CI] Format code according to conventions (#12363)github-actions[bot]
* 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>
2021-03-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-24Add support for qmk_configurator style aliases (#11954)Zach White
* 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
2021-03-23Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-03-22use layout aliases when processing info.json (#12333)Zach White