Re: [openstack-dev] [nova][stable] pep8 busted on stable/juno?

2015-01-03 Thread Matt Riedemann



On 1/1/2015 11:16 PM, Matt Riedemann wrote:

Is it just me or is stable/juno pep8 busted?

mriedem@ubuntu:~/git/nova$ git checkout stable/juno
Switched to branch 'stable/juno'
Your branch is up-to-date with 'origin/stable/juno'.
mriedem@ubuntu:~/git/nova$ tox -r -e pep8
pep8 recreate: /home/mriedem/git/nova/.tox/pep8
pep8 installdeps: -r/home/mriedem/git/nova/requirements.txt,
-r/home/mriedem/git/nova/test-requirements.txt
pep8 develop-inst: /home/mriedem/git/nova
pep8 runtests: PYTHONHASHSEED='0'
pep8 runtests: commands[0] | flake8
./nova/tests/compute/test_resources.py:30:1: H302  import only
modules.'from nova.tests.fake_instance import fake_instance_obj' does
not import a module
./nova/tests/compute/test_rpcapi.py:31:1: H302  import only
modules.'from nova.tests.fake_instance import fake_instance_obj' does
not import a module
ERROR: InvocationError: '/home/mriedem/git/nova/.tox/pep8/bin/flake8'
___
summary
___

ERROR:   pep8: commands failed
mriedem@ubuntu:~/git/nova$




Here is the cherry pick fix:

https://review.openstack.org/#/c/144760/

--

Thanks,

Matt Riedemann


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova][stable] pep8 busted on stable/juno?

2015-01-01 Thread Matt Riedemann

Is it just me or is stable/juno pep8 busted?

mriedem@ubuntu:~/git/nova$ git checkout stable/juno
Switched to branch 'stable/juno'
Your branch is up-to-date with 'origin/stable/juno'.
mriedem@ubuntu:~/git/nova$ tox -r -e pep8
pep8 recreate: /home/mriedem/git/nova/.tox/pep8
pep8 installdeps: -r/home/mriedem/git/nova/requirements.txt, 
-r/home/mriedem/git/nova/test-requirements.txt

pep8 develop-inst: /home/mriedem/git/nova
pep8 runtests: PYTHONHASHSEED='0'
pep8 runtests: commands[0] | flake8
./nova/tests/compute/test_resources.py:30:1: H302  import only 
modules.'from nova.tests.fake_instance import fake_instance_obj' does 
not import a module
./nova/tests/compute/test_rpcapi.py:31:1: H302  import only 
modules.'from nova.tests.fake_instance import fake_instance_obj' does 
not import a module

ERROR: InvocationError: '/home/mriedem/git/nova/.tox/pep8/bin/flake8'
___ 
summary 
___

ERROR:   pep8: commands failed
mriedem@ubuntu:~/git/nova$


--

Thanks,

Matt Riedemann


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev