加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mypy.ini 731 Bytes
一键复制 编辑 原始数据 按行查看 历史
[mypy]
# TODO: run mypy against several OS/version combos in CI
# https://mypy.readthedocs.io/en/latest/command_line.html#platform-configuration
# Be flexible about dependencies that don't have stubs yet (like pytest)
ignore_missing_imports = True
# Be strict about use of Mypy
warn_unused_ignores = True
warn_unused_configs = True
warn_redundant_casts = True
warn_return_any = True
# Avoid subtle backsliding
#disallow_any_decorated = True
#disallow_incomplete_defs = True
#disallow_subclassing_any = True
# Enable gradually / for new modules
check_untyped_defs = False
disallow_untyped_calls = False
disallow_untyped_defs = False
# DO NOT use `ignore_errors`; it doesn't apply
# downstream and users have to deal with them.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化