<commit_before>[tox]
envlist = py27,py37,pep8,cover
minversion = 2.7
skipsdist = True

[testenv]
setenv =
    VIRTUAL_ENV={envdir}
    OS_TEST_PATH=tests
passenv =
    *_proxy
    *_PROXY
usedevelop = True
install_command = pip install {opts} {packages}
whitelist_externals = bash
                      find
                      rm
deps =
  -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/test-requirements.txt
   .[jira_plugin]
commands =
 find . -type f -name "*.pyc" -delete
 stestr run {posargs}

[testenv:cover]
basepython = python3
commands =
  coverage erase
  python setup.py test --coverage --testr-args='{posargs}' \
    --coverage-package-name=monasca_notification
  coverage report

[testenv:debug]
basepython = python3
commands =
  oslo_debug_helper -t ./monasca_notification/tests {posargs}

[testenv:pep8]
basepython = python3
commands =
  {[testenv:flake8]commands}
  {[testenv:bandit]commands}

[testenv:venv]
basepython = python3
commands = {posargs}<commit_msg>Update the constraints url<commit_after>[tox]
envlist = py27,py37,pep8,cover
minversion = 2.7
skipsdist = True

[testenv]
setenv =
    VIRTUAL_ENV={envdir}
    OS_TEST_PATH=tests
passenv =
    *_proxy
    *_PROXY
usedevelop = True
install_command = pip install {opts} {packages}
whitelist_externals = bash
                      find
                      rm
deps =
  -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
  -r{toxinidir}/requirements.txt
  -r{toxinidir}/test-requirements.txt
   .[jira_plugin]
commands =
 find . -type f -name "*.pyc" -delete
 stestr run {posargs}

[testenv:cover]
basepython = python3
commands =
  coverage erase
  python setup.py test --coverage --testr-args='{posargs}' \
    --coverage-package-name=monasca_notification
  coverage report

[testenv:debug]
basepython = python3
commands =
  oslo_debug_helper -t ./monasca_notification/tests {posargs}

[testenv:pep8]
basepython = python3
commands =
  {[testenv:flake8]commands}
  {[testenv:bandit]commands}

[testenv:venv]
basepython = python3
commands = {posargs}
{'fraction_non_alphanumeric': 0.1148369315571888, 'fraction_numerical': 0.011943040881947635, 'mean_word_length': 3.84, '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': '4747470', 'n_tokens_mistral': 815, 'n_tokens_neox': 787, 'n_words': 148}