问题描述
我正在使用 https://github.com/pre-commit/mirrors-mypy
我已经检查了 https://mypy.readthedocs.io/en/latest/config_file.html 的可用选项,但找不到类似 disallow_untyped_variables=True
示例
from docker.client import DockerClient
from docker import from_env
应该失败
client = from_env()
应该通过
client: DockerClient = from_env()
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)