tox: Use pre-commit for style checks
Change-Id: Ibe29f450c67c2297b659bd3c0b3b3b0d4d5e13a8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
9f1ff00685
commit
be8e6ba4fa
7
tox.ini
7
tox.ini
@ -23,11 +23,12 @@ commands =
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
description =
|
||||
Run style checks.
|
||||
deps =
|
||||
hacking>=3.0.1,<3.1.0 # Apache-2.0
|
||||
flake8-import-order>=0.17.1 # LGPLv3
|
||||
pre-commit
|
||||
commands =
|
||||
flake8
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
[testenv:venv]
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user