16476b266f
Not all HWM examples will be device-centric
29 lines
780 B
INI
29 lines
780 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = pep8
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install --allow-external -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands =
|
|
python setup.py testr --slowest --testr-args='{posargs:}'
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8 {posargs:example_hardware_managers}
|
|
|
|
[flake8]
|
|
# E711: ignored because it is normal to use "column == None" in sqlalchemy
|
|
# H803: "git commit title should not end with period" is silly
|
|
|
|
ignore = E12,E711,H803
|
|
builtins = _
|
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*ironic/nova*,tools
|
|
|
|
[hacking]
|
|
import_exceptions = ironic.openstack.common.gettextutils._,testtools.matchers
|