<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 = docs, pep8, py26-venv-1.7.2, py26-venv-1.8.4, py26-venv-1.9.1, py27-venv-1.7.2, py27-venv-1.8.4, py27-venv-1.9.1

[testenv]
commands =
  virtualenv --version
  python -V
  nosetests {posargs:-v}

[testenv:docs]
commands = make html
changedir = docs
deps = -rrequirements/docs.txt
whitelist_externals = make
skipsdist = True

[testenv:py26-venv-1.7.2]
basepython = python2.6
deps =
    virtualenv==1.7.2
    nose

[testenv:py26-venv-1.8.4]
basepython = python2.6
deps =
    virtualenv==1.8.4
    nose

[testenv:py26-venv-1.9.1]
basepython = python2.6
deps =
    virtualenv==1.9.1
    nose

[testenv:py27-venv-1.7.2]
basepython = python2.7
deps =
    virtualenv==1.7.2
    nose

[testenv:py27-venv-1.8.4]
basepython = python2.7
deps =
    virtualenv==1.8.4
    nose

[testenv:py27-venv-1.9.1]
basepython = python2.7
deps =
    virtualenv==1.9.1
    nose

[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .

[flake8]
exclude = .tox,*.egg,build,_vendor,data,docs
select = E,W,F<commit_msg>Refs #46. Use testing requirements<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 = docs, pep8, py26-venv-1.7.2, py26-venv-1.8.4, py26-venv-1.9.1, py27-venv-1.7.2, py27-venv-1.8.4, py27-venv-1.9.1

[testenv]
commands =
  virtualenv --version
  python -V
  nosetests {posargs:-v}

[testenv:docs]
commands = make html
changedir = docs
deps = -rrequirements/docs.txt
whitelist_externals = make
skipsdist = True

[testenv:py26-venv-1.7.2]
basepython = python2.6
deps =
    virtualenv==1.7.2
    -rrequirements/testing.txt

[testenv:py26-venv-1.8.4]
basepython = python2.6
deps =
    virtualenv==1.8.4
    -rrequirements/testing.txt

[testenv:py26-venv-1.9.1]
basepython = python2.6
deps =
    virtualenv==1.9.1
    -rrequirements/testing.txt

[testenv:py27-venv-1.7.2]
basepython = python2.7
deps =
    virtualenv==1.7.2
    -rrequirements/testing.txt

[testenv:py27-venv-1.8.4]
basepython = python2.7
deps =
    virtualenv==1.8.4
    -rrequirements/testing.txt

[testenv:py27-venv-1.9.1]
basepython = python2.7
deps =
    virtualenv==1.9.1
    -rrequirements/testing.txt

[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .

[flake8]
exclude = .tox,*.egg,build,_vendor,data,docs
select = E,W,F
{'fraction_non_alphanumeric': 0.14301511242167342, 'fraction_numerical': 0.07224474751197936, 'mean_word_length': 3.4491803278688526, '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': '6654959', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1159, 'n_words': 235}