From c9c751980b5da97ba7cef85eb9bcc00a52401048 Mon Sep 17 00:00:00 2001 From: Jan Beran Date: Fri, 11 Sep 2026 14:55:23 +0200 Subject: [PATCH] change: force mypy to follow rich import for type checks Co-authored-by: Cursor --- .mypy.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mypy.ini b/.mypy.ini index 2d7c2ac8e53..0fdab43fa46 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -28,3 +28,7 @@ follow_imports = skip [mypy-esp_pylib.*] # esp-pylib ships py.typed; follow it so NoReturn on log.die() is visible for type narrowing follow_imports = normal + +[mypy-rich.markup.*] +# rich.markup ships py.typed; follow it so escape() is visible for type narrowing +follow_imports = normal