pyflakes and pep8 from pip?
Ewoud Kohl van Wijngaarden
ewoud+ovirt at kohlvanwijngaarden.nl
Wed Feb 26 14:17:22 UTC 2014
On Wed, Feb 26, 2014 at 03:14:30PM +0100, Fabian Deutsch wrote:
> we are using pyflakes and pep8 to check oVirt Node patches.
> One problem we have is that there are different pyflakes/pep8 version
> son the different slaves.
> E.g. this job fails because older pyflakes versions handle _()
> diferently:
> http://jenkins.ovirt.org/job/ovirt-node-devel-check/1893/console
>
> Could we just use the pyflakes and pylint from pip to have the same
> version on all slaves?
>
> $ pip install --upgrade pyflakes pep8
>
> We could have a job which runs the update regularly on all slaves.
We already enforce the latest RPM version of pep8 and pyflakes through
puppet. We also have a ci-tools repo for EL6. We could do the same for
all distros we use for slaves and ship our own versions of pyflakes and
pep8. I'm not a big fan of using pip system wide.
More information about the Infra
mailing list