<commit_before>[tox]
envlist = py26, py27, pypy, py32, py33, py34, cover
sitepackages = False

[testenv]
deps =
    pytest
    pytest-sugar
    six
commands =
    py.test \
        --junitxml={envlogdir}/junit-{envname}.xml \
        {posargs}

[testenv:cover]
deps =
    pytest
    pytest-sugar
    pytest-cov
    six
commands =
    py.test \
        --cov=junit_xml \
        --cov-report=term-missing \
        --cov-report=xml \
        --cov-report=html \
        {posargs}<commit_msg>Add flake8 support to tox.<commit_after>[tox]
envlist = py26, py27, pypy, py32, py33, py34, cover, flake8
sitepackages = False

[testenv]
deps =
    pytest
    pytest-sugar
    six
commands =
    py.test \
        --junitxml={envlogdir}/junit-{envname}.xml \
        {posargs}

[testenv:cover]
deps =
    pytest
    pytest-sugar
    pytest-cov
    six
commands =
    py.test \
        --cov=junit_xml \
        --cov-report=term-missing \
        --cov-report=xml \
        --cov-report=html \
        {posargs}

[testenv:flake8]
deps =
    pytest
    pytest-sugar
    pytest-flake8
    six
commands =
    py.test \
        --flake8 \
        {posargs}
{'fraction_non_alphanumeric': 0.12609457092819615, 'fraction_numerical': 0.021891418563922942, 'mean_word_length': 1.8503740648379052, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7066877', 'n_tokens_mistral': 446, 'n_tokens_neox': 444, 'n_words': 80}