<commit_before>[tox]
envlist = py27, py34, py35, py36, py37, pypy, lint, packaging, docs

[testenv]
deps= -r{toxinidir}/test_requirements.txt
commands=
    coverage run -m py.test {posargs} {toxinidir}/test/
    coverage report

[testenv:pypy]
# temporarily disable coverage testing on PyPy due to performance problems
commands= py.test {posargs} {toxinidir}/test/

[testenv:lint]
basepython=python3.7
deps = flake8==3.7.8
commands = flake8 --max-complexity 10 h2 test

[testenv:docs]
basepython=python3.7
deps = sphinx==1.4.9
changedir = {toxinidir}/docs
whitelist_externals = rm
commands =
    rm -rf build
    sphinx-build -nW -b html -d build/doctrees source build/html

[testenv:graphs]
basepython=python2.7
deps = graphviz==0.11.1
commands =
    python visualizer/visualize.py -i docs/source/_static

[testenv:packaging]
basepython=python3.7
deps =
    check-manifest==0.39
    readme-renderer==24.0
commands =
    check-manifest
    python setup.py check --metadata --restructuredtext --strict

[testenv:h2spec]
basepython=python3.6
deps = twisted[tls]==17.1.0
whitelist_externals = {toxinidir}/test/h2spectest.sh
commands =
    {toxinidir}/test/h2spectest.sh {posargs}<commit_msg>Remove positional args<commit_after>[tox]
envlist = py27, py34, py35, py36, py37, pypy, lint, packaging, docs

[testenv]
deps= -r{toxinidir}/test_requirements.txt
commands=
    coverage run -m py.test {posargs} {toxinidir}/test/
    coverage report

[testenv:pypy]
# temporarily disable coverage testing on PyPy due to performance problems
commands= py.test {posargs} {toxinidir}/test/

[testenv:lint]
basepython=python3.7
deps = flake8==3.7.8
commands = flake8 --max-complexity 10 h2 test

[testenv:docs]
basepython=python3.7
deps = sphinx==1.4.9
changedir = {toxinidir}/docs
whitelist_externals = rm
commands =
    rm -rf build
    sphinx-build -nW -b html -d build/doctrees source build/html

[testenv:graphs]
basepython=python2.7
deps = graphviz==0.11.1
commands =
    python visualizer/visualize.py -i docs/source/_static

[testenv:packaging]
basepython=python3.7
deps =
    check-manifest==0.39
    readme-renderer==24.0
commands =
    check-manifest
    python setup.py check --metadata --restructuredtext --strict

[testenv:h2spec]
basepython=python3.6
deps = twisted[tls]==17.1.0
whitelist_externals = {toxinidir}/test/h2spectest.sh
commands =
    {toxinidir}/test/h2spectest.sh
{'fraction_non_alphanumeric': 0.12126315789473684, 'fraction_numerical': 0.04042105263157895, 'mean_word_length': 4.4495412844036695, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2900793', 'n_tokens_mistral': 950, 'n_tokens_neox': 897, 'n_words': 198}