<commit_before>[tox]
envlist = py34,cover,docs,pep8,packaging


[testenv]
deps =
    factory_boy
    freezegun
    pretend
    pytest
    pymlconf!=0.3.12,!=0.3.13,!=0.3.14  # Needed by pytest-dbfixtures
    pytest-dbfixtures>=0.9.0
    webtest
install_command = pip install -c requirements.txt {opts} {packages}
commands = py.test --strict {posargs}


[testenv:cover]
basepython = python3.4
deps =
    coverage
    {[testenv]deps}
commands =
    python -m coverage run -m pytest --strict -m unit {posargs}
    python -m coverage report -m --fail-under 100


[testenv:docs]
basepython = python2.7
skip_install = True
deps =
    doc8
    sphinx
    sphinx_rtd_theme
    sphinxcontrib-httpdomain
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
    doc8 --allow-long-titles README.rst CONTRIBUTING.rst docs/ --ignore-path docs/_build/


[testenv:pep8]
basepython = python3.4
skip_install = True
deps =
    flake8
    pep8-naming
commands =
    flake8 .


[testenv:packaging]
basepython = python3.4
skip_install = True
deps =
    check-manifest
    readme>=0.5.1
commands =
    check-manifest
    python setup.py check --restructuredtext --strict

[testenv:translations]
basepython = python2.7
whitelist_externals =
    make
    git
skip_install = True
deps =
    jinja2
    babel
commands =
    make extract-translations
    git --no-pager diff --exit-code -G "^(msg.*|.: )" warehouse/translations/warehouse.pot


[flake8]
exclude = .tox,*.egg,*/interfaces.py,node_modules
select = E,W,F,N

[pytest]
norecursedirs = .tox build dist node_modules *.egg-info
markers =
    unit: Quick running unit tests which test small units of functionality.
    functional: Slower running tests which test the entire system is functioning.
<commit_msg>We no longer need to pin this directly<commit_after>[tox]
envlist = py34,cover,docs,pep8,packaging


[testenv]
deps =
    factory_boy
    freezegun
    pretend
    pytest
    pytest-dbfixtures>=0.9.0
    webtest
install_command = pip install -c requirements.txt {opts} {packages}
commands = py.test --strict {posargs}


[testenv:cover]
basepython = python3.4
deps =
    coverage
    {[testenv]deps}
commands =
    python -m coverage run -m pytest --strict -m unit {posargs}
    python -m coverage report -m --fail-under 100


[testenv:docs]
basepython = python2.7
skip_install = True
deps =
    doc8
    sphinx
    sphinx_rtd_theme
    sphinxcontrib-httpdomain
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
    sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
    doc8 --allow-long-titles README.rst CONTRIBUTING.rst docs/ --ignore-path docs/_build/


[testenv:pep8]
basepython = python3.4
skip_install = True
deps =
    flake8
    pep8-naming
commands =
    flake8 .


[testenv:packaging]
basepython = python3.4
skip_install = True
deps =
    check-manifest
    readme>=0.5.1
commands =
    check-manifest
    python setup.py check --restructuredtext --strict

[testenv:translations]
basepython = python2.7
whitelist_externals =
    make
    git
skip_install = True
deps =
    jinja2
    babel
commands =
    make extract-translations
    git --no-pager diff --exit-code -G "^(msg.*|.: )" warehouse/translations/warehouse.pot


[flake8]
exclude = .tox,*.egg,*/interfaces.py,node_modules
select = E,W,F,N

[pytest]
norecursedirs = .tox build dist node_modules *.egg-info
markers =
    unit: Quick running unit tests which test small units of functionality.
    functional: Slower running tests which test the entire system is functioning.

{'fraction_non_alphanumeric': 0.10304192929569746, 'fraction_numerical': 0.019731433269388872, 'mean_word_length': 3.2590431738623105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6548448', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1285, 'n_words': 333}