1 Star 0 Fork 56

吴奥/pytorch

forked from Gitee 极速下载/pytorch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mypy-inductor.ini 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
Jez Ng 提交于 2023-11-28 10:16 +08:00 . Update mypy to 1.7.0 (#114160)
[mypy]
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
cache_dir = .mypy_cache/inductor
allow_redefinition = True
warn_unused_configs = True
warn_redundant_casts = True
show_error_codes = True
show_column_numbers = True
check_untyped_defs = True
follow_imports = silent
# do not reenable this:
# https://github.com/pytorch/pytorch/pull/60006#issuecomment-866130657
warn_unused_ignores = False
disallow_any_generics = True
files =
torch/_dynamo,
torch/_inductor
# We access some Python runtime classes / class members that are only available
# in 3.11. These accesses are gated by runtime checks that cannot always be
# understood by mypy.
python_version = 3.11
[mypy-colorama.*]
ignore_missing_imports = True
[mypy-cutlass_library.*]
ignore_missing_imports = True
[mypy-deeplearning.*]
ignore_missing_imports = True
[mypy-dill.*]
ignore_missing_imports = True
[mypy-einops.*]
ignore_missing_imports = True
[mypy-libfb.*]
ignore_missing_imports = True
# sympy is too dynamic, hard to type properly
[mypy-sympy.*]
ignore_missing_imports = True
follow_imports = skip
[mypy-torch.*.fb.*]
ignore_missing_imports = True
# FIXME: importing this creates lots of type errors
[mypy-torch._dynamo.variables.*]
follow_imports = skip
# FIXME: importing this creates lots of type errors
[mypy-torch.backends.*]
follow_imports = skip
[mypy-torch.fb.*]
ignore_missing_imports = True
# FIXME: importing this creates lots of type errors
[mypy-torch.fx.*]
follow_imports = skip
# FIXME: importing this creates lots of type errors
[mypy-torch.testing._internal.*]
follow_imports = skip
# sympy is too dynamic, hard to type properly
[mypy-torch.utils._sympy.*]
follow_imports = skip
[mypy-torch_xla.*]
ignore_missing_imports = True
[mypy-torchvision.*]
ignore_missing_imports = True
[mypy-triton.*]
ignore_missing_imports = True
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wow5522/pytorch.git
git@gitee.com:wow5522/pytorch.git
wow5522
pytorch
pytorch
main

搜索帮助