6c5c8ff99b
Change-Id: I2b5374d79daa6ac95f7534e266db4524c6c3b29a
25 lines
559 B
INI
25 lines
559 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. This configuration file will run the
|
|
# test suite on all supported python versions. To use it, "pip install tox"
|
|
# and then run "tox" from this directory.
|
|
|
|
[tox]
|
|
skipsdist = True
|
|
envlist = pep8
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:pep8]
|
|
# TODO: #deps = hacking==0.7
|
|
deps = flake8
|
|
usedevelop = False
|
|
commands =
|
|
flake8 {posargs:.}
|
|
|
|
[flake8]
|
|
ignore = H302,H802
|
|
exclude = .venv,.git,.tox,dist,doc,*egg,build
|
|
show-pep8 = True
|
|
show-source = True
|
|
count = True |