Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72269

Re: pyflakes best practices?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: pyflakes best practices?
Date 2014-05-29 21:14 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-F159F1.21142029052014@news.panix.com> (permalink)
References <roy-05CD0E.20134129052014@news.panix.com> <mailman.10467.1401411041.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.10467.1401411041.18130.python-list@python.org>,
 Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:

> On 30/05/2014 01:13, Roy Smith wrote:
> > We've recently started using pyflakes.  The results seem to be similar
> > to most tools of this genre.  It found a few real problems.  It
> > generated a lot of noise about things which weren't really wrong, but
> > were easy to fix (mostly, unused imports), and a few plain old false
> > positives which have no easy "fix" (in the sense of, things I can change
> > which will make pyflakes STFU).
> >
> > So, what's the best practice here?  How do people deal with the false
> > positives?  Is there some way to annotate the source code to tell
> > pyflakes to ignore something?
> >
> 
> I was under the impression that pyflakes was configurable.  It it isn't 
> I'd simply find another tool.  Having said that if you don't get better 
> answers here try gmane.comp.python.code-quality.

I didn't know that list existed, it looks very interesting.  Thanks for 
the pointer!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

pyflakes best practices? Roy Smith <roy@panix.com> - 2014-05-29 20:13 -0400
  Re: pyflakes best practices? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-30 01:50 +0100
    Re: pyflakes best practices? Roy Smith <roy@panix.com> - 2014-05-29 21:14 -0400
      Re: pyflakes best practices? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-05-31 18:10 +0100
  Re: pyflakes best practices? Roland Koebler <r.koebler@yahoo.de> - 2014-06-04 17:35 +0200
  Re: pyflakes best practices? Miki Tebeka <miki.tebeka@gmail.com> - 2014-06-04 22:12 -0700

csiph-web