【发布时间】:2020-09-28 17:48:58
【问题描述】:
我如何知道 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/
【问题讨论】: