
1. Report all style checks with source. 2. Also enable additional helper checks providined in openstack-dev/hacking. To run pep checks: tox -e pep8 Change-Id: I46f020bafcea97305d4dc03a3c34040e0d70092a
24 lines
462 B
INI
24 lines
462 B
INI
[tox]
|
|
envlist = py27,pep8
|
|
skipsdist = True
|
|
minversion = 2.3.2
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
whitelist_externals = bash
|
|
commands =
|
|
bash clone_repos.sh
|
|
bash run_tests.sh -wj
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 {posargs}
|
|
|
|
[flake8]
|
|
# E123, E125 skipped as they are invalid PEP-8.
|
|
show-source = True
|
|
enable-extensions = H106,H203
|
|
ignore = E123,E125
|
|
builtins = _
|
|
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|