<commit_before>[tox]
envlist = flake8,mypy,py35,py36,py37,py38,py39,pypy3

[testenv]
deps = pytest
setenv = PYTHONDEVMODE = 1
commands = pytest --doctest-modules --pyargs src/xopen tests
<commit_msg>Let tox create a coverage report<commit_after>[tox]
envlist = flake8,mypy,py35,py36,py37,py38,py39,pypy3

[testenv]
deps =
    pytest
    coverage
setenv = PYTHONDEVMODE = 1
commands =
    coverage run --concurrency=multiprocessing -m pytest --doctest-modules src/xopen/ tests/
    coverage combine
    coverage report
    coverage xml

{'fraction_non_alphanumeric': 0.10093457943925234, 'fraction_numerical': 0.048598130841121495, 'mean_word_length': 4.525773195876289, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '149351', 'n_tokens_mistral': 223, 'n_tokens_neox': 212, 'n_words': 45}