<commit_before>[tox]
# envlist = py26,py27,py34,flake8-py2,flake8-py3,pylint,pylint3
envlist = py27,flake8-py2
skipsdist = true
skip_missing_interpreters=true

[testenv]
setenv = PYTHONPATH = {toxinidir}/external
         VIRTUALENV_DIR = {envdir}
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       -e{toxinidir}/st2tests
       -e{toxinidir}/st2actions
       -e{toxinidir}/st2api
       -e{toxinidir}/st2auth
       -e{toxinidir}/st2client
       -e{toxinidir}/st2common
       -e{toxinidir}/st2reactor
commands =
    nosetests -sv st2actions/tests/unit
    nosetests -sv st2api/tests/unit
    nosetests -sv st2auth/tests/unit
    nosetests -sv st2client/tests/unit
    nosetests -sv st2common/tests/unit
    nosetests -sv st2reactor/tests/unit
    nosetests -sv st2tests/tests/unit

[testenv:venv]
commands = {posargs}

[testenv:pylint]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python2.7
deps = pylint
commands = pylint -E --rcfile=./lint-configs/python/.pylintrc st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:pylint3]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python3.4
deps = pylint
commands = pylint -E --rcfile=./lint-configs/python/.pylintrc st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:flake8-py2]
deps = flake8
commands =
    flake8 --config {toxinidir}/lint-configs/python/.flake8 st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:flake8-py3]
basepython = py3: python3.4<commit_msg>update tox to test st2client under python 3.5<commit_after>[tox]
# envlist = py26,py27,py34,flake8-py2,flake8-py3,pylint,pylint3
envlist = py27,flake8-py2,py35
skipsdist = true
skip_missing_interpreters=true

[testenv]
setenv = PYTHONPATH = {toxinidir}/external
         VIRTUALENV_DIR = {envdir}
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       -e{toxinidir}/st2tests
       -e{toxinidir}/st2actions
       -e{toxinidir}/st2api
       -e{toxinidir}/st2auth
       -e{toxinidir}/st2client
       -e{toxinidir}/st2common
       -e{toxinidir}/st2reactor
commands =
    nosetests -sv st2actions/tests/unit
    nosetests -sv st2api/tests/unit
    nosetests -sv st2auth/tests/unit
    nosetests -sv st2client/tests/unit
    nosetests -sv st2common/tests/unit
    nosetests -sv st2reactor/tests/unit
    nosetests -sv st2tests/tests/unit

[testenv:py35]
basepython = python3.5
setenv = PYTHONPATH = {toxinidir}/external
         VIRTUALENV_DIR = {envdir}
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
       -e{toxinidir}/st2client
commands =
    nosetests -sv st2client/tests/unit

[testenv:venv]
commands = {posargs}

[testenv:pylint]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python2.7
deps = pylint
commands = pylint -E --rcfile=./lint-configs/python/.pylintrc st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:pylint3]
setenv = VIRTUALENV_DIR = {envdir}
basepython = python3.4
deps = pylint
commands = pylint -E --rcfile=./lint-configs/python/.pylintrc st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:flake8-py2]
deps = flake8
commands =
    flake8 --config {toxinidir}/lint-configs/python/.flake8 st2actions st2api st2auth st2client st2common st2reactor st2tests

[testenv:flake8-py3]
basepython = py3: python3.4
{'fraction_non_alphanumeric': 0.10773095171643873, 'fraction_numerical': 0.039352497906782025, 'mean_word_length': 3.970873786407767, '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': '2900772', 'n_tokens_mistral': 1461, 'n_tokens_neox': 1411, 'n_words': 253}