加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mypy.ini 2.47 KB
一键复制 编辑 原始数据 按行查看 历史
[mypy]
files = torchvision
show_error_codes = True
pretty = True
allow_redefinition = True
no_implicit_optional = True
warn_redundant_casts = True
[mypy-torchvision.prototype.features.*]
; untyped definitions and calls
disallow_untyped_defs = True
; None and Optional handling
no_implicit_optional = True
; warnings
warn_unused_ignores = True
warn_return_any = True
; miscellaneous strictness flags
allow_redefinition = True
[mypy-torchvision.prototype.transforms.*]
; untyped definitions and calls
disallow_untyped_defs = True
; None and Optional handling
no_implicit_optional = True
; warnings
warn_unused_ignores = True
warn_return_any = True
; miscellaneous strictness flags
allow_redefinition = True
[mypy-torchvision.prototype.datasets.*]
; untyped definitions and calls
disallow_untyped_defs = True
; None and Optional handling
no_implicit_optional = True
; warnings
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
; miscellaneous strictness flags
allow_redefinition = True
[mypy-torchvision.io.image.*]
ignore_errors = True
[mypy-torchvision.io.video.*]
ignore_errors = True
[mypy-torchvision.models.densenet.*]
ignore_errors=True
[mypy-torchvision.models.detection.anchor_utils]
ignore_errors = True
[mypy-torchvision.models.detection.transform]
ignore_errors = True
[mypy-torchvision.models.detection.roi_heads]
ignore_errors = True
[mypy-torchvision.models.detection.faster_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.mask_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.keypoint_rcnn]
ignore_errors = True
[mypy-torchvision.models.detection.retinanet]
ignore_errors = True
[mypy-torchvision.models.detection.ssd]
ignore_errors = True
[mypy-torchvision.models.detection.ssdlite]
ignore_errors = True
[mypy-torchvision.models.detection.fcos]
ignore_errors = True
[mypy-torchvision.ops.*]
ignore_errors = True
[mypy-torchvision.transforms.functional.*]
ignore_errors = True
[mypy-torchvision.transforms.transforms.*]
ignore_errors = True
[mypy-PIL.*]
ignore_missing_imports = True
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-pycocotools.*]
ignore_missing_imports = True
[mypy-lmdb.*]
ignore_missing_imports = True
[mypy-accimage.*]
ignore_missing_imports = True
[mypy-av.*]
ignore_missing_imports = True
[mypy-defusedxml.*]
ignore_missing_imports = True
[mypy-torchdata.*]
ignore_missing_imports = True
[mypy-h5py.*]
ignore_missing_imports = True
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化