Merge "Skip package install in pep8 tox env"

This commit is contained in:
Zuul authored and Gerrit Code Review committed 2026-09-24 13:20:14 +00:00
commit 47f49d0540
1 file changed
+5
+5
View File
@@ -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