From 35fee694d231716f84de2a6c1a1cd2d8477ab99a Mon Sep 17 00:00:00 2001 From: Luis Raimundo Date: Sat, 6 Jun 2026 16:53:59 +0100 Subject: [PATCH] Fix mypy typing errors --- src/registral_dispersion/json_export.py | 2 +- src/registral_dispersion/visual_theme.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/registral_dispersion/json_export.py b/src/registral_dispersion/json_export.py index 72cb5e6..710097d 100644 --- a/src/registral_dispersion/json_export.py +++ b/src/registral_dispersion/json_export.py @@ -46,7 +46,7 @@ def _package_version() -> str: return "unknown" -def _export_provenance() -> dict[str, str]: +def _export_provenance() -> dict[str, str | bool]: """Software identity for reproducible exports (JSON; mirrored in CSV comments where applicable).""" return { "package_name": "registral-dispersion", diff --git a/src/registral_dispersion/visual_theme.py b/src/registral_dispersion/visual_theme.py index da5a57a..662c57d 100644 --- a/src/registral_dispersion/visual_theme.py +++ b/src/registral_dispersion/visual_theme.py @@ -45,7 +45,7 @@ ] PLOTLY_EMBER_SCALE: list[list[float | str]] = [ - [pos, col] for pos, col in _EMBER_STOPS # type: ignore[misc] + [pos, col] for pos, col in _EMBER_STOPS ] FONT_SERIF = "Georgia, 'Palatino Linotype', 'Times New Roman', serif"