17fc96295b
H803 hacking have been removed since hacking 0.10. https://github.com/openstack-dev/hacking/blob/master/setup.cfg. Closes-Bug: #1651709 Change-Id: I306242f4e01e895c9aa53eb32e8a06a9447e1fb0
27 lines
546 B
INI
27 lines
546 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = py37,py36,py35,pep8
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
usedevelop = true
|
|
|
|
[testenv:pep8]
|
|
basepython = python3
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
basepython = python3
|
|
commands = {posargs}
|
|
|
|
[testenv:mkical]
|
|
basepython = python3
|
|
commands = yaml2ical -y meetings/ -i icals/ -f
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .venv,.tox,dist,doc,*.egg
|