我已经安装了 boto3、boto3-stubs 和 mypy:
点文件:
"boto3" = "*"
boto3-stubs = {extras = ["ec2", "s3"], version = "*"}
mypy = "*"
但是运行 mypy .
会出现错误:
error: Skipping analyzing 'boto3': found module but no type hints or library stubs
我是否需要为 mypy 配置一些东西才能找到存根?
我使用 python 3.8.6、mypy 0.790、boto3 1.16.59、boto3-stubs 1.16.59 都安装在虚拟环境中。