List of Tox-supported tools

332 views Asked by At

How can I know if tox offer support for a specific tool?

To be specific, I'd like to know why this tox.ini section works for flake8:

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

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

and this one does not for mypy:

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

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

There are 1 answers

0
phd On BEST ANSWER

It's not tox support, it's tools support (or not). For example, flake8 can read its settings from tox.ini and mypy doesn't.

There is no an exhaustive list of what tools read tox.ini and which don't. You have to read the docs for every tool separately.