qmk_sweep_skeletyl/lib/python/qmk
Sergey Vlasov 62cca5c43a
qmk find: Fix failure with multiple filters (#22497)
When multiple `-f FILTER` options were specified, `qmk find` did not
return anything at all instead of printing the list of entries that
matched all of the specified filters.

The problem was that the statement in `_filter_keymap_targets()` that
filled `targets` had a wrong indent and therefore was executed for every
filter instead of only once after applying all filters, and
`valid_keymaps` was actually an iterator and therefore could be used
only once.  Moving the statement outside of the loop fixes the problem.
2023-11-19 08:26:00 +11:00
..
cli CLI refactoring for common build target APIs (#22221) 2023-11-15 16:24:54 +11:00
tests Update json2c to use dump_lines (#21013) 2023-05-22 07:03:59 +01:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
build_targets.py CLI refactoring for common build target APIs (#22221) 2023-11-15 16:24:54 +11:00
c_parse.py Slightly refine g_led_config parsing (#21170) 2023-06-08 21:08:02 +01:00
commands.py CLI refactoring for common build target APIs (#22221) 2023-11-15 16:24:54 +11: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 Add qmk license-check developer-level CLI command. (#22075) 2023-11-11 20:50:33 +11: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
flashers.py feat, docs: WB32 flashing (#21217) 2023-07-08 00:48:45 +10:00
git.py Add commit info to version.h (#19542) 2023-02-02 18:23:27 +00:00
importers.py qmk format-json: Expose full key path and respect sort_keys (#20836) 2023-05-20 22:15:05 +10:00
info.py Add dd mapping for hardware based split handedness (#22369) 2023-11-01 00:55:48 +00:00
json_encoders.py qmk format-json: Expose full key path and respect sort_keys (#20836) 2023-05-20 22:15:05 +10:00
json_schema.py Reallocate user/kb keycode ranges (#19907) 2023-02-23 09:50:09 +11:00
keyboard.py CLI refactoring for common build target APIs (#22221) 2023-11-15 16:24:54 +11:00
keycodes.py Reallocate user/kb keycode ranges (#19907) 2023-02-23 09:50:09 +11:00
keymap.py Improve argument handling of c2json (#22170) 2023-11-01 22:37:05 +00:00
makefile.py qmk find: usability improvements (#20440) 2023-05-20 22:14:43 +10:00
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 2020-05-26 13:05:41 -07:00
painter.py [Refactor] Python-ify QP's converter code (#20102) 2023-07-07 22:09:17 +10:00
painter_qff.py Quantum Painter (#10174) 2022-04-13 18:00:18 +10:00
painter_qgf.py [QP] Fix up delta frame boundaries (#20296) 2023-03-31 08:41:11 +11:00
path.py Improve argument handling of c2json (#22170) 2023-11-01 22:37:05 +00:00
search.py qmk find: Fix failure with multiple filters (#22497) 2023-11-19 08:26:00 +11:00
submodules.py Report submodule status when not valid work-tree (#19474) 2023-01-03 09:00:29 +11:00
util.py Allow for disabling of parallel processing of qmk find and qmk mass-compile. (#22160) 2023-10-17 09:43:50 +11:00