<commit_before>[tox]
minversion = 3.1
skipsdist = True
envlist = pep8,py37
ignore_basepython_conflict = True

[testenv]
basepython = python3
usedevelop=True
whitelist_externals = find
                      rm
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
       -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
          OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_TEST_TIMEOUT
          PYTHON OS_TEST_PATH LISTOPT IDOPTION
commands =
  find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
  find . -type d -name "__pycache__" -delete
  stestr run {posargs}
  stestr slowest

[testenv:py36]
basepython = python3.6

[testenv:py37]
basepython = python3.7

[testenv:debug]
commands = oslo_debug_helper -t kolla/tests {posargs}

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
         NOSE_WITH_COVERAGE=1
         NOSE_COVER_BRANCHES=1
         NOSE_COVER_HTML=1
         NOSE_COVER_HTML_DIR={toxinidir}/cover
         PYTHON=coverage run --source kolla --parallel-mode
commands =
    stestr run {posargs}
    coverage combine
    coverage html -d cover<commit_msg>bump py37 to py38 in tox.ini<commit_after>[tox]
minversion = 3.1
skipsdist = True
envlist = pep8,py38
ignore_basepython_conflict = True

[testenv]
basepython = python3
usedevelop=True
whitelist_externals = find
                      rm
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
       -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
          OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_LOG_CAPTURE OS_TEST_TIMEOUT
          PYTHON OS_TEST_PATH LISTOPT IDOPTION
commands =
  find . -type f -name "*.py[c|o]" -delete -o -type l -name "*.py[c|o]" -delete
  find . -type d -name "__pycache__" -delete
  stestr run {posargs}
  stestr slowest

[testenv:debug]
commands = oslo_debug_helper -t kolla/tests {posargs}

[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
         NOSE_WITH_COVERAGE=1
         NOSE_COVER_BRANCHES=1
         NOSE_COVER_HTML=1
         NOSE_COVER_HTML_DIR={toxinidir}/cover
         PYTHON=coverage run --source kolla --parallel-mode
commands =
    stestr run {posargs}
    coverage combine
    coverage html -d cover
{'fraction_non_alphanumeric': 0.0911340206185567, 'fraction_numerical': 0.012371134020618556, 'mean_word_length': 3.451376146788991, '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': '4052250', 'n_tokens_mistral': 938, 'n_tokens_neox': 912, 'n_words': 184}