Added pep8 check in tox.ini

Change-Id: I4b5c55e9644b7a9cd294abdff2f260290019d44e
This commit is contained in:
Jedrzej Nowak 2016-05-10 15:24:37 +02:00
parent e152ab77f4
commit 5b35ce0cb2
1 changed files with 8 additions and 0 deletions

View File

@ -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"