Some of them (I think mainly the line breaking ones) can be ignored by
adding  # noqa
to the end of the line. If we really need something more than that, we can
look at a custom
solution. What was the line that was giving you trouble?

Merlijn


On 3 November 2013 13:30, <[email protected]> wrote:

> Hi folks,
>
> is there any ability now to ignore pep8 or pyflake testing from a specific
> code line?
>
> Greetings
>
> xqt
>
>
> ----- Original Nachricht ----
> Von:     Antoine Musso <[email protected]>
> An:      [email protected]
> Datum:   29.07.2013 21:41
> Betreff: Re: [Pywikipedia-l] python styling (pep8/pyflakes)
>
> > Le 29/07/13 21:19, Merlijn van Deen a écrit :
> > > Hm, indeed. # noqa is only supported in v1.4.1+; # nopep8 was
> introduced
> > > in v1.4+, and thus is also not available in 1.3. Would it be possible
> to
> > > upgrade to a more recent version? Ubuntu Saucy has 1.4.5 available.
> > >
> > > Merlijn
> >
> > I apparently managed to backport pep8 1.4.5 from Saucy to Precise using
> > the tutorial at:
> >
> >   https://wikitech.wikimedia.org/wiki/Backport_packages
> >
> > I have installed the package on the instance and it seems to be running
> > fine.  I have filled https://bugzilla.wikimedia.org/52239 to record the
> > log of the build and track the backporting itself.
> >
> > I will have to announce the upgrade ahead of time since it will
> > introduce new failures that might makes some repos to suddenly fail
> > their pep8 check.
> >
> >
> > --
> > Antoine "hashar" Musso
> >
> >
> > _______________________________________________
> > Pywikipedia-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
> >
>
> _______________________________________________
> Pywikipedia-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to