<commit_before>[tox]
envlist = py27,py33

[testenv]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
setenv =
    VIRTUAL_ENV = {envdir}
commands =
   py.test {posargs}
sitepackages = False
downloadcache = {toxworkdir}/_download
<commit_msg>tox: add pep8 tox env<commit_after>[tox]
envlist = py27,py33,pep8

[testenv]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
setenv = VIRTUAL_ENV = {envdir}
commands = py.test {posargs}
sitepackages = False
downloadcache = {toxworkdir}/_download

[testenv:pep8]
deps = flake8==2.0
commands = flake8 {posargs}

[flake8]
builtins = _
exclude=.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,.idea
show-source = True
{'fraction_non_alphanumeric': 0.1418732782369146, 'fraction_numerical': 0.02203856749311295, 'mean_word_length': 5.161016949152542, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2661804', 'n_tokens_mistral': 307, 'n_tokens_neox': 286, 'n_words': 49}