[tox]
skipdist = True
envlist = py26,py27,pep8,pylint

[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
           {toxinidir}/tools/verify_yaml

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:pep8]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}

[testenv:pylint]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = pylint --rcfile=pylintrc anvil

[testenv:venv]
commands = {posargs}

[flake8]
ignore = H102,H302,E501
builtins = _
exclude = .venv,.tox,dist,doc,*egg,.git,build

[nosetests]
verbosity = 2
detailed-errors = 1

[tox]
skipdist = True
envlist = py26,py27,pep8,pylint

[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
         # FIXME(harlowja): overriding the hash seed with a constant is a
         # workaround for bug 1348818
         PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = nosetests {posargs}
           {toxinidir}/tools/verify_yaml

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv:pep8]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}

[testenv:pylint]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = pylint --rcfile=pylintrc anvil

[testenv:venv]
commands = {posargs}

[flake8]
ignore = H102,H302,E501
builtins = _
exclude = .venv,.tox,dist,doc,*egg,.git,build

[nosetests]
verbosity = 2
detailed-errors = 1

Fix the hash seed so that tests work correctly
Fix the hash seed so that tests work correctly

Change-Id: I36eff8ae82382866023b1eed92431e2702c194b5
