From 176474dff23a32a6834d2bc8dbcc0fabda11afbc Mon Sep 17 00:00:00 2001 From: Sprite Date: Mon, 19 Oct 2026 04:48:21 +0000 Subject: [PATCH] [ACEM] mypy x llteacher 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 #18 --- 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)