Fix dummy pep8 issue
This commit fixes a trivial pep8 issues before importing the upstream repo on the openstack infra. Change-Id: I80b598712e011bce693d8b15385e6618e4f89505
This commit is contained in:
parent
fe12e2b24c
commit
4490829c1d
|
@ -24,6 +24,7 @@ from tempest.lib import decorators
|
|||
|
||||
from kuryr_tempest_plugin.tests import base
|
||||
|
||||
|
||||
class TestKuryr_tempest_plugin(base.BaseAdminKuryrTest):
|
||||
|
||||
@decorators.idempotent_id('14990abd-76b4-476e-add2-321437d8cec5')
|
||||
|
|
20
tox.ini
20
tox.ini
|
@ -18,30 +18,12 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY OS_*
|
|||
commands = {posargs}
|
||||
passenv = OS_*
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
rm -rf doc/html doc/build
|
||||
rm -rf doc/source/apidoc doc/source/api
|
||||
python setup.py build_sphinx
|
||||
whitelist_externals =
|
||||
rm
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
flake8 {posargs}
|
||||
doc8 doc/source
|
||||
# Run bashate checks
|
||||
# E011 is intentionally ignored because it does not make sense; it is
|
||||
# perfectly reasonable to put 'then' on a separate line when natural
|
||||
# line breaks occur in long conditionals.
|
||||
bash -c "find tools -iname '*.sh' -print0 | xargs -0 bashate -v --ignore E011"
|
||||
whitelist_externals = bash
|
||||
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[flake8]
|
||||
show-source = true
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,tools
|
||||
exclude=.venv,.git,.tox,dist,*lib/python*,*egg,tools
|
||||
select = E
|
||||
|
|
Loading…
Reference in New Issue