| install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} |
| PYTHONWARNINGS=default::DeprecationWarning |
| passenv = OS_STDOUT_CAPTURE OS_STDERR_CAPTURE OS_TEST_TIMEOUT OS_TEST_LOCK_PATH OS_TEST_PATH http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY |
| whitelist_externals = find |
| deps = -r{toxinidir}/requirements.txt |
| -r{toxinidir}/test-requirements.txt |
| find . -type f -name "*.pyc" -delete |
| ostestr {posargs} --whitelist-file test-whitelist.txt |
| commands = flake8 {posargs} |
| check-uuid --package patrole_tempest_plugin.tests.api |
| commands = check-uuid --package patrole_tempest_plugin.tests.api --fix |
| setenv = VIRTUAL_ENV={envdir} |
| NOSE_COVER_PACKAGE=patrole_tempest_plugin |
| NOSE_COVER_HTML_DIR={toxinidir}/cover |
| NOSE_WHERE=patrole_tempest_plugin/tests/unit |
| whitelist_externals = nosetests |
| commands = python setup.py build_sphinx |
| sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |
| commands = oslo_debug_helper -t patrole_tempest_plugin/tests {posargs} |
| enable-extensions = H106,H203,H904 |
| # E123, E125 skipped as they are invalid PEP-8. |
| exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build |
| local-check-factory = patrole_tempest_plugin.hacking.checks.factory |