Tox支持的工具列表

问题描述

我怎么知道tox是否提供对特定工具的支持?

具体来说,我想知道为什么此tox.ini部分适用于flake8:

[flake8]
max-line-length = 120 # works like a charm

[testenv:flake8]
deps = flake8    
commands = flake8 mypackage/

而这个不适用于mypy:

[mypy]
ignore-missing-imports = True # won't be taken into account

[testenv:mypy]
deps = mypy
commands = mypy mypackage/

解决方法

它不是tox支持,是工具支持(支持)。例如,flake8可以read its settings from tox.inimypy doesn't

没有详尽的清单列出哪些工具可以读tox.ini,哪些不能。您必须分别阅读每种工具的文档。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...