root@ubuntu # tox -e pep8
pep8 create: /home/commit/stx-distcloud/.tox/pep8
pep8 installdeps: hacking<0.11,>=0.10.2
pep8 installed: flake8==2.2.4,hacking==0.10.3,mccabe==0.2.1,pbr==3.1.1,pep8==1.5.7,pyflakes==0.8.1,six==1.10.0
pep8 runtests: PYTHONHASHSEED='3108529466'
pep8 runtests: commands[0] | flake8
./setup_ddt_tests.py:70:19: E901 SyntaxError: invalid syntax
print '%s%s%s' % ('_' * width_new, txt, '_' * width_new)
^
./dcmanager/common/exceptions.py:57:20: F821 undefined name 'unicode'
return unicode(self.msg)
^
./dcorch/common/exceptions.py:50:20: F821 undefined name 'unicode'
return unicode(self.msg)
^
./dcorch/drivers/openstack/sysinv_v1.py:405:59: F821 undefined name 'basestring'
elif k == 'enabled' and not isinstance(v, basestring):
^
ERROR: InvocationError: '/home/commit/stx-distcloud/.tox/pep8/bin/flake8'
__________________________________________________________________________________________________________________ summary __________________________________________________________________________________________________________________
ERROR: pep8: commands failed
root@ubuntu #
This is a duplicate of: /bugs.launchpad .net/starlingx/ +bug/1799721
https:/
Fixes have already been submitted to starlingx master