mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
change: force mypy to follow rich import for type checks
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user