diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-20 16:25:53 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-20 16:25:53 -0400 |
| commit | 28b4d1cf86b9355a0db6e00f4c599ed02cf4f2e7 (patch) | |
| tree | 6724275f3e7f46081ad424f04c821559ffa2f19e /scripts/theme-studio/test_generate.py | |
| parent | 9a52370b47c0fe73b4fb7d6f77aabe70a96f192d (diff) | |
| download | dotemacs-28b4d1cf86b9355a0db6e00f4c599ed02cf4f2e7.tar.gz dotemacs-28b4d1cf86b9355a0db6e00f4c599ed02cf4f2e7.zip | |
refactor(theme-studio): unify the two condition_matches clause checkers
condition_matches encoded the same four display-condition rules twice -- once
for the dict spec shape, once for the list-of-clauses shape. Normalize both to a
single {key: values} mapping and run the rules once in _condition_clauses_pass.
Verified byte-identical over 31 representative conditions (dict, list, scalar,
and malformed). The pre-existing Pyright complaints in choose_gui_light are
unrelated and untouched.
Diffstat (limited to 'scripts/theme-studio/test_generate.py')
0 files changed, 0 insertions, 0 deletions
