From 24427f8eac8d8f2d4e29cf2b1d11f275993a8593 Mon Sep 17 00:00:00 2001 From: Sprite Date: Mon, 19 Oct 2026 06:20:07 +0000 Subject: [PATCH] [ACEM] mypy Policy: Mypy 1.19.1 Fixed: 1 violations Original Violations: src/llm/migrations/0005_update_llm_models_to_zdr_current.py: src/llm/migrations/0005_update_llm_models_to_zdr_current.py:50: error: Need type annotation for "REVERSE_MAPPING" (hint: "REVERSE_MAPPING: dict[, ] = ...") [var-annotated] Automated by ACEM - Initiative #16 --- src/llm/migrations/0005_update_llm_models_to_zdr_current.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llm/migrations/0005_update_llm_models_to_zdr_current.py b/src/llm/migrations/0005_update_llm_models_to_zdr_current.py index c54b19a..3d1d5ce 100644 --- a/src/llm/migrations/0005_update_llm_models_to_zdr_current.py +++ b/src/llm/migrations/0005_update_llm_models_to_zdr_current.py @@ -47,7 +47,7 @@ # Best-effort inverse for rollback. Many-to-one mappings collapse to the # first/representative source model. -REVERSE_MAPPING = {} +REVERSE_MAPPING: dict[str, str] = {} for _old, _new in MODEL_MAPPING.items(): REVERSE_MAPPING.setdefault(_new, _old)