<commit_before># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt

[tox]
envlist = py{26,27,33,34,35}, pypy{24,26,3_24}
skip_missing_interpreters = True

[testenv]
commands =
    python -c "import sys; print(sys.executable)"
    python igor.py show_env
    python setup.py --quiet clean develop

    # Create tests/zipmods.zip
    # Install the egg1 egg
    # Remove the C extension so that we can test the PyTracer
    python igor.py zip_mods install_egg remove_extension

    # Test with the PyTracer
    python igor.py test_with_tracer py {posargs}

    # Build the C extension and test with the CTracer
    python setup.py --quiet build_ext --inplace
    python igor.py test_with_tracer c {posargs}

deps =
    # https://requires.io/github/nedbat/coveragepy/requirements/
    nose==1.3.7
    mock==1.3.0
    PyContracts==1.7.6
    py26: unittest2==1.1.0
    py{26,27}: gevent==1.1b4
    py{26,27}: eventlet==0.17.4
    py{26,27,33,34,35}: greenlet==0.4.9

setenv =
    pypy,pypy{24,26,3_24}: COVERAGE_NO_EXTENSION=no C extensions under PyPy

usedevelop = True
passenv = *

[testenv:pypy]
basepython = pypy

[testenv:pypy24]
basepython = pypy2.4

[testenv:pypy26]
basepython = pypy2.6

[testenv:pypy3_24]
basepython = pypy3-2.4


# Yes, pep8 will read its settings from tox.ini!
[pep8]
# E265: block comment should start with '# '<commit_msg>tox.ini makes more sense in this order<commit_after># Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt

[tox]
envlist = py{26,27,33,34,35}, pypy{24,26,3_24}
skip_missing_interpreters = True

[testenv]
usedevelop = True

deps =
    # https://requires.io/github/nedbat/coveragepy/requirements/
    nose==1.3.7
    mock==1.3.0
    PyContracts==1.7.6
    py26: unittest2==1.1.0
    py{26,27}: gevent==1.1b4
    py{26,27}: eventlet==0.17.4
    py{26,27,33,34,35}: greenlet==0.4.9

passenv = *
setenv =
    pypy,pypy{24,26,3_24}: COVERAGE_NO_EXTENSION=no C extensions under PyPy

commands =
    python -c "import sys; print(sys.executable)"
    python igor.py show_env
    python setup.py --quiet clean develop

    # Create tests/zipmods.zip
    # Install the egg1 egg
    # Remove the C extension so that we can test the PyTracer
    python igor.py zip_mods install_egg remove_extension

    # Test with the PyTracer
    python igor.py test_with_tracer py {posargs}

    # Build the C extension and test with the CTracer
    python setup.py --quiet build_ext --inplace
    python igor.py test_with_tracer c {posargs}

[testenv:pypy]
basepython = pypy

[testenv:pypy24]
basepython = pypy2.4

[testenv:pypy26]
basepython = pypy2.6

[testenv:pypy3_24]
basepython = pypy3-2.4


# Yes, pep8 will read its settings from tox.ini!
[pep8]
# E265: block comment should start with '# '
{'fraction_non_alphanumeric': 0.11666096476223059, 'fraction_numerical': 0.06089633937735203, 'mean_word_length': 3.656050955414013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '6210038', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1131, 'n_words': 268}