Tox 支持的工具列表
List of Tox-supported tools
我如何知道 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.ini
and mypy
doesn't.
没有关于哪些工具可以读取 tox.ini
哪些不能读取的详尽列表。您必须分别阅读每个工具的文档。
我如何知道 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.ini
and mypy
doesn't.
没有关于哪些工具可以读取 tox.ini
哪些不能读取的详尽列表。您必须分别阅读每个工具的文档。