我如何知道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/发布于 2020-09-29 02:00:49
这不是tox支持,而是工具支持(或不支持)。例如,flake8可以read its settings from tox.ini和mypy doesn't。
没有一个详尽的列表来说明哪些工具可以读取tox.ini,哪些不可以,您必须分别阅读每个工具的文档。
https://stackoverflow.com/questions/64107146
复制相似问题