diff --git a/tox.ini b/tox.ini index fe0c6215c61..9dc0c713693 100644 --- a/tox.ini +++ b/tox.ini @@ -40,16 +40,21 @@ deps = {[testenv]deps} commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/states.svg --format svg [testenv:pep8] +# NOTE(rpittau): pep8 only runs pre-commit; skip installing ironic and +# its runtime dependencies. +skip_install = true deps = pre-commit commands = pre-commit run --all-files --show-diff-on-failure {posargs} [testenv:bandit] +skip_install = true deps = {[testenv:pep8]deps} commands = pre-commit run --all-files --show-diff-on-failure bandit [testenv:codespell] description = Run codespell to check spelling +skip_install = true deps = {[testenv:pep8]deps} commands = pre-commit run --all-files --show-diff-on-failure codespell