solar/tox.ini
Dmitry Shulyak 4c37224a56 Allow pythonhashseed to be random
We may miss some bugs due to non-random pythonhashseed

So we need either ensure that we test in an environment where this
seed can be random or require from operator to provide PYTHONHASHSEED=0
to solar process, for example send it to docker container
2015-11-30 16:35:05 +02:00

34 lines
635 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = pep8,py27
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = ostestr
[testenv:pep8]
deps = hacking==0.10.2
usedevelop = False
commands =
flake8 {posargs:solar}
[testenv:venv]
deps = -r{toxinidir}/requirements.txt
sphinx
commands = {posargs:}
[testenv:devenv]
envdir = devenv
usedevelop = True
[flake8]
ignore = H101,H236,E731
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True