mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-03 00:02:28 +08:00
chore: 配置 mypy 忽略缺失导入
- 添加 ignore_missing_imports 配置,减少第三方库类型检查警告
This commit is contained in:
@@ -95,6 +95,8 @@ warn_return_any = true
|
|||||||
warn_unused_configs = true
|
warn_unused_configs = true
|
||||||
disallow_untyped_defs = true
|
disallow_untyped_defs = true
|
||||||
exclude = "tools/debug"
|
exclude = "tools/debug"
|
||||||
|
# 忽略项目内部模块的 import-untyped 警告
|
||||||
|
ignore_missing_imports = true
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user