<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,flake8,scripttests

[testenv]
usedevelop = True
skip_install = True
commands = nosetests {toxinidir}/tests []
passenv = HOME
deps =
    -rrequirements-testing.txt

[testenv:scripttests]
commands = nosetests {toxinidir}/script-tests []
setenv = 
  PYTHONPATH = {toxinidir}/perfkitbenchmarker/scripts:{env:PYTHONPATH}

[testenv:flake8]
skip_install = True
usedevelop = True
commands = flake8 perfkitbenchmarker tests script-tests pkb.py
deps =
    flake8==2.4.1
    pep8==1.5.7

[testenv:integration]
commands = nosetests {toxinidir}/tests/integration
deps =
    -rrequirements-aws.txt
    -rrequirements-testing.txt
setenv =
    PERFKIT_INTEGRATION = 1
<commit_msg>Handle unset PYTHONPATH in tox.ini<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,flake8,scripttests

[testenv]
usedevelop = True
skip_install = True
commands = nosetests {toxinidir}/tests []
passenv = HOME
deps =
    -rrequirements-testing.txt

[testenv:scripttests]
commands = nosetests {toxinidir}/script-tests []
setenv = 
  PYTHONPATH = {toxinidir}/perfkitbenchmarker/scripts:{env:PYTHONPATH:}

[testenv:flake8]
skip_install = True
usedevelop = True
commands = flake8 perfkitbenchmarker tests script-tests pkb.py
deps =
    flake8==2.4.1
    pep8==1.5.7

[testenv:integration]
commands = nosetests {toxinidir}/tests/integration
deps =
    -rrequirements-aws.txt
    -rrequirements-testing.txt
setenv =
    PERFKIT_INTEGRATION = 1

{'fraction_non_alphanumeric': 0.10272536687631027, 'fraction_numerical': 0.014675052410901468, 'mean_word_length': 4.581871345029239, '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': '3148747', 'n_tokens_mistral': 698, 'n_tokens_neox': 666, 'n_words': 172}