chore: 配置 mypy 忽略缺失导入

- 添加 ignore_missing_imports 配置,减少第三方库类型检查警告
This commit is contained in:
fawney19
2025-12-11 10:08:09 +08:00
parent ee8614919e
commit 875f3d5f54

View File

@@ -95,6 +95,8 @@ warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = "tools/debug"
# 忽略项目内部模块的 import-untyped 警告
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]