diff --git a/tox.ini b/tox.ini index 63409e54498..fab9cb8a952 100644 --- a/tox.ini +++ b/tox.ini @@ -34,12 +34,20 @@ deps = commands = black {toxinidir}/plugins {toxinidir}/tests +[testenv:isort] +deps = + isort +commands = + isort {toxinidir}/plugins {toxinidir}/tests + [testenv:linters] deps = {[testenv:black]deps} + {[testenv:isort]deps} flake8 commands = black -v --check {toxinidir}/plugins {toxinidir}/tests + isort --check-only --diff {toxinidir}/plugins {toxinidir}/tests flake8 {posargs} {toxinidir}/plugins {toxinidir}/tests [flake8]