ceph-mirror/qa/mypy.ini
Sun Yuechi ba5da131ec mypy: skip follow_imports for prettytable
With test venvs on system site-packages, mypy picks up the system
prettytable (3.4.0+, typed). It flags mgr's add_row(tuple) against the
list[Any] signature (src/mypy.ini) and qa's float_format = str against
the dict[str, str] property (qa/mypy.ini). Skip follow_imports in both.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
2026-06-20 14:49:16 +08:00

7 lines
109 B
INI

[mypy]
ignore_missing_imports = True
[mypy-prettytable]
ignore_missing_imports = True
follow_imports = skip