Fix some errors that slipped by the linters

So up until recently the 'linters' CI run ran both
the pep8 and the Ansible linters, after some review
I can only conclude that it actually was not supposed
to do that and I should have seperate Python and Ansible
linters jobs.

Anyways because of this the pep linters where out for a
few days an we got exactly two minor pep errors into our
repo.

Change-Id: I66f82021c71f89a775e05c411ee1af2dba3a1c7b
This commit is contained in:
jkilpatr 2017-06-04 09:22:14 -04:00
parent 38fa5facdc
commit c2654c826b
4 changed files with 5 additions and 5 deletions

View File

@ -2,5 +2,7 @@
# see http://docs.openstack.org/infra/bindep/ for additional information.
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
libssl-dev [platform:dpkg]
openssl-devel [platform:rpm]
virtual/libffi [platform:gentoo]

View File

@ -175,12 +175,10 @@ class BrowbeatPlugin(neutron_utils.NeutronScenario,
test_name)
if message_sizes is not None :
uperf += " --message-sizes={}".format(
message_sizes)
uperf += " --message-sizes={}".format(message_sizes)
if instances is not None:
uperf += " --instances={}".format(
instances)
uperf += " --instances={}".format(instances)
# Execute pbench-uperf
# execute returns, exitcode,stdout,stderr

View File

@ -5,6 +5,7 @@
hacking<0.11,>=0.10.0
ansible-lint
pykwalify
coverage>=3.6
python-subunit>=0.0.18
sphinx>=1.3,!=1.6.1

View File

@ -14,7 +14,6 @@ commands = python setup.py test
[testenv:linters]
whitelist_externals = bash
commands =
pip install pykwalify
bash -c "cd ansible; find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
ansible-lint \
-x ANSIBLE0013,ANSIBLE0012,ANSIBLE0006,ANSIBLE0007,ANSIBLE0010,ANSIBLE0016"