<commit_before>[tox]
skip_missing_interpreters = True
skipsdist = True
envlist =
    unit_py3_6

[testenv]
whitelist_externals =
    /usr/bin/make
    /usr/bin/cp
    /usr/bin/true
    /usr/bin/test
    /usr/bin/shellcheck
    /bin/bash
basepython =
    unit_py3_6: python3.6
envdir =
    unit_py3_6: {toxworkdir}/3.6
passenv =
    *
usedevelop = True
deps =
    -r.virtualenv.dev-requirements.txt

# Unit Test run with basepython set to 3.6
[testenv:unit_py3_6]
skip_install = True
usedevelop = True
setenv =
    PYTHONPATH={toxinidir}/test
    PYTHONUNBUFFERED=yes
    WITH_COVERAGE=yes
passenv =
    *
deps = {[testenv]deps}
changedir=test/unit
commands =
    bash -c 'cd ../../ && ./setup.py develop'
    pytest --no-cov-on-fail --cov=azurectl \
        --cov-report=term-missing --cov-fail-under=100 --cov-config .coveragerc<commit_msg>Added tox python 3.4 target<commit_after>[tox]
skip_missing_interpreters = True
skipsdist = True
envlist =
    unit_py3_4,
    unit_py3_6

[testenv]
whitelist_externals =
    /usr/bin/make
    /usr/bin/cp
    /usr/bin/true
    /usr/bin/test
    /usr/bin/shellcheck
    /bin/bash
basepython =
    unit_py3_4: python3.4
    unit_py3_6: python3.6
envdir =
    unit_py3_4: {toxworkdir}/3.4
    unit_py3_6: {toxworkdir}/3.6
passenv =
    *
usedevelop = True
deps =
    -r.virtualenv.dev-requirements.txt

# Unit Test run with basepython set to 3.4
[testenv:unit_py3_4]
skip_install = True
usedevelop = True
setenv =
    PYTHONPATH={toxinidir}/test
    PYTHONUNBUFFERED=yes
    WITH_COVERAGE=yes
passenv =
    *
deps = {[testenv]deps}
changedir=test/unit
commands =
    bash -c 'cd ../../ && ./setup.py develop'
    pytest --no-cov-on-fail --cov=azurectl \
        --cov-report=term-missing --cov-fail-under=100 --cov-config .coveragerc

# Unit Test run with basepython set to 3.6
[testenv:unit_py3_6]
skip_install = True
usedevelop = True
setenv =
    PYTHONPATH={toxinidir}/test
    PYTHONUNBUFFERED=yes
    WITH_COVERAGE=yes
passenv =
    *
deps = {[testenv]deps}
changedir=test/unit
commands =
    bash -c 'cd ../../ && ./setup.py develop'
    pytest --no-cov-on-fail --cov=azurectl \
        --cov-report=term-missing --cov-fail-under=100 --cov-config .coveragerc
{'fraction_non_alphanumeric': 0.1289151157512483, 'fraction_numerical': 0.024058102587380843, 'mean_word_length': 2.873462214411248, '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': '1702955', 'n_tokens_mistral': 905, 'n_tokens_neox': 870, 'n_words': 162}