<commit_before>[tox]
skipsdist = True

envlist =
    py{27,37}-conan-{latest,dev}

[testenv]
deps =
    -rcpt/requirements_test.txt
    tabulate
    conan-latest: conan
    conan-dev: https://github.com/conan-io/conan/archive/develop.tar.gz

setenv =
    PYTHONDONTWRITEBYTECODE=1
    PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
    CONAN_TEST_SUITE=1
    CONAN_DOCKER_USE_SUDO=1

commands =
    nosetests --with-coverage --cover-package=cpt --cover-html {posargs:cpt.test}<commit_msg>#386 Support Python2 deprecated env var<commit_after>[tox]
skipsdist = True

envlist =
    py{27,37}-conan-{latest,dev}

[testenv]
deps =
    -rcpt/requirements_test.txt
    tabulate
    conan-latest: conan
    conan-dev: https://github.com/conan-io/conan/archive/develop.tar.gz

setenv =
    PYTHONDONTWRITEBYTECODE=1
    PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
    CONAN_TEST_SUITE=1
    CONAN_DOCKER_USE_SUDO=1
    USE_UNSUPPORTED_CONAN_WITH_PYTHON_2=1

commands =
    nosetests --with-coverage --cover-package=cpt --cover-html {posargs:cpt.test}
{'fraction_non_alphanumeric': 0.12355212355212356, 'fraction_numerical': 0.019305019305019305, 'mean_word_length': 3.868544600938967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '7597185', 'n_tokens_mistral': 441, 'n_tokens_neox': 426, 'n_words': 55}