202126f27c
Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: I9728aabe59d6e8edd8496e3126bac2057755fee2
23 lines
517 B
INI
23 lines
517 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
|
|
|
|
[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
|