1f7bb54dd9
Exclude .eggs directory from testing. The run-pep8 script now calls "python setup.py sdist" and that one creates an .eggs directory that should not be tested. Change-Id: I854be157ed04d5bc9d8c568a37c00298cb4a71bf
31 lines
549 B
INI
31 lines
549 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox,.eggs
|
|
ignore = E125,H
|
|
select = H231
|
|
|
|
[testenv:bashate]
|
|
commands = {toxinidir}/tools/run-bashate.sh
|
|
|
|
[testenv:modulesenv]
|
|
commands = python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
|