diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 21:59:09 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 21:59:28 -0500 |
| commit | 4c4a10da4ea4d5536bcc27d70cdccdec58e48060 (patch) | |
| tree | 540b230e4d7c7f84160359315289d2dbf15f64b3 /scripts/theme-studio/app_inventory.py | |
| parent | 318b1bb4c2c4e8bdc1f29158629d8637146636de (diff) | |
| download | dotemacs-4c4a10da4ea4d5536bcc27d70cdccdec58e48060.tar.gz dotemacs-4c4a10da4ea4d5536bcc27d70cdccdec58e48060.zip | |
chore(theme-studio): remove dead code and clear a type warning
- ramp (app-core.js) and its test-ramp.mjs: superseded by regenColumn, no production caller.
- optList (app-core.js) and its tests: superseded by paletteOptionList.
- ITALIC in generate.py: computed, never read (ITALIC_MAP is the live one).
- a stray empty string in MU4E_FACES that .split() silently dropped.
- the dead #familytest alias in the columntest gate, which HASHES never listed.
- widen face_rows to Sequence[str], clearing the list-invariance warnings on the APPS calls.
Diffstat (limited to 'scripts/theme-studio/app_inventory.py')
| -rw-r--r-- | scripts/theme-studio/app_inventory.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/theme-studio/app_inventory.py b/scripts/theme-studio/app_inventory.py index 28b641a94..26044d359 100644 --- a/scripts/theme-studio/app_inventory.py +++ b/scripts/theme-studio/app_inventory.py @@ -4,6 +4,7 @@ from __future__ import annotations import json import os +from collections.abc import Sequence from typing import Any @@ -38,7 +39,7 @@ def face_label(face: str, prefix: str) -> str: return label.replace("-face", "").replace("-", " ") -def face_rows(names: list[str], prefix: str, seed: dict[str, dict[str, Any]]) -> list[list[Any]]: +def face_rows(names: Sequence[str], prefix: str, seed: dict[str, dict[str, Any]]) -> list[list[Any]]: return [[face, face_label(face, prefix), seed.get(face, {})] for face in names] |
