Merge "Skip package install in pep8 tox env"
This commit is contained in:
commit
47f49d0540
1 file changed
+5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user