change: force mypy to follow rich import for type checks

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jan Beran
2026-09-11 14:55:23 +02:00
co-authored by Cursor
parent a07ebb7ad8
commit c9c751980b
+4
View File
@@ -28,3 +28,7 @@ follow_imports = skip
[mypy-esp_pylib.*] [mypy-esp_pylib.*]
# esp-pylib ships py.typed; follow it so NoReturn on log.die() is visible for type narrowing # esp-pylib ships py.typed; follow it so NoReturn on log.die() is visible for type narrowing
follow_imports = normal follow_imports = normal
[mypy-rich.markup.*]
# rich.markup ships py.typed; follow it so escape() is visible for type narrowing
follow_imports = normal