FWIW, the python-keystoneclient project took the hit and has been migrating 
with the rapid velocity of PEP8, but in keystone itself we locked down to the 
1.01 version for a while. The indentation on tests took the longest to get 
fully resolved in the client (did that work myself).

Kind of a pain, but Im glad its done.

- joe

On Jun 16, 2012, at 9:13 AM, Dan Wendlandt <d...@nicira.com> wrote:
> Yes, pep8 seems to be revving their versions quite frequently :)
> 
> The current strategy, discussed on the list, is that we'll roll with the 
> punches and just fix the new issues as pep8 flags them.  This encourages us 
> to keep improving the style-quality of the code base.  In this case, pep8 
> started flagging indentation errors, and there are a lot of them.  
> 
> Juliano has started fixes the errors in a review (he handled 33 out of 91 
> files): https://review.openstack.org/#/c/8632/
> 
> Unfortunately, Jenkins will only take a patch that is passing the gate, which 
> includes pep8, so all the change will need to go in a single patch-set.  
> 
> I've updated Juliano's branch to fix another big chunk of files.  Now (I 
> believe) the only thing that remains is cleaning up the Cisco UCS and 
> linuxbridge plugins.  
> 
> To whoever volunteers to fix those, just pull the branch using the URL on the 
> review page, make your improvements, amend the existing commit, and run "git 
> review".  As long as the Change-Id in the commit isn't modified, you should 
> be able to push to the review that Juliano started, just like I did.  Once 
> all of the pep8 errors are handled, Jenkins should give the change-set a +1, 
> and we can merge.
> 
> Dan
> 
> 
> On Fri, Jun 15, 2012 at 12:00 PM, Robert Kukura <rkuk...@redhat.com> wrote:
> Dan,
> 
> I'm getting lots of pep8 errors lately, as shown at the end of this
> email, when running tox in the quantum master branch. I suspect this
> commit might be related:
> 
> commit 88deb9f4eb1bfa8d0e1543d53c598e09f4e5cfd8
> Author: Dan Wendlandt <d...@nicira.com>
> Date:   Wed Jun 6 12:41:13 2012 -0700
> 
>    Remove hardcoded version for pep8 from tools/test-requires
> 
>    In email discussions we decided that the master branch should always
>    pull in the lastest version of the pep8 tool, which keeps us closest
>    to the real pep-8 document.  Therefore, I'm removing the hardcoded
>    version here to match the lack of a pep8 version in tox.ini (which is
>    what the CI infrastructure uses when running the gating pep8 checks).
> 
>    Note that your pep8 version will only update when you re-run
>    pip install --upgrade -r tools/test-requires .
> 
>    Change-Id: I242cb042cff5f5969aa50d40312f87979191c7b7
> 
> It looks like I'm getting version 1.3 of tox. Any suggestions?
> 
> Thanks,
> 
> -Bob
> 
> [TOX] ***creating virtualenv pep8
> [TOX] /home/rkukura/OpenStack/scm/quantum/.tox$ /usr/bin/python2.7
> /usr/lib/python2.7/site-packages/virtualenv.py --distribute
> --no-site-packages pep8 >pep8/log/0.log
> [TOX] ***installing dependencies: pep8
> [TOX] /home/rkukura/OpenStack/scm/quantum/.tox/pep8/log$ ../bin/pip
> install
> --download-cache=/home/rkukura/OpenStack/scm/quantum/.tox/_download pep8
> >1.log
> [TOX] ***installing sdist
> [TOX] /home/rkukura/OpenStack/scm/quantum/.tox/pep8/log$ ../bin/pip
> install
> --download-cache=/home/rkukura/OpenStack/scm/quantum/.tox/_download
> /home/rkukura/OpenStack/scm/quantum/.tox/dist/quantum-2012.2.zip >2.log
> [TOX] /home/rkukura/OpenStack/scm/quantum$ .tox/pep8/bin/pep8 --repeat
> --show-source --exclude=.venv,.tox,dist,doc .
> ./tools/install_venv.py:64:37: E127 continuation line over-indented for
> visual indent
>                                    check_exit_code=False).strip())
>                                    ^
> ./tools/install_venv.py:72:26: E127 continuation line over-indented for
> visual indent
>                         'Try installing python-virtualenv')
>                         ^
> ./quantum/context.py:46:21: E128 continuation line under-indented for
> visual indent
>                    str(kwargs))
>                    ^
> ./quantum/wsgi.py:489:41: E127 continuation line over-indented for
> visual indent
>                                        RequestHeadersDeserializer()
>                                        ^
> ./quantum/wsgi.py:770:43: E127 continuation line over-indented for
> visual indent
>                                          "url": request.url})
>                                          ^
> ./quantum/extensions/_pprofiles.py:56:17: E123 closing bracket does not
> match indentation of opening bracket's line
>                ))
>                ^
> ./quantum/extensions/_pprofiles.py:63:17: E123 closing bracket does not
> match indentation of opening bracket's line
>                ))
>                ^
> ./quantum/extensions/credential.py:83:9: E123 closing bracket does not
> match indentation of opening bracket's line
>        ]
>        ^
> ./quantum/extensions/extensions.py:231:25: E127 continuation line
> over-indented for visual indent
>                        resource.collection)
>                        ^
> 
> ...
> 
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dan Wendlandt 
> Nicira, Inc: www.nicira.com
> twitter: danwendlandt
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> -- 
> Mailing list: https://launchpad.net/~netstack
> Post to     : netstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~netstack
> More help   : https://help.launchpad.net/ListHelp
-- 
Mailing list: https://launchpad.net/~netstack
Post to     : netstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~netstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to