summaryrefslogtreecommitdiff
path: root/lib/python
AgeCommit message (Collapse)Author
2021-05-21ensure we do not conflict with existing keymap aliases (#12976)Zach White
2021-05-19Merge remote-tracking branch 'origin/master' into developZach White
Resolved Conflicts: lib/python/qmk/tests/test_cli_commands.py util/install/fedora.sh
2021-05-19Align our subprocess usage with current best practices. (#12940)Zach White
* Align our subprocess usage with current best practices. * remove unused import * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * fix the cpp invocation for older python * allow for unprompted installation * make sure qmk new-keyboard works on windows Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-18Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-05-18Make sure 'cformat' only runs on core files (#12909)Erovia
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-05-16Use milc.subcommand.config instead of qmk.cli.config (#12915)Zach White
* Use milc.subcommand.config instead * pyformat * remove the config test
2021-05-12Add setup, clone, and env to the list of commands we allow even with broken ↵Zach White
modules (#12868)
2021-05-10Merge remote-tracking branch 'origin/master' into developZach White
Conflicts: bin/qmk lib/python/qmk/cli/__init__.py Merge conflicts fixed by skullydazed.
2021-05-10Move the module checking and updating to lib/python (#12416)Zach White
* move the module checking and updating to lib/python * make flake8 happy * Update lib/python/qmk/cli/__init__.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> * prompt the user to disable developer mode * pyformat * flake8 Co-authored-by: Erovia <Erovia@users.noreply.github.com>
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