mypy 在 tox 中找不到模块

mypy can't find module in tox

我正在尝试检查 tox 中的 mypy,但由于缺少模块而失败,尽管这些模块安装在 tox 的 virtualenv.

是否有任何标准程序可以强制 mypy 在 vi​​rtualenv 中的标准位置搜索模块?

您需要将包裹标记为supporting typing