Added pep8 check in tox.ini
Change-Id: I4b5c55e9644b7a9cd294abdff2f260290019d44e
This commit is contained in:
parent
e152ab77f4
commit
5b35ce0cb2
8
tox.ini
8
tox.ini
|
@ -7,3 +7,11 @@ envlist = bashate
|
|||
deps = bashate>=0.2
|
||||
whitelist_externals = bash
|
||||
commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v"
|
||||
|
||||
[testenv:pep8]
|
||||
basepython=python2
|
||||
deps = hacking>=0.10.2
|
||||
usedevelop = False
|
||||
whitelist_externals = bash
|
||||
commands =
|
||||
bash -c "find {toxinidir} -type f name '*.py' -not -path '*/.tox/*' -print0 | xargs -0 flake8"
|
||||
|
|
Loading…
Reference in New Issue