From 4490829c1d87c38dbdfc6ecffa62f2e3c859ba75 Mon Sep 17 00:00:00 2001 From: Daniel Mellado Date: Mon, 12 Jun 2017 17:15:11 +0200 Subject: [PATCH] Fix dummy pep8 issue This commit fixes a trivial pep8 issues before importing the upstream repo on the openstack infra. Change-Id: I80b598712e011bce693d8b15385e6618e4f89505 --- .../tests/test_kuryr_tempest_plugin.py | 1 + tox.ini | 20 +------------------ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/kuryr_tempest_plugin/tests/test_kuryr_tempest_plugin.py b/kuryr_tempest_plugin/tests/test_kuryr_tempest_plugin.py index 961e51b7..ad4bc964 100644 --- a/kuryr_tempest_plugin/tests/test_kuryr_tempest_plugin.py +++ b/kuryr_tempest_plugin/tests/test_kuryr_tempest_plugin.py @@ -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') diff --git a/tox.ini b/tox.ini index 04e15347..8a088c7e 100644 --- a/tox.ini +++ b/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