<commit_before># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35

[testenv]
setenv =
    PYTHONHASHSEED = 42
commands =
    python setup.py build_ext --inplace
    py27: nosetests -v zarr
    py34,py35: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
    py34,py35: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS README.rst PERSISTENCE.rst
    py35: flake8 zarr
deps =
    -rrequirements_test.txt
    -rrequirements.txt

[testenv:docs]
basepython = python2.7
changedir = docs
deps =
    sphinx
    numpydoc
    mock
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html<commit_msg>add docs to tox; fox socks box knox.<commit_after># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35, docs

[testenv]
setenv =
    PYTHONHASHSEED = 42
commands =
    python setup.py build_ext --inplace
    py27: nosetests -v zarr
    py34,py35: nosetests -v --with-coverage --cover-erase --cover-min-percentage=100 --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE zarr
    py34,py35: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS README.rst PERSISTENCE.rst
    py35: flake8 zarr
deps =
    -rrequirements_test.txt
    -rrequirements.txt

[testenv:docs]
basepython = python2.7
changedir = docs
deps =
    sphinx
    numpydoc
    mock
    numpy
    cython
commands =
    sphinx-build -W -b html -d {envtmpdir}/doctrees .  {envtmpdir}/html
{'fraction_non_alphanumeric': 0.1004119464469619, 'fraction_numerical': 0.026776519052523172, 'mean_word_length': 3.376126126126126, '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': '2569815', 'n_tokens_mistral': 759, 'n_tokens_neox': 705, 'n_words': 207}