2025-09-09 09:40:35 +08:00
|
|
|
[mypy]
|
|
|
|
|
; warn_return_any = True
|
|
|
|
|
warn_unused_configs = True
|
2026-08-27 15:11:51 +08:00
|
|
|
; disable errors about unchecked annotations for now.
|
|
|
|
|
disable_error_code = annotation-unchecked
|
2025-09-09 09:40:35 +08:00
|
|
|
|
|
|
|
|
; Suppress all missing import errors from torch_npu for mypy.
|
|
|
|
|
[mypy-torch_npu.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
2026-08-27 15:11:51 +08:00
|
|
|
[mypy-npugraph_ex.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
2025-09-09 09:40:35 +08:00
|
|
|
[mypy-torchair.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-transformers.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-lm_eval.*]
|
2026-08-27 15:11:51 +08:00
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-compressed_tensors.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-datasets.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-llmcompressor.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-msprobe.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-xlite.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-ucm.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-msmodelslim.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-lmcache_ascend.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-jiwer]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|
|
|
|
|
[mypy-vllm.v1.kv_offload.*]
|
|
|
|
|
ignore_missing_imports = True
|
|
|
|
|
|