<commit_before>[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]<commit_msg>Tox configuration clean-up<commit_after>[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]
commands = flake8 {posargs}

[testenv:pylint]
commands = pylint --rcfile=pylintrc anvil

[testenv:venv]
commands = {posargs}

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

[nosetests]
{'fraction_non_alphanumeric': 0.12215078901227353, 'fraction_numerical': 0.029222676797194622, 'mean_word_length': 4.251533742331288, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '577297', 'n_tokens_mistral': 707, 'n_tokens_neox': 648, 'n_words': 125}