<commit_before>[tox]
envlist = py27, py35

[testenv]
commands = 
    {envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
        --junitxml={toxworkdir}/junit-{envname}.xml {posargs}
    - {envbindir}/flake8
passenv = TRAVIS
# Also install optional dependencies for tests.
deps =
    -rrequirements.txt
    pytest-xdist
    pytest-cov
    pytest-travis-fold
    cssselect
    Pillow
    flake8
    flake8-coding
    flake8-future-import

[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55
require-code = True
min-version = 2.7<commit_msg>Create XML coverage report (for Jenkins).<commit_after>[tox]
envlist = py27, py35

[testenv]
commands = 
    {envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
        --cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \
        --junitxml={toxworkdir}/junit-{envname}.xml {posargs}
    - {envbindir}/flake8
passenv = TRAVIS
# Also install optional dependencies for tests.
deps =
    -rrequirements.txt
    pytest-xdist
    pytest-cov
    pytest-travis-fold
    cssselect
    Pillow
    flake8
    flake8-coding
    flake8-future-import

[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55
require-code = True
min-version = 2.7
{'fraction_non_alphanumeric': 0.1276595744680851, 'fraction_numerical': 0.059574468085106386, 'mean_word_length': 3.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3236444', 'n_tokens_mistral': 593, 'n_tokens_neox': 533, 'n_words': 108}