1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk
Niko Wenselowski 1f42a8ccdd
Fix test logic to check for both keymaps (#17761)
Python will evaluate first the left and then the right side of the and operator.

The left side would previously return True based on the truthiness logic that treats any non-emptry string as true.

It would not check if the desired keymap exists.

If the left side is true it will evaluate the right side which will check for the existance of a specific keymap.

With this change the check for existance of two keymaps is implemented.
2022-07-23 17:42:19 +01:00
..
cli Add line to multibuild output log showing the actual build target. (#17606) 2022-07-09 22:32:43 +10:00
tests Fix test logic to check for both keymaps (#17761) 2022-07-23 17:42:19 +01:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
c_parse.py Fix various lint errors (#17255) 2022-05-30 23:43:36 +01:00
commands.py Merge remote-tracking branch 'origin/master' into develop 2022-03-18 16:02:57 +00:00
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
constants.py Added support for Wb32fq95 (#16871) 2022-05-23 15:57:24 +10:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
datetime.py Generate api data on each push (#10609) 2020-10-25 14:48:44 -07:00
decorators.py CLI: Fix automagic (#13046) 2021-05-30 16:17:40 +01:00
errors.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 2021-05-27 17:42:38 +01:00
git.py Perform stricter lint checks (#17348) 2022-06-14 14:54:46 +01:00
info.py Allow only col or row pins for *_right extraction. (#17590) 2022-07-08 22:49:55 +01:00
json_encoders.py Data driven g_led_config (#16728) 2022-05-16 07:39:29 +10:00
json_schema.py CLI: Bump the 'jsonschema' version (#16635) 2022-04-06 19:46:16 +01:00
keyboard.py Only omit paths containing "/keymaps/" (#17468) 2022-06-25 20:40:49 +01:00
keymap.py Allow locate_keymap to handle DEFAULT_FOLDER (#17529) 2022-07-01 22:20:32 +01:00
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
painter.py Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
painter_qff.py Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
painter_qgf.py Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
path.py qmk.path.FileType: fix argument handling (#16693) 2022-03-19 20:58:30 +00:00
submodules.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00